Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 85 for propagates (0.14 sec)

  1. cmd/common-main.go

    		return true
    	default:
    		return false
    	}
    }
    
    // bgContext returns a context that can be used for async operations.
    // Cancellation/timeouts are removed, so parent cancellations/timeout will
    // not propagate from parent.
    // Context values are preserved.
    // This can be used for goroutines that live beyond the parent context.
    func bgContext(parent context.Context) context.Context {
    	return bgCtx{parent: parent}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

              WARN,
              journalIsCorrupt,
            )
          }
    
          // The cache is corrupted, attempt to delete the contents of the directory. This can throw and
          // we'll let that propagate out as it likely means there is a severe filesystem problem.
          try {
            delete()
          } finally {
            closed = false
          }
        }
    
        rebuildJournal()
    
        initialized = true
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Streams.java

        // exception later. If more than one stream throws an exception, the later ones are added to the
        // first as suppressed exceptions. We don't catch Error on the grounds that it should be allowed
        // to propagate immediately.
        Exception exception = null;
        for (BaseStream<?, ?> stream : toClose) {
          try {
            stream.close();
          } catch (Exception e) { // sneaky checked exception
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  4. internal/grid/grid_test.go

    		if !closed {
    			t.Error("expected outgoing closed")
    		} else {
    			t.Log("outgoing was closed")
    		}
    	})
    
    	// Drain responses and check if error propagated.
    	err = st.Results(func(b []byte) error {
    		return nil
    	})
    	if !errors.Is(err, context.Canceled) {
    		t.Error("expected context.Canceled, got", err)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        for (int i = 0; i < 100000; i++) {
          SettableFuture<String> curr = SettableFuture.create();
          prev.setFuture(curr);
          prev = curr;
        }
        // orig is the 'outermost future', this should propagate fully down the stack of futures.
        orig.cancel(true);
        assertTrue(orig.isCancelled());
        assertTrue(prev.isCancelled());
        assertTrue(prev.wasInterrupted());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Streams.java

        // exception later. If more than one stream throws an exception, the later ones are added to the
        // first as suppressed exceptions. We don't catch Error on the grounds that it should be allowed
        // to propagate immediately.
        Exception exception = null;
        for (BaseStream<?, ?> stream : toClose) {
          try {
            stream.close();
          } catch (Exception e) { // sneaky checked exception
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheBuilder.java

       * operation at some <i>undefined</i> point in the future.
       *
       * <p><b>Warning:</b> any exception thrown by {@code listener} will <i>not</i> be propagated to
       * the {@code Cache} user, only logged via a {@link Logger}.
       *
       * @return the cache builder reference that should be used instead of {@code this} for any
       *     remaining configuration and cache building
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheBuilder.java

       * operation at some <i>undefined</i> point in the future.
       *
       * <p><b>Warning:</b> any exception thrown by {@code listener} will <i>not</i> be propagated to
       * the {@code Cache} user, only logged via a {@link Logger}.
       *
       * @return the cache builder reference that should be used instead of {@code this} for any
       *     remaining configuration and cache building
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

          ).build()
        val call1 = localClient.newCall(Request(server.url("/")))
        val response1 = call1.execute()
        assertThat(response1.body.string()).isEqualTo("ABC")
    
        // Add delays for DISCONNECT_AT_END to propogate
        waitForConnectionShutdown(connections[0])
        val call2 = localClient.newCall(Request(server.url("/")))
        val response2 = call2.execute()
        assertThat(response2.body.string()).isEqualTo("DEF")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          client.newBuilder()
            .sslSocketFactory(handshakeCertificates.sslSocketFactory())
        }
      }
    
      /** Confirm that runtime exceptions thrown inside of OkHttp propagate to the caller.  */
      @Test
      fun unexpectedExceptionSync() {
        client =
          client.newBuilder()
            .dns { hostname: String? -> throw RuntimeException("boom!") }
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
Back to top