- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 523 for reading4 (0.05 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/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/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) -
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) -
docs/smb3-features/04-directory-leasing-design.md
byte[] data = response.getOutputBuffer(); int offset = 0; while (offset < data.length) { int nextEntryOffset = readInt4(data, offset); int action = readInt4(data, offset + 4); int fileNameLength = readInt4(data, offset + 8); // Extract filename byte[] fileNameBytes = new byte[fileNameLength];
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/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) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
@MethodSource("int32Provider") @DisplayName("readParameterWordsWireFormat correctly decodes 32-bit offset") void testReadParameterWords(int expectedInt, byte[] bytes) { // The implementation reads via SMBUtil.readInt4 which returns an int // When assigned to a long field, it gets sign-extended int readLen = response.readParameterWordsWireFormat(bytes, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
val promisedStreamId = source.readInt() and 0x7fffffff val headerBlockLength = lengthWithoutPadding(length - 4, flags, padding) // - 4 for readInt(). val headerBlock = readHeaderBlock(headerBlockLength, padding, flags, streamId) handler.pushPromise(streamId, promisedStreamId, headerBlock) } @Throws(IOException::class) private fun readPing( handler: Handler, length: Int,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 19.8K 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/net/NetServerEnum2Test.java
assertEquals(0x01, dst[descrEnd]); assertEquals(0x00, dst[descrEnd + 1]); // Verify maxDataCount (16384) assertEquals(16384, SMBUtil.readInt2(dst, descrEnd + 2)); // Verify serverTypes assertEquals(serverTypes, SMBUtil.readInt4(dst, descrEnd + 4)); // Verify domain (should be uppercase) int domainStart = descrEnd + 8;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0)