Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 16777215 (0.06 sec)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                throw new SMBProtocolDecodingException("Invalid maxTransactSize: " + this.maxTransactSize + " (must be 0-16777216)");
            }
            if (this.maxReadSize < 0 || this.maxReadSize > 16777216) { // 16MB max
                throw new SMBProtocolDecodingException("Invalid maxReadSize: " + this.maxReadSize + " (must be 0-16777216)");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            assertTrue(bytesRead > 0);
            assertEquals(0x0302, response.getDialectRevision()); // SMB 3.0.2
            assertTrue(response.getMaxTransactSize() > 0);
            assertTrue(response.getMaxTransactSize() <= 16777216); // Within validated limits
        }
    
        /**
         * Creates a basic negotiate response buffer with minimum valid structure.
         */
        private byte[] createBasicNegotiateResponseBuffer() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                        1048576, // 1MB per chunk
                        16777216 // 16MB total
                );
    
                int bytesDecoded = response.decode(buffer, 0, buffer.length);
    
                assertEquals(12, bytesDecoded);
                assertEquals(16, response.getChunksWritten());
                assertEquals(1048576, response.getChunkBytesWritten());
                assertEquals(16777216, response.getTotalBytesWritten());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
Back to top