- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 144 for 0x1d (0.97 sec)
-
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
assertEquals(0x0D, ServerMessageBlock2.SMB2_ECHO); assertEquals(0x0E, ServerMessageBlock2.SMB2_QUERY_DIRECTORY); assertEquals(0x0F, ServerMessageBlock2.SMB2_CHANGE_NOTIFY); assertEquals(0x10, ServerMessageBlock2.SMB2_QUERY_INFO); assertEquals(0x11, ServerMessageBlock2.SMB2_SET_INFO); assertEquals(0x12, ServerMessageBlock2.SMB2_OPLOCK_BREAK); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
} @Test @DisplayName("Should encode and decode UUIDs") void testUUIDOperations() { // Given byte[] uuid = { 0x12, 0x34, 0x56, 0x78, (byte) 0x9A, (byte) 0xBC, (byte) 0xDE, (byte) 0xF0, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88 }; byte[] buffer = new byte[16]; // When System.arraycopy(uuid, 0, buffer, 0, 16);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
// create a buffer with count = 0x1234 (4660 decimal) // Using little-endian byte order as per SMBUtil.readInt2 byte[] buf = new byte[12]; buf[0] = 0x34; // Low byte buf[1] = 0x12; // High byte int written = resp.readParameterWordsWireFormat(buf, 0); assertEquals(8, written, "Expected readParameterWordsWireFormat to advance 8 bytes");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
assertEquals("\\test\\path\\", trans2FindFirst2.getPath()); } @Test @DisplayName("Test constructor with root path") void testConstructorWithRootPath() { // Test root path trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\", "*.*", 0x16, 15, 4096); assertEquals("\\", trans2FindFirst2.getPath());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/dcerpc/msrpc/srvsvc.idl
[in,out] int *level, [in,out,switch_is(*level)] ShareCtr *info, [in] unsigned long prefmaxlen, [out] unsigned long *totalentries, [in,out] unsigned long *resume_handle); [op(0x10)] int ShareGetInfo([in,string,unique] wchar_t *servername, [in,string] wchar_t *sharename, [in] int level, [out,switch_is(level)] ShareInfo *info); typedef struct { unsigned long platform_id;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
assertEquals(1, SMBUtil.readInt2(buffer, 8)); assertEquals(1, SMBUtil.readInt2(buffer, 10)); } /** * Test that a large file lock (bit 0x10 set) is encoded and decoded correctly. */ @ParameterizedTest @ValueSource(ints = { 0x10, 0x11 }) void largeFileFlagSet_and_decoded_according_to_type(int type) throws Exception { Configuration cfg = mock(Configuration.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K 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/pac/ASN1UtilTest.java
int tagNo = ASN1Util.readTagNumber(s, 0x1F); assertEquals(31, tagNo); } @Test void testReadTagNumber_MultiByte() throws IOException { // Multi-byte tag (e.g., 80) InputStream s = new ByteArrayInputStream(new byte[] { (byte) 0x81, 0x00 }); int tagNo = ASN1Util.readTagNumber(s, 0x1F); assertEquals(128, tagNo); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
private Smb2LeaseKey testKey; private int testState; @BeforeEach void setUp() { byte[] keyBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; testKey = new Smb2LeaseKey(keyBytes); testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE; leaseContext = new LeaseV1CreateContextRequest(testKey, testState); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
NameServicePacket.writeInt2(0x1234, dst, 0); assertEquals((byte) 0x12, dst[0]); assertEquals((byte) 0x34, dst[1]); } @Test void testWriteInt4() { byte[] dst = new byte[4]; NameServicePacket.writeInt4(0x12345678, dst, 0); assertEquals((byte) 0x12, dst[0]); assertEquals((byte) 0x34, dst[1]); assertEquals((byte) 0x56, dst[2]);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0)