Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for inputFutures (0.15 sec)

  1. android/guava/src/com/google/common/util/concurrent/Futures.java

        private final @Nullable ListenableFuture<? extends T>[] inputFutures;
        private volatile int delegateIndex = 0;
    
        private InCompletionOrderState(ListenableFuture<? extends T>[] inputFutures) {
          this.inputFutures = inputFutures;
          incompleteOutputCount = new AtomicInteger(inputFutures.length);
        }
    
        private void recordOutputCancellation(boolean interruptIfRunning) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        }
    
        private FutureCombiner<@Nullable Object> futureCombiner() {
          return allMustSucceed
              ? Futures.whenAllSucceed(inputFutures())
              : Futures.whenAllComplete(inputFutures());
        }
    
        private ImmutableList<FluentFuture<?>> inputFutures() {
          return FluentIterable.from(inputs)
              .<FluentFuture<?>>transform(future -> future.future)
              .toList();
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ClosingFuture.java

        }
    
        private FutureCombiner<@Nullable Object> futureCombiner() {
          return allMustSucceed
              ? Futures.whenAllSucceed(inputFutures())
              : Futures.whenAllComplete(inputFutures());
        }
    
        private ImmutableList<FluentFuture<?>> inputFutures() {
          return FluentIterable.from(inputs)
              .<FluentFuture<?>>transform(future -> future.future)
              .toList();
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

       */
      @LazyInit @Nullable ListenableFuture<? extends I> inputFuture;
      @LazyInit @Nullable F function;
    
      AbstractTransformFuture(ListenableFuture<? extends I> inputFuture, F function) {
        this.inputFuture = checkNotNull(inputFuture);
        this.function = checkNotNull(function);
      }
    
      @Override
      @SuppressWarnings({
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

       */
      @LazyInit @Nullable ListenableFuture<? extends I> inputFuture;
      @LazyInit @Nullable F function;
    
      AbstractTransformFuture(ListenableFuture<? extends I> inputFuture, F function) {
        this.inputFuture = checkNotNull(inputFuture);
        this.function = checkNotNull(function);
      }
    
      @Override
      @SuppressWarnings({
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      @Override
      protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) {
        outputFuture = SettableFuture.create();
        funcIsWaitingLatch = new CountDownLatch(1);
        funcCompletionLatch = new CountDownLatch(1);
        return transformAsync(inputFuture, new ChainingFunction(), directExecutor());
      }
    
      @Override
      protected String getSuccessfulResult() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      @Override
      protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) {
        outputFuture = SettableFuture.create();
        funcIsWaitingLatch = new CountDownLatch(1);
        funcCompletionLatch = new CountDownLatch(1);
        return transformAsync(inputFuture, new ChainingFunction(), directExecutor());
      }
    
      @Override
      protected String getSuccessfulResult() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java

          new UndeclaredThrowableException(EXCEPTION);
    
      @Override
      protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) {
        return transform(inputFuture, new ComposeFunction(), directExecutor());
      }
    
      @Override
      protected String getSuccessfulResult() {
        return RESULT_DATA;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

        @RetainedLocalRef ListenableFuture<? extends V> localInputFuture = delegateRef;
        @RetainedLocalRef ScheduledFuture<?> localTimer = timer;
        if (localInputFuture != null) {
          String message = "inputFuture=[" + localInputFuture + "]";
          if (localTimer != null) {
            long delay = localTimer.getDelay(MILLISECONDS);
            // Negative delays look confusing in an error message
            if (delay > 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top