Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for __cache (0.17 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

     * by the garbage collector. Entries with reclaimed keys or values may be removed from the cache on
     * each cache modification, on occasional cache accesses, or on calls to {@link Cache#cleanUp}; such
     * entries may be counted in {@link Cache#size}, but will never be visible to read or write
     * operations.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheTesting.java

        return Math.max(accessQueueSize(cache), writeQueueSize(cache));
      }
    
      static void processPendingNotifications(Cache<?, ?> cache) {
        if (hasLocalCache(cache)) {
          LocalCache<?, ?> cchm = toLocalCache(cache);
          cchm.processPendingNotifications();
        }
      }
    
      interface Receiver<T> {
        void accept(@Nullable T object);
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LocalCache.java

        @CheckForNull transient Cache<K, V> delegate;
    
        ManualSerializationProxy(LocalCache<K, V> cache) {
          this(
              cache.keyStrength,
              cache.valueStrength,
              cache.keyEquivalence,
              cache.valueEquivalence,
              cache.expireAfterWriteNanos,
              cache.expireAfterAccessNanos,
              cache.maxWeight,
              cache.weigher,
    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)
  4. android/guava/src/com/google/common/hash/Striped64.java

       * to reduce cache contention on most processors. Padding is
       * overkill for most Atomics because they are usually irregularly
       * scattered in memory and thus don't interfere much with each
       * other. But Atomic objects residing in arrays will tend to be
       * placed adjacent to each other, and so will most often share
       * cache lines (with a huge negative performance impact) without
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

            .addEqualityGroup(isNull)
            .addEqualityGroup(Equivalence.identity().equivalentTo("1"))
            .testEquals();
      }
    
      /*
       * We use large numbers to avoid the integer cache. Normally, we'd accomplish that merely by using
       * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer`
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableCollection.java

     *       worse, and possibly better, than creating a mutable collection and copying it.
     *   <li>Implementations generally do not cache hash codes. If your element or key type has a slow
     *       {@code hashCode} implementation, it should cache it itself.
     * </ul>
     *
     * <h4>Example usage</h4>
     *
     * <pre>{@code
     * class Foo {
     *   private static final ImmutableSet<String> RESERVED_CODES =
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       worse, and possibly better, than creating a mutable collection and copying it.
     *   <li>Implementations generally do not cache hash codes. If your element or key type has a slow
     *       {@code hashCode} implementation, it should cache it itself.
     * </ul>
     *
     * <h4>Example usage</h4>
     *
     * <pre>{@code
     * class Foo {
     *   private static final ImmutableSet<String> RESERVED_CODES =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Converter.java

     *
     * [*] In annotating this class, we're ignoring LegacyConverter.
     */
    public abstract class Converter<A, B> implements Function<A, B> {
      private final boolean handleNullAutomatically;
    
      // We lazily cache the reverse view to avoid allocating on every call to reverse().
      @LazyInit @RetainedWith @CheckForNull private transient Converter<B, A> reverse;
    
      /** Constructor for use by subclasses. */
      protected Converter() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  9. guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        assume().that(graphIsMutable()).isTrue();
    
        addEdge(N1, N2, E12);
        @SuppressWarnings("unused")
        EndpointPair<Integer> unused =
            networkAsMutableNetwork.incidentNodes(E12); // ensure cache (if any) is populated
        assertTrue(networkAsMutableNetwork.removeEdge(E12));
        assertEdgeNotInGraphErrorMessage(
            assertThrows(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 33K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        assume().that(graphIsMutable()).isTrue();
    
        addEdge(N1, N2, E12);
        @SuppressWarnings("unused")
        EndpointPair<Integer> unused =
            networkAsMutableNetwork.incidentNodes(E12); // ensure cache (if any) is populated
        assertTrue(networkAsMutableNetwork.removeEdge(E12));
        assertEdgeNotInGraphErrorMessage(
            assertThrows(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 32.7K bytes
    - Viewed (0)
Back to top