- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 308 for recovers (0.11 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
} } } /** * Report and attempt to recover from a failure to communicate with a server. Returns true if * `e` is recoverable, or false if the failure is permanent. Requests with a body can only * be recovered if the body is buffered or if the failure occurred before the request has been * sent. */ private fun recover( e: IOException, call: RealCall, chain: Interceptor.Chain,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
// Assert assertFalse(it.hasNext()); verify(tree, times(1)).release(); } @Test @DisplayName("doCloseInternal throwing still releases exactly once and next() recovers") void closeInternalThrowsButReleases() throws Exception { // Arrange stubAcquireReturnsSelf(); FileEntry initial = entry("first");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* exception} and/or execute other desired logic. * * <p>Note that the method will be called even upon an invocation of {@code tryLock()}. Although * {@code tryLock()} technically recovers from deadlock by eventually timing out, this behavior * is chosen based on the assumption that it is the application's wish to prohibit any cyclical * lock acquisitions. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 36K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
this.eventListenerFactory = eventListenerFactory } /** * Configure this client to retry or not when a connectivity problem is encountered. By default, * this client silently recovers from the following problems: * * * **Unreachable IP addresses.** If the URL's host has multiple IP addresses, * failure to reach any individual IP address doesn't fail the overall request. This canCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 51.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
// Check if recovery is viable by testing if createTransport works // If createTransport returns null (no mock setup), remove immediately try { SmbTransport testTransport = manager.createTransport(failedChannel.getLocalInterface(), failedChannel.getRemoteInterface()); if (testTransport == null) { // No recovery possible, remove synchronouslyCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 11.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
log.warn("RDMA recovery attempt {} failed: {}", retryCount, recoveryError.getMessage()); // If this was the last attempt, log the full error if (retryCount >= maxRetries) { log.error("All RDMA recovery attempts failed", recoveryError); } } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.5K bytes - Click Count (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
} ``` ## 9. Error Handling and Fallback ### 9.1 RDMA Error Recovery ```java public class RdmaErrorHandler { public void handleRdmaError(RdmaConnection connection, Exception error) { log.warn("RDMA error occurred: {}", error.getMessage()); if (isRecoverableError(error)) { // Attempt to recover connection try { connection.reset();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (0) -
docs/smb3-features/03-multi-channel-design.md
failoverStates.remove(channel.getChannelId()); log.info("Successfully recovered channel {}", channel.getChannelId()); } catch (Exception e) { log.warn("Failed to recover channel {}: {}", channel.getChannelId(), e.getMessage()); // Schedule next retry or remove
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (0) -
src/cmd/api/api_test.go
} if *flagCheck { // slow, not worth repeating in -check t.Skip("skipping with -check set") } testenv.MustHaveGoBuild(t) defer func() { if x := recover(); x != nil { t.Errorf("expected no panic; recovered %v", x) } }() for _, context := range contexts { w := NewWalker(context, "testdata/src/issue64958") pkg, err := w.importFrom("p", "", 0) if err != nil {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Mar 02 13:20:41 GMT 2026 - 7.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
assertThrows(IllegalStateException.class, () -> peekingIterator.remove()); assertEquals( "After remove() throws exception, peek should still be ok", "B", peekingIterator.peek()); /* Should recover to be able to remove() after next(). */ assertEquals("B", peekingIterator.next()); peekingIterator.remove(); assertEquals("Should have removed an element", 2, list.size());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0)