Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 13 of 13 for inputFutures (0.05 seconds)

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

        AsyncFunction<String, Integer> function =
            unused -> {
              throw error;
            };
        SettableFuture<String> inputFuture = SettableFuture.create();
        ListenableFuture<Integer> outputFuture =
            transformAsync(inputFuture, function, directExecutor());
        inputFuture.set("value");
        ExecutionException expected =
            assertThrows(ExecutionException.class, () -> getDone(outputFuture));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        AsyncFunction<String, Integer> function =
            unused -> {
              throw error;
            };
        SettableFuture<String> inputFuture = SettableFuture.create();
        ListenableFuture<Integer> outputFuture =
            transformAsync(inputFuture, function, directExecutor());
        inputFuture.set("value");
        ExecutionException expected =
            assertThrows(ExecutionException.class, () -> getDone(outputFuture));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  3. 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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8K bytes
    - Click Count (0)
Back to Top