Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ReferenceEntry (0.07 sec)

  1. guava/src/com/google/common/cache/LocalCache.java

          <K, V> ReferenceEntry<K, V> newEntry(
              Segment<K, V> segment, K key, int hash, @CheckForNull ReferenceEntry<K, V> next) {
            return new StrongWriteEntry<>(key, hash, next);
          }
    
          @Override
          <K, V> ReferenceEntry<K, V> copyEntry(
              Segment<K, V> segment,
              ReferenceEntry<K, V> original,
              ReferenceEntry<K, V> newNext,
              K key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

      }
    
      private static <K, V> void assertSameEntries(
          List<ReferenceEntry<K, V>> expectedEntries, List<ReferenceEntry<K, V>> actualEntries) {
        int size = expectedEntries.size();
        assertEquals(size, actualEntries.size());
        for (int i = 0; i < size; i++) {
          ReferenceEntry<K, V> expectedEntry = expectedEntries.get(i);
          ReferenceEntry<K, V> actualEntry = actualEntries.get(i);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

      }
    
      private static <K, V> void assertSameEntries(
          List<ReferenceEntry<K, V>> expectedEntries, List<ReferenceEntry<K, V>> actualEntries) {
        int size = expectedEntries.size();
        assertEquals(size, actualEntries.size());
        for (int i = 0; i < size; i++) {
          ReferenceEntry<K, V> expectedEntry = expectedEntries.get(i);
          ReferenceEntry<K, V> actualEntry = actualEntries.get(i);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java

    @SuppressWarnings("CheckReturnValue")
    public class ChainBenchmark {
    
      @Param({"1", "2", "3", "4", "5", "6"})
      int length;
    
      private Segment<Object, Object> segment;
      private ReferenceEntry<Object, Object> head;
      private @Nullable ReferenceEntry<Object, Object> chain;
    
      @SuppressWarnings("GuardedBy")
      @BeforeExperiment
      void setUp() {
        LocalCache<Object, Object> cache =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

            CacheBuilder.newBuilder().maximumSize(MAX_SIZE).build(loader);
        CacheTesting.checkRecency(
            cache,
            MAX_SIZE,
            new Receiver<ReferenceEntry<Integer, Integer>>() {
              @Override
              public void accept(ReferenceEntry<Integer, Integer> entry) {
                cache.getUnchecked(entry.getKey());
              }
            });
      }
    
      public void testUpdateRecency_onInvalidate() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java

    @SuppressWarnings("CheckReturnValue")
    public class ChainBenchmark {
    
      @Param({"1", "2", "3", "4", "5", "6"})
      int length;
    
      private Segment<Object, Object> segment;
      private ReferenceEntry<Object, Object> head;
      private @Nullable ReferenceEntry<Object, Object> chain;
    
      @SuppressWarnings("GuardedBy")
      @BeforeExperiment
      void setUp() {
        LocalCache<Object, Object> cache =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top