Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for threshold (0.04 sec)

  1. src/main/java/org/codelibs/curl/CurlRequest.java

            this.encoding = encoding;
            return this;
        }
    
        /**
         * Sets the threshold size for the request body.
         *
         * @param threshold the threshold
         * @return this CurlRequest instance
         */
        public CurlRequest threshold(final int threshold) {
            this.threshold = threshold;
            return this;
        }
    
        /**
         * Enables GZIP compression for the request.
         *
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SmbCircuitBreaker.java

        }
    
        /**
         * Get current failure threshold (may be dynamically adjusted)
         *
         * @return current failure threshold
         */
        public int getCurrentFailureThreshold() {
            return failureThreshold;
        }
    
        /**
         * Update failure threshold (for dynamic adjustment)
         *
         * @param newThreshold the new failure threshold
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            // Create circuit breaker with dynamic threshold enabled
            SmbCircuitBreaker dynamicCircuitBreaker = new SmbCircuitBreaker("dynamic-test", 5, 2, 1000, 3, true, false, 100);
    
            try {
                // Test threshold adjustment
                int initialThreshold = dynamicCircuitBreaker.getCurrentFailureThreshold();
                assertEquals(5, initialThreshold, "Initial threshold should be 5");
    
                // Update threshold
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TopKSelector.java

          // uncheckedCastNullableTToT is safe because bufferSize > 0.
          if (comparator.compare(elem, uncheckedCastNullableTToT(threshold)) > 0) {
            threshold = elem;
          }
          // uncheckedCastNullableTToT is safe because bufferSize > 0.
        } else if (comparator.compare(elem, uncheckedCastNullableTToT(threshold)) < 0) {
          // Otherwise, we can ignore elem; we've seen k better elements.
          buffer[bufferSize++] = elem;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

        }
    
        /**
         * Deletes old words based on a threshold date.
         * @param threshold The threshold date.
         * @return The SuggestDeleteResponse.
         */
        public SuggestDeleteResponse deleteOldWords(final ZonedDateTime threshold) {
            final long start = System.currentTimeMillis();
            final String query = FieldNames.TIMESTAMP + ":[* TO " + threshold.toInstant().toEpochMilli() + "] NOT " + FieldNames.KINDS + ':'
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            assertEquals(1, stats.totalSuccesses);
            assertEquals(0, stats.totalFailures);
            assertEquals(1.0, stats.successRate);
        }
    
        @Test
        @DisplayName("Test circuit opens after failure threshold")
        void testCircuitOpensAfterThreshold() {
            // Fail 3 times to open the circuit
            for (int i = 0; i < 3; i++) {
                try {
                    circuitBreaker.call(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

        private final CrawlerContainer crawlerContainer;
    
        /** MIME type of the content */
        private String mimeType;
    
        /** Filename of the content */
        private String filename;
    
        /** Cache file size threshold in bytes */
        private int cacheFileSize = 1_000_000;
    
        /** Name of the extractor to use */
        private String extractorName = "tikaExtractor";
    
        /** Maximum content length allowed */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/SimpleCircuitBreaker.java

            this.timeoutMillis = timeoutMillis;
    
            if (failureThreshold < 1) {
                throw new IllegalArgumentException("Failure threshold must be at least 1");
            }
            if (successThreshold < 1) {
                throw new IllegalArgumentException("Success threshold must be at least 1");
            }
            if (timeoutMillis < 0) {
                throw new IllegalArgumentException("Timeout must be non-negative");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

         * Specified failure types will not be logged or counted as errors.
         */
        @Size(max = 1000)
        public String ignoreFailureType;
    
        /**
         * Threshold for failure count before stopping crawling of a URL.
         * Set to -1 to disable the threshold check.
         */
        @Required
        @Min(-1)
        @Max(10000)
        @ValidateTypeFailure
        public Integer failureCountThreshold;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. docs/bigdata/README.md

    mapreduce.reduce.shuffle.input.buffer.percent=0.9 # Min % buffer in RAM
    mapreduce.reduce.shuffle.merge.percent=0.9 # Minimum % merges in RAM
    mapreduce.reduce.speculative=false # Disable speculation for reducing
    mapreduce.task.io.sort.factor=999 # Threshold before writing to disk
    mapreduce.task.sort.spill.percent=0.9 # Minimum % before spilling to disk
    ```
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 14.7K bytes
    - Viewed (0)
Back to top