Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for reclaimKey (0.05 sec)

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

        // absent
        assertEquals(0, listener.getCount());
        assertFalse(segment.reclaimKey(entryOne, hashOne));
        assertEquals(0, listener.getCount());
        table.set(0, entryOne);
        assertFalse(segment.reclaimKey(entryTwo, hashTwo));
        assertEquals(0, listener.getCount());
        table.set(0, entryTwo);
        assertFalse(segment.reclaimKey(entryThree, hashThree));
        assertEquals(0, listener.getCount());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // absent
        assertEquals(0, listener.getCount());
        assertFalse(segment.reclaimKey(entryOne, hashOne));
        assertEquals(0, listener.getCount());
        table.set(0, entryOne);
        assertFalse(segment.reclaimKey(entryTwo, hashTwo));
        assertEquals(0, listener.getCount());
        table.set(0, entryTwo);
        assertFalse(segment.reclaimKey(entryThree, hashThree));
        assertEquals(0, listener.getCount());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

        int hash = entry.getHash();
        segmentFor(hash).reclaimValue(entry.getKey(), hash, valueReference);
      }
    
      void reclaimKey(ReferenceEntry<K, V> entry) {
        int hash = entry.getHash();
        segmentFor(hash).reclaimKey(entry, hash);
      }
    
      /**
       * This method is a convenience for testing. Code should call {@link Segment#getLiveValue}
       * instead.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top