- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 37 for circuit (0.04 seconds)
-
internal/event/target/kafka.go
} return target, nil } func isKafkaConnErr(err error) bool { // Sarama opens the circuit breaker after 3 consecutive connection failures. return err == sarama.ErrLeaderNotAvailable || err.Error() == "circuit breaker is open"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 13.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} catch (SimpleCircuitBreaker.CircuitBreakerOpenException e) { // Log circuit breaker rejection auditLogger.logSecurityViolation("Circuit breaker open for SMB connection", java.util.Map.of("address", address.getHostAddress(), "port", String.valueOf(port))); throw new IOException("Connection rejected by circuit breaker: " + e.getMessage(), e); } catch (RuntimeException e) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
static boolean matchPattern(ArtifactRepository originalRepository, String pattern) { boolean result = false; String originalId = originalRepository.getId(); // simple checks first to short circuit processing below. if (WILDCARD.equals(pattern) || pattern.equals(originalId)) { result = true; } else { // process the list String[] repos = pattern.split(",");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 33.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
/** Native LAN manager name */ String NATIVE_LANMAN = Config.getProperty("jcifs.smb1.smb.client.nativeLanMan", "jCIFS"); /** Virtual circuit number */ int VC_NUMBER = 1; /** Null transport instance */ SmbTransport NULL_TRANSPORT = new SmbTransport(null, 0, null, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
cmd/utils.go
} func lcp(strs []string, pre bool) string { // short-circuit empty list if len(strs) == 0 { return "" } xfix := strs[0] // short-circuit single-element list if len(strs) == 1 { return xfix } // compare first to rest for _, str := range strs[1:] { xfixl := len(xfix) strl := len(str) // short-circuit empty strings if xfixl == 0 || strl == 0 { return "" }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 33K bytes - Click Count (0) -
CLAUDE.md
**Resource Management**: `AutoCloseable` throughout, `DeferredFileOutputStream` for large responses, connection pooling, background temp file deletion via `FileUtil.deleteInBackground()` **Fault Tolerance**: `FaultTolerantClient` wrapper (retry, circuit breaker), `SwitchableHttpClient` for HTTP client fallback --- ## Key Components ### Core Classes - **Crawler** (`Crawler.java`): Main orchestrator - `execute()`, `addUrl()`, `cleanup()`, `stop()`
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Mar 12 03:39:20 GMT 2026 - 8.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt
* from the peer. * * Web sockets may fail due to HTTP upgrade problems, connectivity problems, or if either peer * chooses to short-circuit the graceful shutdown process: * * * **Canceled:** the web socket connection failed. Messages that were successfully enqueued by * either peer may not have been transmitted to the other. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:45:14 GMT 2026 - 6.1K bytes - Click Count (0) -
src/main/java/jcifs/Configuration.java
* * @return socket timeout for netbios connections, in milliseconds */ int getNetbiosSoTimeout(); /** * Gets the virtual circuit number for SMB connections * * @return virtual circuit number to use */ int getVcNumber(); /** * * Property {@code jcifs.smb.client.capabilities} (int) * * @return custom capabilitiesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java
assertFalse(result); assertEquals(1, chain1.changePasswordCallCount); assertEquals(1, chain2.changePasswordCallCount); // allMatch may short-circuit, so chain3 might not be called assertTrue(chain3.changePasswordCallCount <= 1); } // Test delete with no chains @Test public void test_delete_noChains() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
remove(range); entriesByLowerBound.put(range.lowerBound, new RangeMapEntry<K, V>(range, value)); } } @Override public void putCoalescing(Range<K> range, V value) { // don't short-circuit if the range is empty - it may be between two ranges we can coalesce. if (entriesByLowerBound.isEmpty()) { put(range, value); return; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0)