- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 306 for 0x03 (0.46 sec)
-
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
byte[] rawBytes = new byte[] { 0x01, 0x02, 0x03, 0x04 }; // Represents 0x04030201 (little-endian) AvFlags avFlags = new AvFlags(rawBytes); assertNotNull(avFlags, "AvFlags object should not be null"); assertEquals(0x04030201, avFlags.getFlags(), "Flags should match the raw bytes (little-endian)"); // Test with zero byte[] zeroBytes = new byte[] { 0x00, 0x00, 0x00, 0x00 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
policyHandle.uuid.clock_seq_hi_and_reserved = (byte) 0x44; policyHandle.uuid.clock_seq_low = (byte) 0x55; policyHandle.uuid.node = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0x04, (byte) 0x05, (byte) 0x06 }; when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer); // When: Encoding the policy handle policyHandle.encode(mockNdrBuffer);
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/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/ntlmssp/av/AvPairsTest.java
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 })); originalPairs.add(new AvChannelBindings(new byte[] { 0x55, 0x66 }));
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/pac/kerberos/KerberosRelevantAuthDataTest.java
} /** * Test constructor with a malformed ASN.1 token. */ @Test void testConstructor_MalformedToken() { // 1. GIVEN byte[] malformedToken = new byte[] { 0x00, 0x01, 0x02, 0x03 }; // Not a valid ASN.1 sequence Map<Integer, KerberosKey> keys = new HashMap<>(); // 2. WHEN & 3. THEN PACDecodingException exception = assertThrows(PACDecodingException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
buffer[0] = 0x03; buffer[1] = 0x00; // isEndOfSearch (2 bytes) buffer[2] = 0x00; // end of search = false buffer[3] = 0x00; // eaErrorOffset (2 bytes) buffer[4] = 0x00; buffer[5] = 0x00; // lastNameOffset (2 bytes) buffer[6] = 0x08; buffer[7] = 0x00;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
assertTrue(str.contains("name=test.txt"), "The file name should appear"); // securityFlags are set to 0x03 – verify hex sequence assertTrue(str.contains("securityFlags=0x03"), "securityFlags should be present"); } /** * Fetch a private field value via reflection. This helper keeps the
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K 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/smb1/trans2/Trans2SetFileInformationResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K 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)