- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 50 for SMB2_HEADER_LENGTH (0.12 seconds)
-
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java
} /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#size() */ @Override public int size() { return size8(Smb2Constants.SMB2_HEADER_LENGTH + 8 + this.path.length() * 2); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java
*/ public class Smb2QueryDirectoryResponse extends ServerMessageBlock2Response { /** * Protocol overhead size for SMB2 query directory response */ public static final int OVERHEAD = Smb2Constants.SMB2_HEADER_LENGTH + 8; private final byte expectInfoClass; private FileEntry[] results; /** * Constructs a SMB2 query directory response with the specified configuration and expected information class *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
*/ public class Smb2ReadResponse extends ServerMessageBlock2Response { /** * Protocol overhead size for SMB2 read response */ public static final int OVERHEAD = Smb2Constants.SMB2_HEADER_LENGTH + 16; private int dataRemaining; private int dataLength; private final byte[] outputBuffer; private final int outputBufferOffset; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
} /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#size() */ @Override public int size() { return size8(Smb2Constants.SMB2_HEADER_LENGTH + 24 + (this.token != null ? this.token.length : 0)); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java
} /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#size() */ @Override public int size() { return size8(Smb2Constants.SMB2_HEADER_LENGTH + 32 + this.info.size()); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
} @Test @DisplayName("Should return correct OVERHEAD constant value") void testOverheadConstant() { // Then assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 16, Smb2ReadResponse.OVERHEAD); } @Test @DisplayName("Should initially have zero data length") void testInitialDataLength() { // Then assertEquals(0, response.getDataLength());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
@DisplayName("Test size calculation without create contexts") void testSizeWithoutCreateContexts() { request = new Smb2CreateRequest(mockConfig, "test.txt"); int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 56; int nameLen = 2 * "test.txt".length(); expectedSize += ((nameLen + 7) / 8) * 8; // size8(nameLen) expectedSize = ((expectedSize + 7) / 8) * 8; // size8(size)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
} else { // 4 reserved SMBUtil.writeInt4(this.treeId, dst, dstIndex + 36); } SMBUtil.writeInt8(this.sessionId, dst, dstIndex + 40); return Smb2Constants.SMB2_HEADER_LENGTH; } /** * Reads the SMB2 header from the wire format. * * @param buffer the buffer to read from * @param bufferIndex the starting position in the bufferCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0)