- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 200 for 0x14 (0.02 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
buffer[4] = 0x01; // end of search = true buffer[5] = 0x00; // eaErrorOffset (2 bytes) buffer[6] = 0x00; buffer[7] = 0x00; // lastNameOffset (2 bytes) buffer[8] = 0x10; buffer[9] = 0x00; int result = response.readParametersWireFormat(buffer, 0, 10); // Should read 10 bytes assertEquals(10, result);
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/smb1/smb1/Trans2GetDfsReferralTest.java
int len = cmd.writeParametersWireFormat(buffer, 0); assertTrue(len >= 2); // writeInt2 writes in little-endian format (LSB first) assertEquals(0xAB, buffer[0] & 0xFF); assertEquals(0x12, buffer[1] & 0xFF); // Check that the path is written after the referral level // The path should be written starting at index 2 // writeString adds null terminator
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/util/HexdumpTest.java
// When String result = Hexdump.toHexString(data, offset, length); // Then assertNotNull(result); assertFalse(result.isEmpty()); // Check starts with byte at offset 16 (0x10) assertTrue(result.startsWith("10111213")); assertEquals(64, result.length()); // 32 bytes * 2 chars per byte } @Test @DisplayName("Should handle invalid offset and length parameters")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
*/ public static final int ATTR_SYSTEM = 0x04; /** * A file with this bit on as returned by {@code getAttributes()} is * a volume */ public static final int ATTR_VOLUME = 0x08; /** * A file with this bit on as returned by {@code getAttributes()} is * a directory */ public static final int ATTR_DIRECTORY = 0x10; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java
assertEquals(0x1, SecurityInfo.OWNER_SECURITY_INFO); } @Test @DisplayName("Test GROUP_SECURITY_INFO constant value") void testGroupSecurityInfo() { assertEquals(0x2, SecurityInfo.GROUP_SECURITY_INFO); } @Test @DisplayName("Test DACL_SECURITY_INFO constant value") void testDaclSecurityInfo() { assertEquals(0x4, SecurityInfo.DACL_SECURITY_INFO); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
// Assert assertEquals(10, bytesWritten, "Should write 10 bytes"); // Check FID (little-endian) assertEquals(0x34, dst[0] & 0xFF); assertEquals(0x12, dst[1] & 0xFF); // Check count assertEquals(10, dst[2] & 0xFF); assertEquals(0, dst[3] & 0xFF); // Check offset assertEquals(0x78, dst[4] & 0xFF);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java
*/ public static final byte FILE_ID_BOTH_DIRECTORY_INFO = 0x24; /** * File information class for full directory information with file IDs. */ public static final byte FILE_ID_FULL_DIRECTORY_INFO = 0x26; /** * Flag to restart the directory enumeration from the beginning. */ public static final byte SMB2_RESTART_SCANS = 0x1; /** * Flag to return only a single directory entry.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
dnsDomainInfo.domain_guid.time_mid = 0x1234; dnsDomainInfo.domain_guid.time_hi_and_version = 0x5678; dnsDomainInfo.domain_guid.clock_seq_hi_and_reserved = 0x12; dnsDomainInfo.domain_guid.clock_seq_low = 0x34; dnsDomainInfo.domain_guid.node = new byte[] { 1, 2, 3, 4, 5, 6 }; dnsDomainInfo.sid = new rpc.sid_t(); dnsDomainInfo.sid.revision = 1;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
assertEquals((byte) 0x03, SmbComTransaction.TRANS2_QUERY_FS_INFORMATION); assertEquals((byte) 0x05, SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION); assertEquals((byte) 0x10, SmbComTransaction.TRANS2_GET_DFS_REFERRAL); assertEquals((byte) 0x08, SmbComTransaction.TRANS2_SET_FILE_INFORMATION); // Test NET subcommands assertEquals(0x0000, SmbComTransaction.NET_SHARE_ENUM);
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/pac/kerberos/KerberosEncDataTest.java
} /** * Test constructor with a malformed token. */ @Test void testConstructorMalformed() { byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03, 0x04 }; assertThrows(PACDecodingException.class, () -> new KerberosEncData(malformedToken, Collections.emptyMap())); } /** * Test constructor with an unknown field. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0)