- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 162 for 0x1e (0.02 seconds)
-
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
SMBUtil.writeInt4(0x10, buffer, offset + 56); // When int bytesRead = response.readBytesWireFormat(buffer, offset); // Then assertEquals(60, bytesRead); assertEquals(8192, response.getAllocationSize()); assertEquals(2048, response.getEndOfFile()); assertEquals(0x10, response.getFileAttributes()); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
// 2 bytes for fileAttributes, 4 bytes for lastWriteTime, 4 bytes for fileSize byte[] buffer = new byte[20]; // File Attributes: 0x0010 (Directory) buffer[0] = 0x10; buffer[1] = 0x00; // Last Write Time (UTime): A sample timestamp in milliseconds long sampleTimeMillis = 1672531200000L; // Represents a specific date in millisecondsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
} @Test @DisplayName("readSecurityBuffer correctly extracts data") void testReadSecurityBuffer() { byte[] buf = new byte[8 + 4]; byte[] payload = { 0x11, 0x22, 0x33, 0x44 }; NtlmMessage.writeSecurityBuffer(buf, 0, 8, payload); byte[] extracted = NtlmMessage.readSecurityBuffer(buf, 0); assertArrayEquals(payload, extracted, "Payload should match original");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacMacTest.java
// Test vectors from RFC 3961 Appendix A.1 // 64-fold("012345") verifyNfold("012345", 8, new byte[] { (byte) 0xbe, (byte) 0x07, (byte) 0x26, (byte) 0x31, (byte) 0x27, (byte) 0x6b, (byte) 0x19, (byte) 0x55 }); // 56-fold("password") verifyNfold("password", 7,Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java
/** * Flag to watch the directory tree recursively */ public static final int SMB2_WATCH_TREE = 0x1; /** * Notify when a file name changes */ public static final int FILE_NOTIFY_CHANGE_FILE_NAME = 0x1; /** * Notify when a directory name changes */ public static final int FILE_NOTIFY_CHANGE_DIR_NAME = 0x2; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java
assertEquals(0x8, SecurityInfo.SACL_SECURITY_INFO); } @Test @DisplayName("Test LABEL_SECURITY_INFO constant value") void testLabelSecurityInfo() { assertEquals(0x10, SecurityInfo.LABEL_SECURITY_INFO); } @Test @DisplayName("Test ATTRIBUTE_SECURITY_INFO constant value") void testAttributeSecurityInfo() { assertEquals(0x20, SecurityInfo.ATTRIBUTE_SECURITY_INFO);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.5K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
*/ public static final int REPLAY_DETECTION = 0x20; /** * Context flag for sequence checking capability */ public static final int SEQUENCE_CHECKING = 0x10; /** * Context flag for anonymity capability */ public static final int ANONYMITY = 0x08; /** * Context flag for confidentiality (encryption) capability */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/ACETest.java
assertEquals(0x04, ACE.FLAGS_NO_PROPAGATE, "FLAGS_NO_PROPAGATE should be 0x04"); assertEquals(0x08, ACE.FLAGS_INHERIT_ONLY, "FLAGS_INHERIT_ONLY should be 0x08"); assertEquals(0x10, ACE.FLAGS_INHERITED, "FLAGS_INHERITED should be 0x10"); } } @Nested @DisplayName("Bitwise Operations Tests") class BitwiseOperationsTests { @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (0)