- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 228 for readInt2 (6.12 sec)
-
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndXResponse.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java
// CurrentLeaseState (4 bytes) this.currentLeaseState = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; // NewLeaseState (4 bytes) this.newLeaseState = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; // BreakReason (4 bytes) this.breakReason = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/ACE.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
ServerMessageBlock.writeInt2(0x1234, buffer, 0); assertEquals(0x1234, ServerMessageBlock.readInt2(buffer, 0)); } @Test void testInt4ReadWrite() { byte[] buffer = new byte[4]; ServerMessageBlock.writeInt4(0x12345678, buffer, 0); assertEquals(0x12345678, ServerMessageBlock.readInt4(buffer, 0)); } @Test void testInt8ReadWrite() { byte[] buffer = new byte[8];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
assertEquals(smbComNtTransaction.dataOffset, SmbComTransaction.readInt4(dst, 31), "dataOffset should be written correctly"); assertEquals(smbComNtTransaction.setupCount, dst[35], "setupCount should be written correctly"); assertEquals(smbComNtTransaction.function, SmbComTransaction.readInt2(dst, 36), "function should be written correctly"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
System.arraycopy(buffer, offset, keyBytes, 0, 16); this.leaseKey = new Smb2LeaseKey(keyBytes); this.leaseState = readInt4(buffer, offset + 16); this.leaseFlags = readInt4(buffer, offset + 20); this.leaseDuration = readInt8(buffer, offset + 24); if (length >= 52) { // V2 lease byte[] parentKeyBytes = new byte[16];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
final int inputOffset = SMBUtil.readInt4(buffer, bufferIndex) + getHeaderStart(); bufferIndex += 4; final int inputCount = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; final int outputOffset = SMBUtil.readInt4(buffer, bufferIndex) + getHeaderStart(); bufferIndex += 4; final int outputCount = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
// Remaining bytes stay zero-filled } } private static InetAddress parseSockaddr(byte[] data, int offset) { try { int family = SMBUtil.readInt2(data, offset); if (family == 2) { // AF_INET byte[] addr = new byte[4]; System.arraycopy(data, offset + 4, addr, 0, 4); return InetAddress.getByAddress(addr);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
assertEquals(65536, serverData.maxRawSize); assertEquals(123456789, serverData.sessionKey); assertEquals(SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS, serverData.capabilities); // readInt2 returns unsigned value, so -480 becomes 65056 assertEquals(65056, serverData.serverTimeZone); assertEquals(8, serverData.encryptionKeyLength); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
int decode(final byte[] buf, int bi) { allow = buf[bi] == (byte) 0x00; bi++; flags = buf[bi++] & 0xFF; final int size = ServerMessageBlock.readInt2(buf, bi); bi += 2; access = ServerMessageBlock.readInt4(buf, bi); bi += 4; sid = new SID(buf, bi); return size; } void appendCol(final StringBuffer sb, final String str, final int width) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.8K bytes - Viewed (0)