Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 796 for sizi (0.7 sec)

  1. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

                }
                response = r;
    
                executeCallbacks = new ArrayList<>(doneCallbacks.size());
                Consumer<RESPONSE> callback;
                while ((callback = doneCallbacks.poll()) != null) {
                    executeCallbacks.add(callback);
                }
            }
            if (executeCallbacks.size() > 0) {
                try {
                    executeCallbacks.stream().forEach(callback -> callback.accept(response));
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/FileUtil.java

            } else {
                bufferSize = DEFAULT_BUF_SIZE;
            }
            char[] buf = new char[bufferSize];
            int size = 0;
            int len;
            try {
                while ((len = reader.read(buf, size, bufferSize - size)) != -1) {
                    size += len;
                    if (size == bufferSize) {
                        // Enforce MAX_BUF_SIZE to prevent unbounded memory growth
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig);
    
            // When
            int size = request.size();
    
            // Then
            // Verify size includes SMB2_HEADER_LENGTH
            assertTrue(size >= Smb2Constants.SMB2_HEADER_LENGTH);
    
            // The actual calculation: (SMB2_HEADER_LENGTH + 4 + 7) & ~7
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            List<AnalyzeToken> tokensTitle = analyzer.analyze(text, "title", lang);
            assertNotNull(tokensTitle);
            assertEquals(2, tokensTitle.size());
    
            // Test with null field
            List<AnalyzeToken> tokensNull = analyzer.analyze(text, null, lang);
            assertNotNull(tokensNull);
            assertEquals(2, tokensNull.size());
        }
    
        @Test
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/nio/ChannelUtil.java

                return channel.map(mode, 0, channel.size());
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Returns the size of the file.
         *
         * @param channel
         *            The file channel. Must not be {@literal null}.
         * @return The size of the file.
         */
        public static long size(final FileChannel channel) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            final int size = docs.size();
            if (size == 0) {
                return docs; // empty
            }
            int fromIndex = startPosition;
            if (fromIndex >= size) {
                fromIndex = size - 1;
            }
            int toIndex = startPosition + pageSize;
            if (toIndex >= size) {
                toIndex = size;
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size() {
            final int size = Smb2Constants.SMB2_HEADER_LENGTH + 56;
            int dataLength = 0;
            if (this.inputData != null) {
                dataLength += this.inputData.size();
            }
            if (this.outputData != null) {
                dataLength += this.outputData.size();
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/BufferCacheImplTest.java

        @Mock
        Configuration cfg;
    
        // Verifies constructor that accepts Configuration reads the expected values and uses them
        @Test
        @DisplayName("Constructor(Configuration) uses cache size and maximum buffer size from config")
        void constructorUsesConfigurationAndAllocatesWithConfiguredSize() {
            when(cfg.getBufferCacheSize()).thenReturn(2);
            when(cfg.getMaximumBufferSize()).thenReturn(5);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

        }
    
        @Test
        @DisplayName("Test size method")
        void testSize() {
            request = new Smb2SetInfoRequest(mockConfig);
            Encodable mockInfo = mock(Encodable.class);
            when(mockInfo.size()).thenReturn(100);
            request.setInfo(mockInfo);
    
            int size = request.size();
    
            // Expected size calculation: size8(SMB2_HEADER_LENGTH + 32 + info.size())
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

        }
    
        /**
         * Sets the maximum uncompression size.
         * @param maxUncompressionSize The max uncompression size.
         */
        public void setMaxUncompressionSize(final long maxUncompressionSize) {
            this.maxUncompressionSize = maxUncompressionSize;
        }
    
        /**
         * Sets the initial buffer size.
         * @param initialBufferSize The initial buffer size.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 30.8K bytes
    - Viewed (0)
Back to top