Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for defined (0.16 sec)

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

                return secondary;
              }
            };
        ListenableFuture<Integer> derived =
            catchingAsync(primary, Throwable.class, fallback, directExecutor());
        secondary.set(1);
        assertEquals(1, (int) getDone(derived));
      }
    
      public void testCatchingAsync_resultInterruptedBeforeFallback() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

      /** How long after the last write an entry becomes a candidate for refresh. */
      final long refreshNanos;
    
      /** Entries waiting to be consumed by the removal listener. */
      // TODO(fry): define a new type which creates event objects and automates the clear logic
      final Queue<RemovalNotification<K, V>> removalNotificationQueue;
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

                }
              };
          ClosingFuture<V> derived = new ClosingFuture<>(futureCombiner().call(callable, executor));
          derived.closeables.add(closeables, directExecutor());
          return derived;
        }
    
        /**
         * Returns a new {@code ClosingFuture} pipeline step derived from the inputs by applying a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LocalCache.java

      /** How long after the last write an entry becomes a candidate for refresh. */
      final long refreshNanos;
    
      /** Entries waiting to be consumed by the removal listener. */
      // TODO(fry): define a new type which creates event objects and automates the clear logic
      final Queue<RemovalNotification<K, V>> removalNotificationQueue;
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

        }
        // Using buildKeepingLast() so as not to fail on duplicate keys
        return builder.buildKeepingLast();
      }
    
      /**
       * Returns a map with the given {@code values}, indexed by keys derived from those values. In
       * other words, each input value produces an entry in the map whose key is the result of applying
       * {@code keyFunction} to that value. These entries appear in the same order as the input values.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

        SMALL;
      }
    
      @Param Size size;
    
      // Whether to ensure there is a matching character in the first position
      // to force the trimming code to run.
      @Param("false")
      boolean forceSlow;
    
      // Use web-derived sampler.
      @Param("false")
      boolean web;
    
      private CharMatcher matcher;
      private String string;
    
      // Caliper invokes setUp() after injecting params
      @BeforeExperiment
      void setUp() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
Back to top