Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for maximumSize (0.06 sec)

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

          result.add(builder.maximumSize(SMALL_MAX_SIZE).expireAfterAccess(99999, SECONDS));
        }
        for (CacheBuilder<Object, Object> builder : allKeyValueStrengthMakers()) {
          result.add(builder.maximumSize(SMALL_MAX_SIZE).expireAfterWrite(99999, SECONDS));
        }
        return result;
      }
    
      /** Returns an iterable containing all combinations of maximumSize and expireAfterAccess/Write. */
    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

          result.add(builder.maximumSize(SMALL_MAX_SIZE).expireAfterAccess(99999, SECONDS));
        }
        for (CacheBuilder<Object, Object> builder : allKeyValueStrengthMakers()) {
          result.add(builder.maximumSize(SMALL_MAX_SIZE).expireAfterWrite(99999, SECONDS));
        }
        return result;
      }
    
      /** Returns an iterable containing all combinations of maximumSize and expireAfterAccess/Write. */
    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

        if (evictsBySize() && !customWeigher()) {
          initialCapacity = (int) min(initialCapacity, maxWeight);
        }
    
        // Find the lowest power-of-two segmentCount that exceeds concurrencyLevel, unless
        // maximumSize/Weight is specified in which case ensure that each segment gets at least 10
        // entries. The special casing for size-based eviction is only necessary because that eviction
    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