Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for 10485760 (0.07 sec)

  1. 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)
  2. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                // Given - prepare buffer with typical file system values
                ByteBuffer buffer = ByteBuffer.allocate(32);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(1048576L); // Total allocation units (1M)
                buffer.putLong(524288L); // Caller available allocation units (512K)
                buffer.putLong(524288L); // Actual free allocation units (512K)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            response.readParameterWordsWireFormat(buffer, 0);
    
            assertEquals(fileAttribute, response.getAttributes());
        }
    
        @ParameterizedTest
        @ValueSource(longs = { 0L, 1024L, 1048576L, 2147483647L })
        void testDifferentFileSizes(long fileSize) {
            // Test various file size values (excluding values that would overflow signed int)
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/ServerResponseValidatorTest.java

        @Test
        public void testValidMessageSize() throws Exception {
            validator.validateMessageSize(1024, false);
            validator.validateMessageSize(65535, true);
            validator.validateMessageSize(1048576, false); // 1MB for SMB2
        }
    
        @Test
        public void testMessageSizeTooSmall() throws Exception {
            assertThrows(SmbException.class, () -> {
                validator.validateMessageSize(20, false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should handle various offset values")
            @ValueSource(longs = { 0L, 1L, 512L, 1024L, 4096L, 1048576L, Long.MAX_VALUE })
            void testVariousOffsets(long offset) {
                assertDoesNotThrow(() -> request.setOffset(offset));
            }
    
            @ParameterizedTest
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbResourceTest.java

            void testSizeAndSpace() throws CIFSException {
                // Given
                long expectedLength = 1024L;
                long expectedFreeSpace = 1048576L;
                when(mockResource.length()).thenReturn(expectedLength);
                when(mockResource.getDiskFreeSpace()).thenReturn(expectedFreeSpace);
    
                // When
                long length = mockResource.length();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                assertDoesNotThrow(() -> request.setReadLength(length));
            }
    
            @ParameterizedTest
            @DisplayName("Should handle various offsets")
            @ValueSource(longs = { 0L, 1L, 512L, 1024L, 4096L, 1048576L, Long.MAX_VALUE })
            void testVariousOffsets(long offset) {
                assertDoesNotThrow(() -> request.setOffset(offset));
            }
        }
    
        @Nested
        @DisplayName("Size Calculation Tests")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /** The key of the configuration. e.g. 1048576 */
        String INDEXER_WEBFS_MAX_DOCUMENT_REQUEST_SIZE = "indexer.webfs.max.document.request.size";
    
        /** The key of the configuration. e.g. 10000 */
        String INDEXER_DATA_MAX_DOCUMENT_CACHE_SIZE = "indexer.data.max.document.cache.size";
    
        /** The key of the configuration. e.g. 1048576 */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 525.7K bytes
    - Viewed (2)
  9. src/main/resources/fess_config.properties

    # Maximum document request size (bytes) for webfs in the indexer.
    indexer.webfs.max.document.request.size=1048576
    # Maximum document cache size for data in the indexer.
    indexer.data.max.document.cache.size=10000
    # Maximum document request size (bytes) for data in the indexer.
    indexer.data.max.document.request.size=1048576
    # Maximum delete cache size for data in the indexer.
    indexer.data.max.delete.cache.size=100
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 54.8K bytes
    - Viewed (0)
Back to top