- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 295 for 0x04 (0.02 sec)
-
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
private Smb2SessionSetupRequest request; // Test constants private static final int TEST_SECURITY_MODE = 0x01; private static final int TEST_CAPABILITIES = 0x00000001; private static final long TEST_PREVIOUS_SESSION_ID = 0x1234567890ABCDEFL; private static final byte[] TEST_TOKEN = { 0x01, 0x02, 0x03, 0x04, 0x05 }; @BeforeEach void setUp() { mockConfig = mock(Configuration.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
ndrBuffer.setIndex(10); byte[] partialData = { 0x05, 0x06, 0x07, 0x08, 0x09 }; ndrBuffer.writeOctetArray(partialData, 1, 3); // Write 0x06, 0x07, 0x08 assertEquals(13, ndrBuffer.getIndex()); assertEquals(13, ndrBuffer.getLength()); assertEquals(0x06, buffer[10]); assertEquals(0x07, buffer[11]); assertEquals(0x08, buffer[12]); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
} return clearText; } // Tables, permutations, S-boxes, etc. private static byte[] bytebit = { (byte) 0x80, (byte) 0x40, (byte) 0x20, (byte) 0x10, (byte) 0x08, (byte) 0x04, (byte) 0x02, (byte) 0x01 }; private static int[] bigbyte = { 0x800000, 0x400000, 0x200000, 0x100000, 0x080000, 0x040000, 0x020000, 0x010000, 0x008000, 0x004000,Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
// Owner SID with 3 sub-authorities (S-1-5-21-X-Y-Z) testBuffer[20] = 0x01; // revision testBuffer[21] = 0x03; // sub-authority count 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 1Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/ACETest.java
assertEquals(0x01, ACE.FLAGS_OBJECT_INHERIT, "FLAGS_OBJECT_INHERIT should be 0x01"); assertEquals(0x02, ACE.FLAGS_CONTAINER_INHERIT, "FLAGS_CONTAINER_INHERIT should be 0x02"); assertEquals(0x04, ACE.FLAGS_NO_PROPAGATE, "FLAGS_NO_PROPAGATE should be 0x04"); assertEquals(0x08, ACE.FLAGS_INHERIT_ONLY, "FLAGS_INHERIT_ONLY should be 0x08");
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/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
void testWithVariousAttributeFlags() { // Test common file attribute combinations int[] attributeFlags = { 0x01, // FILE_ATTRIBUTE_READONLY 0x02, // FILE_ATTRIBUTE_HIDDEN 0x04, // FILE_ATTRIBUTE_SYSTEM 0x10, // FILE_ATTRIBUTE_DIRECTORY 0x20, // FILE_ATTRIBUTE_ARCHIVE 0x80, // FILE_ATTRIBUTE_NORMAL
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
void testSMBCommandConstants() { assertEquals((byte) 0x00, ServerMessageBlock.SMB_COM_CREATE_DIRECTORY); assertEquals((byte) 0x01, ServerMessageBlock.SMB_COM_DELETE_DIRECTORY); assertEquals((byte) 0x04, ServerMessageBlock.SMB_COM_CLOSE); assertEquals((byte) 0x06, ServerMessageBlock.SMB_COM_DELETE); assertEquals((byte) 0x07, ServerMessageBlock.SMB_COM_RENAME);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
assertEquals(0x02, Trans2FindFirst2.FLAGS_CLOSE_IF_END_REACHED); assertEquals(0x04, Trans2FindFirst2.FLAGS_RETURN_RESUME_KEYS); assertEquals(0x08, Trans2FindFirst2.FLAGS_RESUME_FROM_PREVIOUS_END); assertEquals(0x10, Trans2FindFirst2.FLAGS_FIND_WITH_BACKUP_INTENT); // Test information level constants assertEquals(1, Trans2FindFirst2.SMB_INFO_STANDARD);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
// file attribute encoding /** Read-only file attribute */ int ATTR_READONLY = 0x01; /** Hidden file attribute */ int ATTR_HIDDEN = 0x02; /** System file attribute */ int ATTR_SYSTEM = 0x04; /** Volume label attribute */ int ATTR_VOLUME = 0x08; /** Directory attribute */ int ATTR_DIRECTORY = 0x10; /** Archive attribute */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
void testReadBytesWireFormatSignedByteValue() { // Given byte[] buffer = new byte[10]; // Write 4 in little-endian format buffer[0] = 0x04; buffer[1] = 0x00; // When & Then assertDoesNotThrow(() -> { int bytesRead = response.readBytesWireFormat(buffer, 0); assertEquals(4, bytesRead);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0)