Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for Jones (0.21 sec)

  1. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

         * the uniformly-distributed random integer, then truncates any fractional
         * part, so higher integers would appear (in this case linearly) more often
         * than lower ones.
         */
        return (int) Math.pow(a, 1.0 / concentration);
      }
    
      @AfterExperiment
      void tearDown() {
        double req = requests.get();
        double hit = req - misses.get();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * with underutilization, then we want stored permits to be given out /faster/ than fresh ones,
       * because underutilization = free resources for the taking. If we are primarily interested to
       * deal with overflow, then stored permits could be given out /slower/ than fresh ones. Thus, we
       * require a (different in each case) function that translates storedPermits to throttling time.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/Striped64.java

       * under the assumption that for long-running instances, observed
       * contention levels will recur, so the cells will eventually be
       * needed again; and for short-lived ones, it does not matter.
       */
    
      /**
       * Padded variant of AtomicLong supporting only raw accesses plus CAS. The value field is placed
       * between pads, hoping that the JVM doesn't reorder them.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Service.java

         */
        FAILED,
      }
    
      /**
       * A listener for the various state changes that a {@link Service} goes through in its lifecycle.
       *
       * <p>All methods are no-ops by default, implementors should override the ones they care about.
       *
       * @author Luke Sandberg
       * @since 15.0 (present as an interface in 13.0)
       */
      abstract class Listener {
        /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        }
        assertEquals(10, CacheTesting.expirationQueueSize(cache));
        assertEquals(10, removalListener.getCount()); // these are the invalidated ones
    
        // old timeouts must expire after this wait
        ticker.advance(ttl * 2 / 3, MILLISECONDS);
    
        assertEquals(10, CacheTesting.expirationQueueSize(cache));
        assertEquals(10, removalListener.getCount());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      protected static final boolean expensiveTests = Boolean.getBoolean("jsr166.expensiveTests");
    
      /**
       * If true, report on stdout all "slow" tests, that is, ones that take more than profileThreshold
       * milliseconds to execute.
       */
      private static final boolean profileTests = Boolean.getBoolean("jsr166.profileTests");
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

        extends AbstractFuture<V> {
      /*
       * This server copy of the class is empty. The corresponding GWT copy contains alternative
       * versions of catching() and catchingAsync() with slightly different signatures from the ones
       * found in FluentFuture.java.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/ImmutableGraph.java

       *         .build();
       * }</pre>
       *
       * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build
       * multiple graphs in series. Each new graph contains all the elements of the ones created before
       * it.
       *
       * @since 28.0
       */
      public static class Builder<N> {
    
        private final MutableGraph<N> mutableGraph;
    
        Builder(GraphBuilder<N> graphBuilder) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ImmutableNetwork.java

       *         .build();
       * }</pre>
       *
       * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build
       * multiple networks in series. Each new network contains all the elements of the ones created
       * before it.
       *
       * @since 28.0
       */
      public static class Builder<N, E> {
    
        private final MutableNetwork<N, E> mutableNetwork;
    
        Builder(NetworkBuilder<N, E> networkBuilder) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Striped64.java

       * under the assumption that for long-running instances, observed
       * contention levels will recur, so the cells will eventually be
       * needed again; and for short-lived ones, it does not matter.
       */
    
      /**
       * Padded variant of AtomicLong supporting only raw accesses plus CAS. The value field is placed
       * between pads, hoping that the JVM doesn't reorder them.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
Back to top