- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 50 for SMB2_HEADER_LENGTH (0.07 sec)
-
src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (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 *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
void testSizeWithoutData() { setupMockConfig(); Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE); int size = request.size(); // Base size: SMB2_HEADER_LENGTH (64) + 56 = 120, aligned to 8 assertEquals(120, size); } @Test @DisplayName("Test size calculation with input data") void testSizeWithInputData() { setupMockConfig();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (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());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (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; /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (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) */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (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) */ @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.7K bytes - Viewed (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)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (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 bufferRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0)