- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 179 for wipe (0.88 sec)
-
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
* * The class under test contains a number of straightforward data‑layout * methods (writing parameters and handling empty wire formats) and an * informative {@link NtTransQuerySecurityDesc#toString()}. The tests * exercise normal behaviour, boundary values, and the interaction with * the underlying wire‑format helpers. */ @ExtendWith(MockitoExtension.class) class NtTransQuerySecurityDescTest { /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java
*/ public static final String CONTEXT_NAME = "DH2Q"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private long timeout100Ns; // timeout in 100-nanosecond intervals (wire format, unsigned 32-bit) private int flags; /** * Create a new durable handle V2 response */ public DurableHandleV2Response() { // Will be populated during decode }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
class TransCallNamedPipeTest { @Mock private Configuration mockConfig; private TransCallNamedPipe transCallNamedPipe; private static final String TEST_PIPE_NAME = "\\\\PIPE\\\\testpipe"; private static final byte[] TEST_DATA = "Test pipe data".getBytes(); @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
@Mock SmbPipeHandleImpl handle; @Mock SmbNamedPipe pipe; @Mock SmbTreeHandleImpl tree; @Mock SmbFileHandleImpl fd; @Mock Configuration config; private SmbPipeInputStream newStreamWithInit(boolean smb2) throws CIFSException { when(handle.getPipe()).thenReturn(pipe); // init(th) behavior inside SmbFileInputStream constructorRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetShareEnum.java
* @param config * the configuration to use */ public NetShareEnum(final Configuration config) { super(config, SMB_COM_TRANSACTION, NET_SHARE_ENUM); this.name = "\\PIPE\\LANMAN"; this.maxParameterCount = 8; // maxDataCount = 4096; why was this set? this.maxSetupCount = (byte) 0x00; this.setupCount = 0; this.timeout = 5000; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.Configuration; /** * Tests for {@link SmbComSetInformationResponse}. * * Tests focus on the wire format methods which all return 0, * and the toString method implementation. */ @ExtendWith(MockitoExtension.class) @DisplayName("SmbComSetInformationResponse tests") public class SmbComSetInformationResponseTest {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
assertNotNull(netServerEnum2); assertEquals(domain, getFieldValue(netServerEnum2, "domain")); assertEquals(serverTypes, getFieldValue(netServerEnum2, "serverTypes")); assertEquals("\\PIPE\\LANMAN", getFieldValue(netServerEnum2, "name")); assertEquals(8, getFieldValue(netServerEnum2, "maxParameterCount")); assertEquals(16384, getFieldValue(netServerEnum2, "maxDataCount"));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
printerShare.type = 1; printerShare.remark = "Printer share"; // Type 3 (named pipe) -> TYPE_NAMED_PIPE (16) srvsvc.ShareInfo1 pipeShare = new srvsvc.ShareInfo1(); pipeShare.netname = "PipeShare"; pipeShare.type = 3; pipeShare.remark = "Named pipe"; // Create ShareInfoCtr1 with different share typesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
} /** * Tests that the getter for the underlying pipe resource returns the correct instance. */ @Test public void testGetPipe() { assertEquals(mockPipeResource, smbPipeHandle.getPipe(), "getPipe() should return the underlying pipe resource."); } /** * Tests that the getter for the input stream returns the correct stream.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
* * @param dst the destination buffer * @param dstIndex the starting offset in the buffer * @return the number of bytes written */ protected abstract int writeParameterWordsWireFormat(byte[] dst, int dstIndex); /** * Writes the data bytes portion of the SMB message to the wire format. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0)