Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for global (0.19 sec)

  1. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * rate, and ability to be implemented with O(1) time complexity. The initial LRU implementation
       * operates per-segment rather than globally for increased implementation simplicity. We expect
       * the cache hit rate to be similar to that of a global LRU algorithm.
       */
    
      // Constants
    
      /**
       * The maximum capacity, used if a higher value is implicitly specified by either of the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

       * one input completes with result X and another later with result Y, for Y to come before X in
       * the output future list. (Such races are impossible to solve without global synchronization of
       * all future completions. And they should have little practical impact.)
       *
       * <p>Cancelling a delegate future propagates to input futures once all the delegates complete,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          }
        }
      }
    
      /** Unblocks all threads and runs all listeners. */
      private static void complete(AbstractFuture<?> param, boolean callInterruptTask) {
        // Declare a "true" local variable so that the Checker Framework will infer nullness.
        AbstractFuture<?> future = param;
    
        Listener next = null;
        outer:
        while (true) {
          future.releaseWaiters();
          /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(new TypeToken<List<String>>() {}, t);
      }
    
      public void testNonStaticLocalClass() {
        class Local<T> {}
        TypeToken<Local<String>> type = new TypeToken<Local<String>>() {};
        assertEquals(Types.newParameterizedType(Local.class, String.class), type.getType());
        assertEquals(new Local<String>() {}.getClass().getGenericSuperclass(), type.getType());
      }
    
      public void testStaticLocalClass() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilder.java

      /**
       * Specifies that each value (not key) stored in the cache should be wrapped in a {@link
       * SoftReference} (by default, strong references are used). Softly-referenced objects will be
       * garbage-collected in a <i>globally</i> least-recently-used manner, in response to memory
       * demand.
       *
       * <p><b>Warning:</b> in most circumstances it is better to set a per-cache {@linkplain
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
Back to top