- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for maxWriteSize (0.09 sec)
-
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
throw new SMBProtocolDecodingException("Invalid maxReadSize: " + this.maxReadSize + " (must be 0-16777216)"); } if (this.maxWriteSize < 0 || this.maxWriteSize > 16777216) { // 16MB max throw new SMBProtocolDecodingException("Invalid maxWriteSize: " + this.maxWriteSize + " (must be 0-16777216)"); } bufferIndex += 12; // Validate sufficient buffer space for timestamps and offsets
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
setPrivateField(response, "capabilities", Smb2Constants.SMB2_GLOBAL_CAP_DFS); setPrivateField(response, "maxReadSize", 65536); setPrivateField(response, "maxWriteSize", 65536); setPrivateField(response, "maxTransactSize", 65536); // Setup valid request when(mockRequest.isSigningEnforced()).thenReturn(false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
SMBUtil.writeInt4(1024 * 1024, buffer, 28); // maxTransactSize SMBUtil.writeInt4(1024 * 1024, buffer, 32); // maxReadSize SMBUtil.writeInt4(1024 * 1024, buffer, 36); // maxWriteSize // System time and server start time SMBUtil.writeTime(System.currentTimeMillis(), buffer, 40); SMBUtil.writeTime(System.currentTimeMillis(), buffer, 48);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0)