- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 563 for readInt (0.04 sec)
-
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
if (length > 24 + getStandardLeaseSize()) { int scopeOrdinal = SMBUtil.readInt4(buffer, dataOffset); this.cacheScope = DirectoryCacheScope.values()[scopeOrdinal]; dataOffset += 4; this.maxCacheAge = SMBUtil.readInt8(buffer, dataOffset); dataOffset += 8; int flags = SMBUtil.readInt4(buffer, dataOffset);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 9.4K 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/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/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
assertEquals(22, bytesEncoded); // Verify encoded data assertEquals(expectedAllocationSize, SMBUtil.readInt8(destinationBuffer, dstIndex)); assertEquals(expectedEndOfFile, SMBUtil.readInt8(destinationBuffer, dstIndex + 8)); assertEquals(expectedNumberOfLinks, SMBUtil.readInt4(destinationBuffer, dstIndex + 16)); assertEquals(1, destinationBuffer[dstIndex + 20]); // deletePending
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K 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: 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/io/Smb2FlushRequestTest.java
// Verify structure size (should be 24) assertEquals(24, SMBUtil.readInt2(buffer, offset)); // Verify Reserved1 (2 bytes at offset+2, should be 0) assertEquals(0, SMBUtil.readInt2(buffer, offset + 2)); // Verify Reserved2 (4 bytes at offset+4, should be 0) assertEquals(0, SMBUtil.readInt4(buffer, offset + 4));
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/test/java/jcifs/ntlmssp/av/AvPairsTest.java
assertEquals(AvPair.MsvAvFlags, SMBUtil.readInt2(encoded, 0), "First pair type should be MsvAvFlags"); assertEquals(4, SMBUtil.readInt2(encoded, 2), "First pair length should be 4"); // Check AvFlags data assertEquals(0x12345678, SMBUtil.readInt4(encoded, 4), "Flags value should match"); // Check EOL assertEquals(AvPair.MsvAvEOL, SMBUtil.readInt2(encoded, 8), "Should end with EOL");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
cmd/metacache-stream_test.go
} want = want[:0] entries, err = r.readN(0, false, true, false, "") if err != nil { t.Fatal(err, entries.len()) } if entries.len() != len(want) { t.Fatal("unexpected length:", entries.len(), "want:", len(want)) } // Reload. r = loadMetacacheSample(t) defer r.Close() entries, err = r.readN(0, false, true, false, "") if err != nil { t.Fatal(err, entries.len()) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 15K bytes - Viewed (0) -
cmd/bitrot-streaming.go
} return nil } func (b *streamingBitrotReader) ReadAt(buf []byte, offset int64) (int, error) { var err error if offset%b.shardSize != 0 { // Offset should always be aligned to b.shardSize // Can never happen unless there are programmer bugs return 0, errUnexpected } if b.rc == nil { // For the first ReadAt() call we need to open the stream for reading. b.currOffset = offset
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jan 17 19:19:30 UTC 2025 - 6.2K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
int scopeOrdinal = readInt4(buffer, dataOffset); this.cacheScope = DirectoryCacheScope.values()[scopeOrdinal]; dataOffset += 4; this.maxCacheAge = readInt8(buffer, dataOffset); dataOffset += 8; int flags = readInt4(buffer, dataOffset); dataOffset += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0)