- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 251 for readInt8 (0.08 seconds)
-
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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0) -
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)); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (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)); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteResponse.java
final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 17) { throw new SMBProtocolDecodingException("Expected structureSize = 17"); } bufferIndex += 4; this.count = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.remaining = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (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)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 16) { throw new SMBProtocolDecodingException("Structure size is not 16"); } this.shareType = buffer[bufferIndex + 2]; bufferIndex += 4; this.shareFlags = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
assertEquals(getField(cmd, "fid"), SMBUtil.readInt2(buffer, 0)); assertEquals(getField(cmd, "typeOfLock"), buffer[2]); assertEquals(getField(cmd, "newOpLockLevel"), buffer[3]); assertEquals(getField(cmd, "timeout"), (long) SMBUtil.readInt4(buffer, 4)); assertEquals(1, SMBUtil.readInt2(buffer, 8)); assertEquals(1, SMBUtil.readInt2(buffer, 10)); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/jcifs/netbios/SessionRetargetResponsePacket.java
throw new IOException("unexpected EOF reading netbios retarget session response"); } final int addr = readInt4(buffer, bufferIndex); bufferIndex += 4; new NbtAddress(null, addr, false, NbtAddress.B_NODE); readInt2(buffer, bufferIndex); return this.length; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java
if (wordCount == 0) { return 0; } fileAttributes = readInt2(buffer, bufferIndex); bufferIndex += 2; lastWriteTime = readUTime(buffer, bufferIndex); bufferIndex += 4; fileSize = readInt4(buffer, bufferIndex); return 20; } @Override int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.7K bytes - Click Count (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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0)