- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 228 for readInt2 (0.05 sec)
-
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 9) { throw new SMBProtocolDecodingException("Expected structureSize = 9"); } final int bufferOffset = SMBUtil.readInt2(buffer, bufferIndex + 2) + getHeaderStart(); bufferIndex += 4; final int bufferLength = 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 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java
@Override protected int readParametersWireFormat(final byte[] buffer, int bufferIndex, final int len) { this.available = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; setStatus(SMBUtil.readInt2(buffer, bufferIndex)); return 6; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
} @Test @DisplayName("readInt2 should correctly read 16-bit integer") void testReadInt2() { byte[] src = { (byte) 0x12, (byte) 0x34, (byte) 0x56 }; int result = SessionServicePacket.readInt2(src, 0); assertEquals(0x1234, result); } @Test @DisplayName("readInt2 with offset should read from correct position")
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/smb2/ioctl/ValidateNegotiateInfoResponse.java
final int start = bufferIndex; this.capabilities = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; System.arraycopy(buffer, bufferIndex, this.serverGuid, 0, 16); bufferIndex += 16; this.securityMode = SMBUtil.readInt2(buffer, bufferIndex); this.dialect = SMBUtil.readInt2(buffer, bufferIndex + 2); bufferIndex += 4; return bufferIndex - start;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
throw new SMBProtocolDecodingException("Invalid compression context length: " + len); } int start = bufferIndex; // Read compression count int compressionCount = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; // Validate compression count if (compressionCount < 0 || compressionCount > 16) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java
final int start = bufferIndex; final int nalgos = SMBUtil.readInt2(buffer, bufferIndex); final int nsalt = SMBUtil.readInt2(buffer, bufferIndex + 2); bufferIndex += 4; this.hashAlgos = new int[nalgos]; for (int i = 0; i < nalgos; i++) { this.hashAlgos[i] = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
this.pid = SMBUtil.readInt2(buffer, bufferIndex); final int boHigh = SMBUtil.readInt4(buffer, bufferIndex + 4); final int boLow = SMBUtil.readInt4(buffer, bufferIndex + 8); this.byteOffset = boHigh << 32 | boLow; final int lHigh = SMBUtil.readInt4(buffer, bufferIndex + 12); final int lLow = SMBUtil.readInt4(buffer, bufferIndex + 16);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
assertEquals(0x0001, SMBUtil.readInt2(buffer, 0)); // Test with FS_SIZE_INFO (3) trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.FS_SIZE_INFO); buffer = new byte[10]; trans2QueryFSInfo.writeParametersWireFormat(buffer, 0); assertEquals(0x0103, SMBUtil.readInt2(buffer, 0)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java
this.changeTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.fileAttributes = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; if (log.isDebugEnabled()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0)