Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testDrainKeyReferenceQueueOnWrite (0.21 sec)

  1. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        segment.setWeakValueReferenceForTesting(entry, valueRef);
        assertTrue(segment.clearValueForTesting(key, hash, valueRef));
      }
    
      // reference queues
    
      public void testDrainKeyReferenceQueueOnWrite() {
        for (MapMaker maker : allWeakKeyStrengthMakers()) {
          MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(maker.concurrencyLevel(1));
          if (maker.getKeyStrength() == Strength.WEAK) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        segment.setWeakValueReferenceForTesting(entry, valueRef);
        assertTrue(segment.clearValueForTesting(key, hash, valueRef));
      }
    
      // reference queues
    
      public void testDrainKeyReferenceQueueOnWrite() {
        for (MapMaker maker : allWeakKeyStrengthMakers()) {
          MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(maker.concurrencyLevel(1));
          if (maker.getKeyStrength() == Strength.WEAK) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          it.remove();
        }
        segment.evictEntries(entry);
        assertEquals(maxSize, map.size());
        assertEquals(originalMap, map);
      }
    
      // reference queues
    
      public void testDrainKeyReferenceQueueOnWrite() {
        for (CacheBuilder<Object, Object> builder : allKeyValueStrengthMakers()) {
          LocalCache<Object, Object> map = makeLocalCache(builder.concurrencyLevel(1));
          if (map.usesKeyReferences()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          it.remove();
        }
        segment.evictEntries(entry);
        assertEquals(maxSize, map.size());
        assertEquals(originalMap, map);
      }
    
      // reference queues
    
      public void testDrainKeyReferenceQueueOnWrite() {
        for (CacheBuilder<Object, Object> builder : allKeyValueStrengthMakers()) {
          LocalCache<Object, Object> map = makeLocalCache(builder.concurrencyLevel(1));
          if (map.usesKeyReferences()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
Back to top