- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 181 for readInt8 (0.56 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
// Then assertEquals(6, bytesWritten); assertEquals(fid, SMBUtil.readInt2(dst, 0)); // lastWriteTime is not written if digest is null, so the remaining bytes should be zero assertEquals(0, SMBUtil.readInt4(dst, 2)); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java
throw new IOException("unexpected EOF reading netbios retarget session response"); } final int addr = readInt4(buffer, bufferIndex); bufferIndex += 4; retargetAddress = new NbtAddress(null, addr, false, NbtAddress.B_NODE); int retargetPort = readInt2(buffer, bufferIndex); return length; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
int off = 0; assertEquals(65535, SMBUtil.readInt2(buf, off)); off += 2; assertEquals(65535, SMBUtil.readInt2(buf, off)); off += 2; assertEquals(0, SMBUtil.readInt2(buf, off)); off += 2; assertEquals(0x12345678, SMBUtil.readInt4(buf, off)); off += 4; assertEquals(blob.length, SMBUtil.readInt2(buf, off)); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
// Verify structure size (should be 24) assertEquals(24, SMBUtil.readInt2(buffer, offset)); // Verify close flags (2 bytes at offset+2, should be 0 by default) assertEquals(0, SMBUtil.readInt2(buffer, offset + 2)); // Verify Reserved (4 bytes at offset+4, should be 0) assertEquals(0, SMBUtil.readInt4(buffer, offset + 4));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/smb1/trans2/Trans2FindFirst2Test.java
// Verify search attributes (masked with 0x37) assertEquals(0x37, SMBUtil.readInt2(buffer, 0)); // Verify max items assertEquals(100, SMBUtil.readInt2(buffer, 2)); // Verify flags (should be 0x00) assertEquals(0x00, SMBUtil.readInt2(buffer, 4)); // Verify information level (SMB_FILE_BOTH_DIRECTORY_INFO)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/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
// Verify all fields in the buffer assertEquals(33, SMBUtil.readInt2(buffer, 64)); // Structure size assertEquals((byte) 0x02, buffer[66]); // Info type assertEquals((byte) 0x08, buffer[67]); // File info class assertEquals(64, SMBUtil.readInt4(buffer, 68)); // Buffer length assertEquals(0xABCDEF00, SMBUtil.readInt4(buffer, 76)); // Additional information // Verify file IDRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0)