/guava/android/guava/src/com/google/common/cache/LocalCache.java
if ( evictsBySize( ) && !customWeigher( ) ) { int initialCapacity = Math.min( builder.getInitialCapacity( ) , MAXIMUM_CAPACITY) ;
int initialCapacity = Math.min ( builder.getInitialCapacity ( ) , MAXIMUM_CAPACITY ) ; if ( evictsBySize ( ) && !customWeigher ( ) ) {
? LocalCache.discardingQueue() : new ConcurrentLinkedQueue<>(); ticker = builder.getTicker(recordsTime()); entryFactory = EntryFactory.getFactory(keyStrength, usesAccessEntries(), usesWriteEntries()); globalStatsCounter = builder.getStatsCounterSupplier().get(); defaultLoader = loader; <extra_id_0> initialCapacity = (int) Math.min(initialCapacity, maxWeight); } int segmentShift = 0; int segmentCount = 1; while (segmentCount < concurrencyLevel && (!evictsBySize() || segmentCount * 20L <= maxWeight)) {