- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 107 for threshold (0.05 seconds)
-
cmd/dynamic-timeouts.go
package cmd import ( "math" "sync" "sync/atomic" "time" ) const ( dynamicTimeoutIncreaseThresholdPct = 0.33 // Upper threshold for failures in order to increase timeout dynamicTimeoutDecreaseThresholdPct = 0.10 // Lower threshold for failures in order to decrease timeout dynamicTimeoutLogSize = 16 maxDuration = math.MaxInt64
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
} /** Returns the file holding the data (possibly null). */ @VisibleForTesting @Nullable File getFile() { return state.getFile(); } /** * Creates a new instance that uses the given file threshold, and does not reset the data when the * {@link ByteSource} returned by {@link #asByteSource} is garbage collected. * * @param fileThreshold the number of bytes before the stream should switch to buffering to a file
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0) -
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(() -> {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java
*/ public void addExcludeWord(final String excludeWord) { excludeWords.add(excludeWord); } /** * Sets the query frequency threshold. * @param queryFreqThreshold The query frequency threshold. */ public void setQueryFreqThreshold(final int queryFreqThreshold) { this.queryFreqThreshold = queryFreqThreshold; } @OverrideCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Aug 07 02:41:28 GMT 2025 - 9.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java
} final boolean isApiPath = path.startsWith("/api/"); final int threshold = isApiPath ? apiLoadControl : webLoadControl; if (threshold >= 100) { chain.doFilter(request, response); return; } if (cpuPercent < threshold) { chain.doFilter(request, response); return; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 33.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/MailForm.java
/** The login required setting. */ public String loginRequired; /** The ignore failure type setting. */ public String ignoreFailureType; /** The failure count threshold setting. */ public String failureCountThreshold; /** The popular word setting. */ public String popularWord; /** The CSV file encoding setting. */ public String csvFileEncoding;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.6K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
responseData.setResponseBody(file, false); if (logger.isDebugEnabled()) { logger.debug("File size exceeds cache threshold, using file reference: file={}, size={}, threshold={}", file.getAbsolutePath(), file.length(), maxCachedContentSize); } } }
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Nov 23 12:19:14 GMT 2025 - 15.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jLogger.java
*/ @Override public int getThreshold() { return 0; } /** * <b>Warning</b>: ignored. */ @Override public void setThreshold(int threshold) {} /** * <b>Warning</b>: ignored (always return <code>null</code>). */ @Override public Logger getChildLogger(String name) { return null; } @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 3.8K bytes - Click Count (0) -
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"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.3K bytes - Click Count (0) -
cmd/server-rlimit.go
// about older Linux kernels and Go runtime. return currentKernel < kernel.Version(4, 0, 0) } func setMaxResources(ctx serverCtxt) (err error) { // Set the Go runtime max threads threshold to 90% of kernel setting. sysMaxThreads, err := sys.GetMaxThreads() if err == nil { minioMaxThreads := (sysMaxThreads * 90) / 100 // Only set max threads if it is greater than the default one
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jul 02 15:09:36 GMT 2024 - 2.8K bytes - Click Count (0)