Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Once (0.02 sec)

  1. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

    import java.util.logging.Logger;
    
    import org.apache.commons.io.output.DeferredFileOutputStream;
    
    /**
     * ContentOutputStream is a custom output stream that extends DeferredFileOutputStream.
     * It writes data to a temporary file once the data size exceeds a specified threshold.
     *
     * <p>This class ensures that the temporary file is deleted if it is not needed.
     * It uses a logger to log warnings if there are issues deleting the temporary file.</p>
     *
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/main/assemblies/files/fess.in.bat

    )
    
    REM set to headless, just in case
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Djava.awt.headless=true
    
    REM maximum # keep-alive connections to maintain at once
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dhttp.maxConnections=20
    
    REM Force the JVM to use IPv4 stack
    if NOT "%FESS_USE_IPV4%" == "" (
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Djava.net.preferIPv4Stack=true
    )
    
    REM proxy
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 03:48:59 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

            final int availableAfter = in.available();
            assertEquals("Stream should not be consumed by validation", availableBefore, availableAfter);
        }
    
        /**
         * Test that validateInputStream is called exactly once per getText call.
         */
        public void test_validateInputStream_calledOncePerGetText() {
            final InputStream in = new ByteArrayInputStream("test".getBytes());
    
            extractor.resetTestState();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. src/main/assemblies/files/fess.in.sh

        FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Xmn${FESS_HEAP_NEWSIZE}"
    fi
    
    # set to headless, just in case
    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Djava.awt.headless=true"
    
    # maximum # keep-alive connections to maintain at once
    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dhttp.maxConnections=20"
    
    # Force the JVM to use IPv4 stack
    if [ "x$FESS_USE_IPV4" != "x" ]; then
      FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Djava.net.preferIPv4Stack=true"
    fi
    
    # proxy
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 03:48:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

     * It implements the {@link DocumentReader} interface to provide a way to iterate over documents
     * in a large index without loading all of them into memory at once.
     * </p>
     *
     * <p>
     * The reader supports limiting the number of documents read based on a percentage of the total documents
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

                    } finally {
                        doneLatch.countDown();
                    }
                }).start();
            }
    
            // Signal all threads to start at once
            startLatch.countDown();
    
            // Wait for all threads to complete
            assertTrue("Threads did not complete in time", doneLatch.await(5, TimeUnit.SECONDS));
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

                    } finally {
                        doneLatch.countDown();
                    }
                }).start();
            }
    
            // Signal all threads to start at once
            startLatch.countDown();
    
            // Wait for all threads to complete
            assertTrue("Threads did not complete in time", doneLatch.await(5, TimeUnit.SECONDS));
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

        }
    
        /**
         * Gets or creates the SPNEGO authenticator instance.
         *
         * This method implements lazy initialization with synchronization to ensure
         * the authenticator is only created once. It configures the authenticator
         * with the appropriate SPNEGO settings and marks initialization as complete.
         *
         * @return The configured SPNEGO authenticator instance
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.8K bytes
    - Viewed (3)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

                        doneLatch.countDown();
                    }
                }).start();
            }
    
            startLatch.countDown();
            doneLatch.await();
    
            // Verify all items were polled exactly once
            assertEquals(itemsPerThread * numThreads, totalPolled.get());
            assertEquals(itemsPerThread * numThreads, allUrls.size());
    
            urlQueueService.delete(sessionId);
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            closeableFactory.destroyObject(pooledObject);
            assertTrue(component.isClosed());
            assertEquals(1, CloseableTestComponent.getCloseCount());
    
            // Second destroy - close() should only be called once due to idempotency check in component
            closeableFactory.destroyObject(pooledObject);
            assertEquals(1, CloseableTestComponent.getCloseCount());
        }
    
        /**
         * Test wrap with null object
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 13:07:01 UTC 2025
    - 36.7K bytes
    - Viewed (0)
Back to top