Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for threshold (0.05 seconds)

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

        /**
         * Constructs a ContentOutputStream with a specified threshold and temporary directory.
         *
         * @param threshold the threshold in bytes for writing to memory before writing to a file
         * @param tmpDir the temporary directory to create the file in
         */
        public ContentOutputStream(final int threshold, final File tmpDir) {
            super(threshold, PREFIX, SUFFIX, tmpDir);
        }
    
        @Override
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/filter/LoadControlFilter.java

            final int threshold = isApiPath ? fessConfig.getApiLoadControlAsInteger() : fessConfig.getWebLoadControlAsInteger();
    
            if (threshold >= 100) {
                chain.doFilter(request, response);
                return;
            }
    
            final short cpuPercent = ComponentUtil.getSystemHelper().getSearchEngineCpuPercent();
    
            if (cpuPercent < threshold) {
                chain.doFilter(request, response);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Feb 10 04:24:02 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

       *
       * <p>This test covers a scenario where we write a smaller amount of data first, then write a
       * large amount that crosses the threshold (transitioning from "not at threshold" to "over the
       * threshold"). (We then write some more afterward.) This differs from the existing
       * testThreshold() which writes exactly enough bytes to fill the buffer, then immediately writes
       * more bytes.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:04:26 GMT 2026
    - 8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/index/operations/DeletionOperations.java

        /**
         * Deletes old words based on a threshold date.
         *
         * @param index The index name
         * @param threshold The threshold date
         * @return The SuggestDeleteResponse
         */
        public SuggestDeleteResponse deleteOldWords(final String index, final ZonedDateTime threshold) {
            if (logger.isInfoEnabled()) {
                logger.info("Deleting old words: index={}, threshold={}", index, threshold);
            }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/logging/SystemLogger.java

        private final PrintWriter out;
        private final Level threshold;
    
        public SystemLogger(@Nullable OutputStream out) {
            this(out, null);
        }
    
        public SystemLogger(@Nullable OutputStream out, @Nullable Level threshold) {
            this.out = new PrintWriter(toPsOrDef(out, System.err), true);
            this.threshold = Objects.requireNonNullElse(threshold, Level.INFO);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Feb 08 16:25:25 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. CLAUDE.md

    │   │   ├── CurlException.java     # Unchecked exception for HTTP errors
    │   │   └── io/
    │   │       ├── ContentCache.java       # In-memory or file-based caching
    │   │       └── ContentOutputStream.java # Threshold-based output stream
    │   └── test/java/org/codelibs/curl/
    │       ├── CurlTest.java          # Factory method tests
    │       ├── CurlRequestTest.java   # Request builder tests
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Jan 08 07:28:24 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jLoggerManager.java

            return 0;
        }
    
        /**
         * <b>Warning</b>: ignored.
         */
        @Override
        public void setThreshold(int threshold) {}
    
        /**
         * <b>Warning</b>: ignored.
         */
        @Override
        public void setThresholds(int threshold) {}
    
        /**
         * <b>Warning</b>: ignored (always return <code>0</code>).
         */
        @Override
        public int getActiveLoggerCount() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilder.java

            request.addExcludeWord(excludeWord);
            return this;
        }
    
        /**
         * Sets the query frequency threshold.
         * @param queryFreqThreshold The query frequency threshold.
         * @return This builder instance.
         */
        public PopularWordsRequestBuilder setQueryFreqThreshold(final int queryFreqThreshold) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java

            assertEquals("auto", config.getRdmaProvider(), "Default provider should be auto");
            assertEquals(8192, config.getRdmaReadWriteThreshold(), "Default threshold should be 8KB");
            assertEquals(65536, config.getRdmaMaxSendSize(), "Default max send size should be 64KB");
            assertEquals(65536, config.getRdmaMaxReceiveSize(), "Default max receive size should be 64KB");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/compression/CompressionService.java

         */
        double estimateCompressionRatio(byte[] data, int algorithm);
    
        /**
         * Gets the minimum data size threshold for compression.
         * Data smaller than this threshold should not be compressed.
         *
         * @return minimum size in bytes for compression to be beneficial
         */
        int getMinCompressionSize();
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top