Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for tryInternalFastPathGetFailure (0.22 sec)

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

        future.set("261");
        assertThat(future.tryInternalFastPathGetFailure()).isNull();
      }
    
      public void testTrustedGetFailure_failed() {
        SettableFuture<String> future = SettableFuture.create();
        Throwable failure = new Throwable();
        future.setException(failure);
        assertThat(future.tryInternalFastPathGetFailure()).isEqualTo(failure);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        future.set("261");
        assertThat(future.tryInternalFastPathGetFailure()).isNull();
      }
    
      public void testTrustedGetFailure_failed() {
        SettableFuture<String> future = SettableFuture.create();
        Throwable failure = new Throwable();
        future.setException(failure);
        assertThat(future.tryInternalFastPathGetFailure()).isEqualTo(failure);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

          this.callback = callback;
        }
    
        @Override
        public void run() {
          if (future instanceof InternalFutureFailureAccess) {
            Throwable failure =
                InternalFutures.tryInternalFastPathGetFailure((InternalFutureFailureAccess) future);
            if (failure != null) {
              callback.onFailure(failure);
              return;
            }
          }
          V value;
          try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
Back to top