Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 27 for CANCELLED (0.37 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

                }
    
              case CANCELLED:
              case INTERRUPTED:
                throw cancellationExceptionWithCause("Task was cancelled.", exception);
    
              default:
                throw new IllegalStateException("Error, synchronizer in invalid state: " + state);
            }
          }
    
          /** Checks if the state is {@link #COMPLETED}, {@link #CANCELLED}, or {@link #INTERRUPTED}. */
          boolean isDone() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        boolean cancel(boolean mayInterruptIfRunning) {
          logger.get().log(FINER, "cancelling {0}", closingFutureToString());
          boolean cancelled = future.cancel(mayInterruptIfRunning);
          if (cancelled) {
            close();
          }
          return cancelled;
        }
    
        void closeIfLeaked() {
          if (status.get().equals(OPEN)) {
            logger
                .get()
                .log(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

                }
    
              case CANCELLED:
              case INTERRUPTED:
                throw cancellationExceptionWithCause("Task was cancelled.", exception);
    
              default:
                throw new IllegalStateException("Error, synchronizer in invalid state: " + state);
            }
          }
    
          /** Checks if the state is {@link #COMPLETED}, {@link #CANCELLED}, or {@link #INTERRUPTED}. */
          boolean isDone() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

       * either from cancellation or because an input future has completed. If N futures are passed in,
       * and M delegates are cancelled, the remaining M input futures will be cancelled once N - M of
       * the input futures complete. If all the delegates are cancelled, all the input futures will be
       * too.
       *
       * @since 17.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 64.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

          // before the cancelled future completes, it will synchronously complete both the newFuture
          // from the cancelled operation and its own. This can cause one runnable to queue two tasks,
          // breaking the invariant this method relies on to iteratively run the next task after the
          // previous one completes.
          if (get() == RunningState.CANCELLED) {
            delegate = null;
            sequencer = null;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  6. architecture/standards/0009-use-american-english.md

    * `color` (not `colour`)
    * `initialize` (not `initialise`)
    * `behavior` (not `behaviour`)
    * `analyze` (not `analyse`)
    * `organization` (not `organisation`)
    * `center` (not `centre`)
    * `canceled` (not `cancelled`)
    * `labeled` (not `labelled`)
    
    ### Rationale for American English
    
    American English was chosen for the following reasons:
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/SettableFuture.java

     * A {@link ListenableFuture} whose result can be set by a {@link #set(Object)}, {@link
     * #setException(Throwable)} or {@link #setFuture(ListenableFuture)} call. It can also, like any
     * other {@code Future}, be {@linkplain #cancel cancelled}.
     *
     * <p>{@code SettableFuture} is the recommended {@code ListenableFuture} implementation when your
     * task cannot be implemented with {@link ListeningExecutorService}, the various {@link Futures}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * <p>If the call {@code setFuture(delegate)} is accepted and this {@code Future} is later
       * cancelled, cancellation will be propagated to {@code delegate}. Additionally, any call to
       * {@code setFuture} after any cancellation will propagate cancellation to the supplied {@code
       * Future}.
       *
       * <p>Note that, even if the supplied future is cancelled and it causes this future to complete,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  9. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt

      override fun completed(response: SimpleHttpResponse) {
      }
    
      override fun failed(ex: Exception) {
        println("Failed: $ex")
      }
    
      override fun cancelled() {
        println("Cancelled")
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Feb 07 06:56:34 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

    /** Measures the size of AbstractFuture implementations. */
    @NullUnmarked
    public class AbstractFutureFootprintBenchmark {
    
      enum State {
        NOT_DONE,
        FINISHED,
        CANCELLED,
        FAILED
      }
    
      @Param State state;
      @Param Impl impl;
    
      @Param({"0", "1", "5", "10"})
      int numListeners;
    
      @Param({"0", "1", "5", "10"})
      int numThreads;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top