- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 194 for 0x14 (0.02 sec)
-
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
@ValueSource(ints = { 0x0, 0x1, 0x2, 0xFFFFFFFF, -123456 }) void testSetAndGetFlags(int value) { msg.setFlags(value); assertEquals(value, msg.getFlags(), "getFlags should return the value set"); } @Test @DisplayName("setFlag true sets the bit") void testSetFlagTrue() { msg.setFlag(0x4, true); assertTrue(msg.getFlag(0x4), "Bit should be set after setFlag(true)"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
} } @Test @DisplayName("Test setFileInfoClass method") void testSetFileInfoClass() { request = new Smb2QueryInfoRequest(mockConfig); byte testFileInfoClass = (byte) 0x10; request.setFileInfoClass(testFileInfoClass); // Verify file info class was set and info type was set to SMB2_0_INFO_FILE try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
} } @Test @DisplayName("Test setFileInfoClass method") void testSetFileInfoClass() { request = new Smb2SetInfoRequest(mockConfig); byte testFileInfoClass = (byte) 0x10; request.setFileInfoClass(testFileInfoClass); // Verify file info class was set Field fileInfoClassField; try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
testBuffer[0] = 0x01; // Deny ACE (non-zero) testBuffer[1] = 0x10; // FLAGS_INHERITED testBuffer[2] = 0x24; // Size low byte (36) testBuffer[3] = 0x00; // Size high byte testBuffer[4] = (byte) 0xFF; // Access mask byte 0 testBuffer[5] = 0x01; // Access mask byte 1 testBuffer[6] = 0x1F; // Access mask byte 2 testBuffer[7] = 0x00; // Access mask byte 3
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (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")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/main/java/jcifs/ACE.java
* Inheritance flag: inheritance stops after one level */ int FLAGS_NO_PROPAGATE = 0x04; /** * Inheritance flag: ACE applies only to children, not to the object itself */ int FLAGS_INHERIT_ONLY = 0x08; /** * Inheritance flag: ACE was inherited from parent */ int FLAGS_INHERITED = 0x10; /** * Return the SID associated with this ACE. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
smb.pid = 456; smb.tid = 789; smb.uid = 101; smb.flags2 = ServerMessageBlock.FLAGS2_UNICODE; smb.useUnicode = true; byte[] params = { 0x01, 0x02, 0x03, 0x04 }; byte[] bytes = { 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F }; smb.setParamWords(params); smb.setBytes(bytes); byte[] buffer = new byte[1024]; int length = smb.encode(buffer, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
void testCapacityCalculation() throws SMBProtocolDecodingException { byte[] buffer = new byte[24]; buffer[4] = 0x04; // sectPerAlloc = 4 buffer[8] = 0x00; buffer[9] = 0x20; // alloc = 8192 buffer[16] = 0x00; buffer[17] = 0x04; // bytesPerSect = 1024 smbInfoAllocation.decode(buffer, 0, buffer.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
void testAllConstants() { // Verify notify flags assertEquals(0x1, Smb2ChangeNotifyRequest.SMB2_WATCH_TREE); // Verify completion filter constants assertEquals(0x1, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_FILE_NAME); assertEquals(0x2, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_DIR_NAME); assertEquals(0x4, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_ATTRIBUTES);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
@DisplayName("Should have correct unlock flag value") void testUnlockFlag() { assertEquals(0x4, Smb2Lock.SMB2_LOCKFLAG_UNLOCK); } @Test @DisplayName("Should have correct fail immediately flag value") void testFailImmediatelyFlag() { assertEquals(0x10, Smb2Lock.SMB2_LOCKFLAG_FAIL_IMMEDIATELY); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0)