Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testSegmentPut_evict (0.1 sec)

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

          Object value = new Object();
          int hash = map.hash(key);
          assertNull(segment.put(key, hash, value, false));
          assertTrue(segment.table.length() > i);
        }
      }
    
      public void testSegmentPut_evict() {
        int maxSize = 10;
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().concurrencyLevel(1).maximumSize(maxSize));
    
        // manually add elements to avoid eviction
    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

          Object value = new Object();
          int hash = map.hash(key);
          assertNull(segment.put(key, hash, value, false));
          assertTrue(segment.table.length() > i);
        }
      }
    
      public void testSegmentPut_evict() {
        int maxSize = 10;
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().concurrencyLevel(1).maximumSize(maxSize));
    
        // manually add elements to avoid eviction
    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