- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 107 for 0x11 (0.03 sec)
-
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
void testEquals() { byte[] testBytes1 = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; byte[] testBytes2 = Arrays.copyOf(testBytes1, 16); byte[] testBytes3 = new byte[] { 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20 }; Smb2LeaseKey key1 = new Smb2LeaseKey(testBytes1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
// Prepare padded arrays byte[] customData = new byte[8]; customData[0] = 0x01; customData[1] = 0x02; byte[] machineId = new byte[32]; machineId[0] = 0x10; machineId[1] = 0x11; machineId[2] = 0x12; AvSingleHost avSingleHost = new AvSingleHost(customData, machineId); assertNotNull(avSingleHost);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcConstants.java
*/ int RPC_PT_SHUTDOWN = 0x11; /** * Cancel packet type */ int RPC_PT_CANCEL = 0x12; /** * Acknowledgment packet type */ int RPC_PT_ACK = 0x13; /** * Reject packet type */ int RPC_PT_REJECT = 0x14; /** * Connection-oriented cancel packet type */ int RPC_PT_CO_CANCEL = 0x15; /** * Orphaned packet type
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/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
// First decode byte[] buffer1 = new byte[28]; Arrays.fill(buffer1, 0, 24, (byte) 0x11); int bytesConsumed1 = response.decode(buffer1, 0, 28); assertEquals(28, bytesConsumed1); byte[] resumeKey1 = response.getResumeKey(); assertNotNull(resumeKey1); assertEquals((byte) 0x11, resumeKey1[0]); // Second decode - should overwrite
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
assertEquals(dst.length, n); // resumeKey (LE) at offset 6..9 should be 0x11121314 -> 14 13 12 11 assertEquals((byte) 0x14, dst[6]); assertEquals((byte) 0x13, dst[7]); assertEquals((byte) 0x12, dst[8]); assertEquals((byte) 0x11, dst[9]); // filename content byte[] nameBytes = updatedName.getBytes(); for (int i = 0; i < nameBytes.length; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
assertEquals(0x10, smbComOpenAndX.openFunction); // OPEN_FN_CREATE | OPEN_FN_FAIL_IF_EXISTS } /** * Test constructor with O_CREAT flag. */ @Test void testConstructor_CreateAndOpen() { int flags = SmbFile.O_CREAT; smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx);
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/util/EncdecTest.java
} @Test @DisplayName("Should encode and decode UUIDs") void testUUIDOperations() { // Given byte[] uuid = { 0x12, 0x34, 0x56, 0x78, (byte) 0x9A, (byte) 0xBC, (byte) 0xDE, (byte) 0xF0, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88 }; byte[] buffer = new byte[16]; // When System.arraycopy(uuid, 0, buffer, 0, 16);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
assertEquals(1, SMBUtil.readInt2(buffer, 8)); assertEquals(1, SMBUtil.readInt2(buffer, 10)); } /** * Test that a large file lock (bit 0x10 set) is encoded and decoded correctly. */ @ParameterizedTest @ValueSource(ints = { 0x10, 0x11 }) void largeFileFlagSet_and_decoded_according_to_type(int type) throws Exception { Configuration cfg = mock(Configuration.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
void testReadULongOutOfBounds() { byte[] a = new byte[] { 0x01, 0x02, 0x03 }; assertThrows(IndexOutOfBoundsException.class, () -\u003e NtlmMessage.readULong(a, 0)); } @Test @DisplayName("readSecurityBuffer correctly extracts data") void testReadSecurityBuffer() { byte[] buf = new byte[8 + 4]; byte[] payload = { 0x11, 0x22, 0x33, 0x44 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
// flags static final int FLAGS_CLOSE_AFTER_THIS_REQUEST = 0x01; static final int FLAGS_CLOSE_IF_END_REACHED = 0x02; static final int FLAGS_RETURN_RESUME_KEYS = 0x04; static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08; static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10; private final int searchAttributes; private final int tflags;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0)