- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 182 for 0x15 (0.02 seconds)
-
src/test/java/jcifs/SIDTest.java
* * @throws SmbException if the SID string is invalid */ @Test void testStringConstructorWithHex() throws SmbException { SID sid = new SID("S-1-0x12-21-1"); assertEquals(1, sid.revision); assertEquals(0x12, sid.identifier_authority[5]); assertEquals(2, sid.sub_authority_count); assertEquals(21, sid.sub_authority[0]); assertEquals(1, sid.sub_authority[1]); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java
private static final int FLAGS_RETURN_RESUME_KEYS = 0x04; private static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08; private static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10; private static final int DEFAULT_LIST_SIZE = 65535; private static final int DEFAULT_LIST_COUNT = 200; private final int searchAttributes; private final int flags;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.5K bytes - Click Count (0) -
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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K 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: Sat Dec 20 13:44:44 GMT 2025 - 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: Sat Dec 20 13:44:44 GMT 2025 - 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
testBuffer[22] = 0x00; // identifier authority testBuffer[23] = 0x00; testBuffer[24] = 0x00; testBuffer[25] = 0x00; testBuffer[26] = 0x00; testBuffer[27] = 0x05; SMBUtil.writeInt4(21, testBuffer, 28); // sub-authority 1 SMBUtil.writeInt4(1000, testBuffer, 32); // sub-authority 2 SMBUtil.writeInt4(2000, testBuffer, 36); // sub-authority 3
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0)