- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 34 for CANCELLED (0.08 seconds)
-
docs/features/caching.md
urlIterator.remove() } } ``` ### Troubleshooting 1. Valid cacheable responses are not being cached Make sure you are reading responses fully as unless they are read fully, cancelled or stalled Responses will not be cached. ### Overriding normal cache behaviour
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 3.1K bytes - Click Count (1) -
.github/workflows/contributor-pr.yml
name: Contributor CI Build on: push: branches: - master pull_request: branches: - master concurrency: # On master/release, we don't want any jobs cancelled so the sha is used to name the group group: ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/release' ) && format('contributor-pr-base-{0}', github.sha) || format('contributor-pr-{0}', github.ref) }} cancel-in-progress: false env:Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 22:06:44 GMT 2026 - 5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
* Futures#getUnchecked}. * </ul> * * @throws ExecutionException if the computation threw an exception * @throws CancellationException if the computation was cancelled */ @CanIgnoreReturnValue @ParametricNullness public static <V extends @Nullable Object> V getUninterruptibly(Future<V> future) throws ExecutionException { boolean interrupted = false;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 23:24:32 GMT 2026 - 22.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
private static final int MAX_BUSY_WAIT_SPINS = 1000; @Override public final void run() { /* * Set runner thread before checking isDone(). If we were to check isDone() first, the task * might be cancelled before we set the runner thread. That would make it impossible to * interrupt, yet it will still run, since interruptTask will leave the runner value null, * allowing the CAS below to succeed. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 10K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
step2Waiter.awaitReturned(); step4Waiter.awaitStarted(); // Step 1 is not cancelled because it was done. assertWithMessage("step1.statusFuture().isCancelled()") .that(step1.statusFuture().isCancelled()) .isFalse(); // But its closeable is closed. assertClosed(closeable1); // Step 2 is cancelled because it wasn't complete. assertWithMessage("step2.statusFuture().isCancelled()")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
step2Waiter.awaitReturned(); step4Waiter.awaitStarted(); // Step 1 is not cancelled because it was done. assertWithMessage("step1.statusFuture().isCancelled()") .that(step1.statusFuture().isCancelled()) .isFalse(); // But its closeable is closed. assertClosed(closeable1); // Step 2 is cancelled because it wasn't complete. assertWithMessage("step2.statusFuture().isCancelled()")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
* - And this future *has* failed: This method is called only from handleException (through * getOrInitSeenExceptions). handleException tried to call setException and failed, so * either this Future was cancelled (which we ruled out with the isCancelled check above), * or it had already failed. (It couldn't have completed *successfully* or even had
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 16K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
} public void testToString_cancelled() throws Exception { assertThat(immediateCancelledFuture().toString()).matches("[^\\[]+\\[status=CANCELLED\\]"); } public void testToString_failed() { assertThat(immediateFailedFuture(new RuntimeException("foo")).toString())
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
// Setting the future still works since cancellation didn't propagate assertTrue(future2.set(2L)); // Second check to ensure the input future was not cancelled assertEquals((Long) 2L, getDone(future2)); // All futures are now complete; outstanding inputs are cancelled assertTrue(future3.isCancelled()); assertTrue(future3.wasInterrupted()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
// Setting the future still works since cancellation didn't propagate assertTrue(future2.set(2L)); // Second check to ensure the input future was not cancelled assertEquals((Long) 2L, getDone(future2)); // All futures are now complete; outstanding inputs are cancelled assertTrue(future3.isCancelled()); assertTrue(future3.wasInterrupted()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0)