Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for timeGetWith0Timeout (0.17 seconds)

  1. guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

          try {
            facade.get();
            r++;
          } catch (CancellationException e) {
            r += 2;
          }
        }
        return r;
      }
    
      @Benchmark
      public long timeGetWith0Timeout(long reps) throws Exception {
        Facade<?> f = notDoneFuture;
        long r = 0;
        for (int i = 0; i < reps; i++) {
          try {
            f.get(0, SECONDS);
            r += 1;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.7K bytes
    - Click Count (0)
Back to Top