Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for LocalCache (0.04 sec)

  1. android/guava-tests/test/com/google/common/cache/PackageSanityTests.java

            CacheLoader.class,
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object key) {
                return key;
              }
            });
        setDefault(LocalCache.class, new LocalCache<Object, Object>(CacheBuilder.newBuilder(), null));
        setDefault(CacheBuilder.class, CacheBuilder.newBuilder());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/cache/SegmentBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.common.cache.LocalCache.Segment;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmark for {@code LocalCache.Segment.expand()}.
     *
     * @author Charles Fry
     */
    @NullUnmarked
    public class SegmentBenchmark {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.common.cache.LocalCache.Segment;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Benchmark for {@code LocalCache.Segment.removeEntryFromChain}.
     *
     * @author Charles Fry
     */
    @SuppressWarnings("CheckReturnValue")
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.cache.LocalCache.Strength.STRONG;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.base.Function;
    import com.google.common.cache.LocalCache.Strength;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterables;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/ReferenceEntry.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.cache.LocalCache.ValueReference;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An entry in a reference map.
     *
     * <p>Entries in the map can be in the following states:
     *
     * <p>Valid:
     *
     * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 18:34:30 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

    import com.google.common.base.Function;
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Optional;
    import com.google.common.base.Preconditions;
    import com.google.common.cache.LocalCache.Strength;
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Sets;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top