- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 164 for 0x1d (0.04 sec)
-
src/test/java/jcifs/internal/util/SMBUtilTest.java
assertEquals((byte) 0x00, dst[11]); } @Test void testReadInt2() { byte[] src = new byte[] { (byte) 0x34, (byte) 0x12, // 0x1234 (byte) 0xFF, (byte) 0xFF, // 0xFFFF (byte) 0x00, (byte) 0x00, // 0x0000 (byte) 0xCD, (byte) 0xAB // 0xABCD }; assertEquals(0x1234, SMBUtil.readInt2(src, 0)); assertEquals(0xFFFF, SMBUtil.readInt2(src, 2));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
uuid.time_mid = (short) 0x9ABC; uuid.time_hi_and_version = (short) 0xDEF0; uuid.clock_seq_hi_and_reserved = (byte) 0x11; uuid.clock_seq_low = (byte) 0x22; uuid.node = new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF }; // Mock the derive method to return a buffer for node encoding
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
byte[] wireData = new byte[] { 0x10, 0x00, // StructureSize (must be 16) 0x01, // ShareType (DISK) 0x00, // Reserved 0x01, 0x00, 0x00, 0x00, // ShareFlags 0x08, 0x00, 0x00, 0x00, // Capabilities (byte) 0xFF, 0x01, 0x1F, 0x00 // MaximalAccess }; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
assertEquals((byte) 0xAB, dst[4]); assertEquals((byte) 0xCD, dst[5]); } @Test @DisplayName("writeInt4 should correctly write 32-bit integer") void testWriteInt4() { byte[] dst = new byte[8]; SessionServicePacket.writeInt4(0x12345678, dst, 0); assertEquals((byte) 0x12, dst[0]); assertEquals((byte) 0x34, dst[1]); assertEquals((byte) 0x56, dst[2]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java
final int start = bufferIndex; this.fid = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.typeOfLock = buffer[bufferIndex]; if ((this.typeOfLock & 0x10) == 0x10) { this.largeFile = true; } this.newOpLockLevel = buffer[bufferIndex + 1]; bufferIndex += 2; this.timeout = SMBUtil.readInt4(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
private static final int SHARING_DENY_WRITE = 0x20; private static final int SHARING_DENY_READ_EXECUTE = 0x30; private static final int SHARING_DENY_NONE = 0x40; private static final int DO_NOT_CACHE = 0x1000; // bit 12 private static final int WRITE_THROUGH = 0x4000; // bit 14 private static final int OPEN_FN_CREATE = 0x10;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NodeStatusResponse.java
groupName = ((src[srcIndex + 16] & 0x80) == 0x80) == true; ownerNodeType = (src[srcIndex + 16] & 0x60) >> 5; isBeingDeleted = ((src[srcIndex + 16] & 0x10) == 0x10) == true; isInConflict = ((src[srcIndex + 16] & 0x08) == 0x08) == true; isActive = ((src[srcIndex + 16] & 0x04) == 0x04) == true; isPermanent = ((src[srcIndex + 16] & 0x02) == 0x02) == true;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
SMBUtil.writeInt2(0x20, ctx, ci + 2); // DataOffset ci += 4; SMBUtil.writeInt4(8, ctx, ci); // DataLength ci += 4; // Name bytes at 0x10 byte[] name = new byte[] { 'T', 'E', 'S', 'T' }; System.arraycopy(name, 0, ctx, 0x10, name.length); // Data bytes at 0x20 byte[] data = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 }; System.arraycopy(data, 0, ctx, 0x20, data.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
static final int SHARING_DENY_READ_WRITE_EXECUTE = 0x10; static final int SHARING_DENY_WRITE = 0x20; static final int SHARING_DENY_READ_EXECUTE = 0x30; static final int SHARING_DENY_NONE = 0x40; static final int DO_NOT_CACHE = 0x1000; // bit 12 static final int WRITE_THROUGH = 0x4000; // bit 14 static final int OPEN_FN_CREATE = 0x10; static final int OPEN_FN_FAIL_IF_EXISTS = 0x00;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
*/ public static final int SMB2_SHAREFLAG_AUTO_CACHING = 0x10; /** * Share flag indicating automatic caching of programs and documents. */ public static final int SMB2_SHAREFLAG_VDO_CACHING = 0x20; /** * Share flag indicating the share is in a DFS namespace. */ public static final int SMB2_SHAREFLAG_DFS = 0x1; /** * Share flag indicating the share is a DFS root. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0)