- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 194 for 0x14 (0.26 sec)
-
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
// 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 0x100, // FILE_ATTRIBUTE_TEMPORARYRegistered: 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/com/SmbComRenameTest.java
// Then assertTrue(result > 0); assertEquals((byte) 0x04, dst[0]); // First buffer format byte // Find the second buffer format byte int secondBufferFormatIndex = oldFileName.length() + 2; // 1 for first 0x04, 1 for null terminator assertEquals((byte) 0x04, dst[secondBufferFormatIndex]); } /** * Test writeBytesWireFormat with Unicode encodingRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
assertEquals(1 + expectedString.length + 1, used, "Expected exactly one command byte plus OEM string and NUL terminator"); assertEquals(0x04, buffer[0] & 0xFF, "First byte must be SMB_COM_QUERY_INFORMATION type 0x04"); // Verify that the string part ends with the null terminator assertArrayEquals(expectedString, subArray(buffer, 1, expectedString.length));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (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()); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
public static final int FLAGS_NO_PROPAGATE = 0x04; /** Inheritance flag: ACE applies only to children, not to the object itself */ public static final int FLAGS_INHERIT_ONLY = 0x08; /** Inheritance flag: ACE was inherited from parent */ public static final int FLAGS_INHERITED = 0x10; boolean allow; int flags; int access; SID sid; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
} @Test @DisplayName("Parse handles MIC in tag [3] and [4] (compatibility)") void testParsesMicInTag4Compatibility() throws Exception { byte[] mic = new byte[] { 0x11, 0x22, 0x33 }; // Tag [4] byte[] tokenTag4 = buildInitToken(new ASN1ObjectIdentifier[] { OID_KRB }, null, null, mic, true, null, null, null); NegTokenInit p4 = new NegTokenInit(tokenTag4);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 }; ByteEncodable encodable = new ByteEncodable(data, 1, 3); // Verify size assertEquals(3, encodable.size(), "Size should be equal to the specified length"); } @Test void testEncodeBasic() { // Test basic encoding byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
originalPairs.add(new AvFlags(0x12345678)); originalPairs.add(new AvTimestamp(new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 })); originalPairs.add(new AvTargetName("TESTNAME".getBytes())); originalPairs.add(new AvSingleHost(new byte[] { 0x11, 0x22, 0x33, 0x44 })); originalPairs.add(new AvChannelBindings(new byte[] { 0x55, 0x66 })); byte[] encoded = AvPairs.encode(originalPairs);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
assertEquals(0x01, Smb2QueryDirectoryRequest.SMB2_RESTART_SCANS); assertEquals(0x02, Smb2QueryDirectoryRequest.SMB2_RETURN_SINGLE_ENTRY); assertEquals(0x04, Smb2QueryDirectoryRequest.SMB2_INDEX_SPECIFIED); assertEquals(0x10, Smb2QueryDirectoryRequest.SMB2_REOPEN); } @Test @DisplayName("Test with Unicode filename") void testUnicodeFileName() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertEquals("0A0B0C", Hexdump.toHexString(data3, 0, 6)); // 6 chars = 3 bytes // Test with offset - NOTE: srcIndex is ignored due to bug, it always starts from index 0 byte[] data4 = { 0x00, 0x11, 0x22, 0x33, 0x44 }; assertEquals("00", Hexdump.toHexString(data4, 1, 2)); // Bug: ignores srcIndex, reads from 0 assertEquals("0011", Hexdump.toHexString(data4, 1, 4)); // Bug: ignores srcIndex, reads from 0
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0)