- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 544 for reading3 (0.07 sec)
-
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/smb1/trans/nt/SmbComNtTransactionTest.java
assertEquals(100, SMBUtil.readInt4(dst, 3)); // Verify total data count (4 bytes at position 7) assertEquals(200, SMBUtil.readInt4(dst, 7)); // Verify max parameter count (4 bytes at position 11) assertEquals(1024, SMBUtil.readInt4(dst, 11)); // Verify max data count (4 bytes at position 15) assertEquals(2048, SMBUtil.readInt4(dst, 15));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K 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/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
/* * We overload this because we want readAndXWireFormat to * read the parameter words and bytes. This is so when * commands are batched together we can recursivly call * readAndXWireFormat without reading the non-existent header. */ @Override int decode(final byte[] buffer, int bufferIndex) { final int start = headerStart = bufferIndex;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.9K bytes - Viewed (0) -
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) -
guava/src/com/google/common/io/ByteStreams.java
// streams. Buffers are retained in a deque so that there's no copying between buffers while // reading and so all of the bytes in each new allocated buffer are available for reading from // the stream. for (int bufSize = initialBufferSize; totalLen < MAX_ARRAY_LEN; bufSize = IntMath.saturatedMultiply(bufSize, bufSize < 4096 ? 4 : 2)) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K 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) -
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/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
/* * We overload this because we want readAndXWireFormat to * read the parameter words and bytes. This is so when * commands are batched together we can recursivly call * readAndXWireFormat without reading the non-existent header. */ @Override public int decode(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = this.headerStart = bufferIndex;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
assertEquals(0L, response.getOffset(), "Offset should be initialized to 0"); } /* ------------------------------------------------------------------ */ /* 2. Parameter word reading - happy path & edge cases */ /* ------------------------------------------------------------------ */ /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0)