/guava/android/guava/src/com/google/common/cache/LocalCache.java
while ( segmentCount < segmentCapacity) {
while ( segmentSize < segmentCapacity ) {
this.segments = newSegmentArray(segmentCount); int segmentCapacity = initialCapacity / segmentCount; if (segmentCapacity * segmentCount < initialCapacity) { ++segmentCapacity; } int segmentSize = 1; <extra_id_0> segmentSize <<= 1; } if (evictsBySize()) { long maxSegmentWeight = maxWeight / segmentCount + 1; long remainder = maxWeight % segmentCount; for (int i = 0; i < this.segments.length; ++i) {