- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 335 for 0x0A (0.02 sec)
-
src/test/java/jcifs/SmbConstantsTest.java
} @Test @DisplayName("Should define SMB flags constants") void testSmbFlags() { assertEquals(0x00, SmbConstants.FLAGS_NONE); assertEquals(0x01, SmbConstants.FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK); assertEquals(0x02, SmbConstants.FLAGS_RECEIVE_BUFFER_POSTED); assertEquals(0x08, SmbConstants.FLAGS_PATH_NAMES_CASELESS); assertEquals(0x10, SmbConstants.FLAGS_PATH_NAMES_CANONICALIZED);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcConstants.java
*/ int RPC_PT_REQUEST = 0x00; /** * Ping packet type */ int RPC_PT_PING = 0x01; /** * Response packet type */ int RPC_PT_RESPONSE = 0x02; /** * Fault packet type - indicates an error */ int RPC_PT_FAULT = 0x03; /** * Bind packet type - establishes context */ int RPC_PT_BIND = 0x0B; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
*/ @Test @DisplayName("Test byte array fields (encryptionKey and guid)") public void testByteArrayFields() { // Test encryptionKey byte[] key = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; serverData.encryptionKey = key; assertNotNull(serverData.encryptionKey); assertArrayEquals(key, serverData.encryptionKey); // Test with empty array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
byte[] b = inv.getArgument(0); int off = inv.getArgument(1); b[off] = 0x01; b[off + 1] = 0x02; b[off + 2] = 0x03; b[off + 3] = 0x04; b[off + 4] = 0x05; b[off + 5] = 0x06; b[off + 6] = 0x07; b[off + 7] = 0x08; return 8; }).when(raf).read(any(byte[].class), anyInt(), eq(8));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
int bufferIndex = 0; // Set up test values int namedPipeState = 0x03; // NP_NOWAIT | NP_READMODE_MESSAGE int readDataAvailable = 100; int numberOfMessages = 2; int messageLength = 50; byte[] testData = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; // Write values to buffer SMBUtil.writeInt4(namedPipeState, buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
*/ int FLAGS_NONE = 0x00; /** * Obsolete lock and read/write and unlock flag. */ int FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK = 0x01; /** * Receive buffer has been posted flag. */ int FLAGS_RECEIVE_BUFFER_POSTED = 0x02; /** * Path names are case-insensitive flag. */ int FLAGS_PATH_NAMES_CASELESS = 0x08; /** * Path names are canonicalized flag.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
// flags (not the same as flags constructor argument) private static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01; private static final int FLAGS_REQUEST_OPLOCK = 0x02; private static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04; // Access Mode Encoding for desiredAccess private static final int SHARING_COMPATIBILITY = 0x00; private static final int SHARING_DENY_READ_WRITE_EXECUTE = 0x10;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
void testRoundTrip() throws CIFSException { List<AvPair> originalPairs = new LinkedList<>(); originalPairs.add(new AvFlags(0x12345678)); originalPairs.add(new AvTimestamp(new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 })); originalPairs.add(new AvTargetName("TESTNAME".getBytes())); originalPairs.add(new AvSingleHost(new byte[] { 0x11, 0x22, 0x33, 0x44 }));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
// Test successful reading of 6 bytes from the input stream. // The content of these bytes is not critical for this test, only that 6 bytes are read. byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 }; // Sample 6 bytes ByteArrayInputStream bais = new ByteArrayInputStream(data); SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBSigningDigestTest.java
private CommonServerMessageBlock message; private byte[] testData; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; } @Test @DisplayName("Test sign method with valid parameters") void testSignWithValidParameters() { // Arrange int offset = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0)