Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for 1MB (0.01 sec)

  1. 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;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            // The validation in getBuffer() ensures size is within bounds (0 < size <= 1MB)
            assertTrue(buffer.length > 0, "Buffer size should be positive");
            assertTrue(buffer.length <= 0x100000, "Buffer size should not exceed 1MB");
        }
    
        /**
         * Test that releaseBuffer validates buffer before accepting it.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

        /** The initialization parameter map. */
        protected Map<String, Object> initParamMap;
    
        /** The maximum cached content size in bytes. Default is 1MB. */
        protected long maxCachedContentSize = 1024L * 1024L; // 1MB
    
        /** The access timeout in seconds. Default is null (no timeout). */
        protected Integer accessTimeout = null; // seconds
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // Test excessive maxTransactSize (> 16MB)
            SMBUtil.writeInt4(20 * 1024 * 1024, buffer, 28); // 20MB
            SMBUtil.writeInt4(1024 * 1024, buffer, 32); // 1MB read size - valid
            SMBUtil.writeInt4(1024 * 1024, buffer, 36); // 1MB write size - valid
    
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> {
                response.readBytesWireFormat(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/BufferCache.java

            // Utility class - not instantiable
        }
    
        private static final int MAX_BUFFERS = Config.getInt("jcifs.smb1.smb.maxBuffers", 16);
        private static final int MAX_BUFFER_SIZE = 0x100000; // 1MB maximum
    
        // Use concurrent queue for lock-free operations
        private static final java.util.concurrent.ConcurrentLinkedQueue<byte[]> bufferQueue =
                new java.util.concurrent.ConcurrentLinkedQueue<>();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                // Typical server response after copying chunks
                byte[] buffer = createValidCopyChunkResponse(16, // 16 chunks written
                        1048576, // 1MB per chunk
                        16777216 // 16MB total
                );
    
                int bytesDecoded = response.decode(buffer, 0, buffer.length);
    
                assertEquals(12, bytesDecoded);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. docs/smb3-features/05-rdma-smb-direct-design.md

        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
    ```java
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

        // Configuration constants
        private static final int MIN_COMPRESSION_SIZE = 512; // 512 bytes minimum
        private static final int MAX_COMPRESSION_SIZE = 1024 * 1024; // 1MB maximum
        private static final int COMPRESSION_LEVEL = Deflater.DEFAULT_COMPRESSION;
    
        // Supported algorithms
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

                assertEquals(-1, stream.read()); // Should indicate end of stream
            }
        }
    
        @Test
        public void testMemoryBasedCacheWithLargeData() throws IOException {
            // Create a large byte array (1MB)
            byte[] data = new byte[1024 * 1024];
            for (int i = 0; i < data.length; i++) {
                data[i] = (byte) (i % 256);
            }
    
            ContentCache cache = new ContentCache(data);
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top