- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for maxWriteSize (0.06 seconds)
-
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0)