- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 683 for failures (0.1 seconds)
-
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java
* Adds a Throwable to the list of failures. * * @param t the Throwable to add */ public void addFailure(final Throwable t) { failures.add(t); } /** * Checks if there are any failures recorded. * * @return true if there is at least one failure, false otherwise */ public boolean hasFailure() { return !failures.isEmpty(); } /**Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 1.9K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
} catch (e: Exception) { synchronized(failures) { failures.add(e) } } } @Throws(UnknownHostException::class) private fun throwBestFailure( hostname: String, failures: List<Exception>, ): List<InetAddress> { if (failures.isEmpty()) { throw UnknownHostException(hostname) } val failure = failures[0] if (failure is UnknownHostException) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 8.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt
} } if (failures.isNotEmpty()) { for (failure in failures) { println(failure) } throw failures.first() } } private fun testToAscii( input: String, output: String?, comment: String?, ) { val url = "https://$input/".toHttpUrlOrNull() assertThat(url?.host, name = comment ?: input).isEqualTo(output) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/FilePermissionsTask.java
} List<String> failures = getFiles().getFiles() .stream() .filter(FilePermissionsTask::isExecutableFile) .map(file -> "Source file is executable: " + file) .collect(Collectors.toList()); if (failures.isEmpty() == false) { throw new GradleException("Found invalid file permissions:\n" + String.join("\n", failures)); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
int failures = consecutiveFailures.incrementAndGet(); if (failures >= failureThreshold) { if (state.compareAndSet(State.CLOSED, State.OPEN)) { stateChangeTime.set(System.currentTimeMillis()); log.warn("Circuit breaker {} opened after {} consecutive failures", name, failures); } } } } /**
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/dynamic-timeouts.go
// previous results func (dt *dynamicTimeout) adjust(entries [dynamicTimeoutLogSize]time.Duration) { failures, maxDur := 0, time.Duration(0) for _, dur := range entries[:] { if dur == maxDuration { failures++ } else if dur > maxDur { maxDur = dur } } failPct := float64(failures) / float64(len(entries)) if failPct > dynamicTimeoutIncreaseThresholdPct {
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) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
// Expected } } // Circuit should be OPEN after 3 failures assertEquals(State.OPEN, customCb.getState(), "Circuit should be OPEN after regular failures"); assertEquals(3, customCb.getFailureCount(), "Should have 3 failures"); // Reset for custom predicate test customCb.reset();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.2K bytes - Click Count (0) -
cmd/metrics-v3-bucket-replication.go
"Number of failures in GET requests proxied to replication target", bucketL, targetArnL) bucketReplProxiedGetRequestsTotalMD = NewCounterMD(bucketReplProxiedGetRequestsTotal, "Number of GET requests proxied to replication target", bucketL, targetArnL) bucketReplProxiedGetTaggingRequestsFailuresMD = NewCounterMD(bucketReplProxiedGetTaggingRequestsFailures,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 04 20:45:31 GMT 2025 - 8.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
int failures = getFailureCount(handle); // Base interval starts at 1 second, increases with failures // Max interval is 30 seconds for inactive directories return Math.min(MAX_POLL_INTERVAL, BASE_POLL_INTERVAL + (failures * 2000)); } /** * Get failure count for a handle * * @param handle notification handle
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.7K bytes - Click Count (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
log.warn("[{}] Failure in HALF_OPEN state, reopening circuit: {}", name, e.getMessage()); transitionTo(State.OPEN); } else if (currentState == State.CLOSED) { int failures = failureCount.incrementAndGet(); int currentThreshold = this.failureThreshold; log.debug("[{}] Failure in CLOSED state ({}/{}): {}", name, failures, currentThreshold, e.getMessage());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 33.4K bytes - Click Count (0)