Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for 10485760 (0.13 sec)

  1. docs/smb3-features/05-rdma-smb-direct-design.md

        public static final int DEFAULT_RDMA_READ_WRITE_SIZE = 1048576;  // 1MB
        public static final int DEFAULT_RECEIVE_CREDIT_MAX = 255;
        public static final int DEFAULT_SEND_CREDIT_TARGET = 32;
        public static final int DEFAULT_MAX_RECEIVE_SIZE = 8192;
        public static final int DEFAULT_MAX_FRAGMENTED_SIZE = 131072;    // 128KB
        public static final int DEFAULT_MAX_READ_WRITE_SIZE = 1048576;   // 1MB
    }
    ```
    
    ### 3.2 RDMA Provider Interface
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  2. docs/smb3-features/03-multi-channel-design.md

            if (message instanceof Smb2ReadRequest) {
                return ((Smb2ReadRequest)message).getLength() > 1048576;  // 1MB
            }
            if (message instanceof Smb2WriteRequest) {
                return ((Smb2WriteRequest)message).getLength() > 1048576;
            }
            return false;
        }
        
        private boolean isMetadataOperation(SMBMessage message) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K 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());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            setResponseAsReceived(response);
            setPrivateField(response, "dialectRevision", 0x0300);
            setPrivateField(response, "maxReadSize", 1048576);
            setPrivateField(response, "maxWriteSize", 1048576);
            setPrivateField(response, "maxTransactSize", 1048576);
    
            when(mockConfig.getTransactionBufferSize()).thenReturn(65536);
            when(mockConfig.getReceiveBufferSize()).thenReturn(32768);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaCapabilities.java

         */
        public static final int SMB_DIRECT_RESPONSE_REQUESTED = 0x00000001;
    
        /**
         * Default maximum size for RDMA read/write operations (1MB)
         */
        public static final int DEFAULT_RDMA_READ_WRITE_SIZE = 1048576; // 1MB
    
        /**
         * Default maximum number of receive credits
         */
        public static final int DEFAULT_RECEIVE_CREDIT_MAX = 255;
    
        /**
         * Default target number of send credits
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/AllocInfoTest.java

        class EdgeCasesTests {
    
            @ParameterizedTest
            @DisplayName("Should handle boundary values for capacity")
            @ValueSource(longs = { 0L, 1L, -1L, 1024L, 1048576L, 1073741824L, Long.MAX_VALUE, Long.MIN_VALUE, Long.MAX_VALUE - 1,
                    Long.MIN_VALUE + 1 })
            void shouldHandleBoundaryValuesForCapacity(long capacity) {
                // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        }
    
        @Test
        @DisplayName("Test getSendBufferSize returns large size")
        void testGetSendBufferSizeLarge() {
            // Arrange
            int expectedSize = 1048576;
            when(negotiationResponse.getSendBufferSize()).thenReturn(expectedSize);
    
            // Act
            int size = negotiationResponse.getSendBufferSize();
    
            // Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileInformationTest.java

        }
    
        /**
         * Test FileEndOfFileInformation with various end of file values
         */
        @ParameterizedTest
        @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 1024L, 1048576L })
        @DisplayName("Test FileEndOfFileInformation with various values")
        void testFileEndOfFileInformationWithVariousValues(long endOfFile) throws SMBProtocolDecodingException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

        }
    
        private boolean isLargeTransfer(CommonServerMessageBlock message) {
            if (message instanceof Smb2ReadRequest) {
                return ((Smb2ReadRequest) message).getReadLength() > 1048576; // 1MB
            }
            if (message instanceof Smb2WriteRequest) {
                // Data length not accessible, assume large writes for now
                return true;
            }
            return false;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                // Given - prepare buffer with typical file system values
                ByteBuffer buffer = ByteBuffer.allocate(24);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(1048576L); // Total allocation units (1M)
                buffer.putLong(524288L); // Free allocation units (512K)
                buffer.putInt(8); // Sectors per allocation unit
                buffer.putInt(512); // Bytes per sector
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
Back to top