- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for readAndXWireFormat (1.43 sec)
-
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
// Setup readAndXWireFormat scenario testBlock.headerStart = 0; buffer[0] = 4; // wordCount at position 0 buffer[1] = (byte) 0x42; // andxCommand SMBUtil.writeInt2(0, buffer, 3); // andxOffset = 0 (triggers Snap workaround) SMBUtil.writeInt2(20, buffer, 9); // byteCount int length = testBlock.readAndXWireFormat(buffer, 0); assertTrue(length > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
int n = block.readAndXWireFormat(buf, 0); assertTrue(n > 0); assertTrue(next.received, "Chained SMB should be marked received"); // Since wordCount is 0, readParameterWordsWireFormat is not called assertEquals(0, next.readParamCalls); assertEquals(1, next.readBytesCalls); } @Test @DisplayName("readAndXWireFormat clears chaining when errorCode set")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
} return length; } /* * 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) {
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/smb1/AndXServerMessageBlock.java
} return this.length; } /* * 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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0)