Searched refs:UNSET_INT (Results 1 – 8 of 8) sorted by relevance
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
D | CacheBuilder.java | 209 static final int UNSET_INT = -1; field in CacheBuilder 213 int initialCapacity = UNSET_INT; 214 int concurrencyLevel = UNSET_INT; 215 long maximumSize = UNSET_INT; 216 long maximumWeight = UNSET_INT; 222 long expireAfterWriteNanos = UNSET_INT; 223 long expireAfterAccessNanos = UNSET_INT; 224 long refreshNanos = UNSET_INT; 264 checkState(this.initialCapacity == UNSET_INT, "initial capacity was already set to %s", in initialCapacity() 272 return (initialCapacity == UNSET_INT) ? DEFAULT_INITIAL_CAPACITY : initialCapacity; in getInitialCapacity() [all …]
|
D | LocalCache.java | 54 private static final int UNSET_INT = CacheBuilder.UNSET_INT; field in LocalCache 76 (builder.maximumSize != UNSET_INT), in LocalCache() 217 if ((expireAfterAccess == UNSET_INT) && (expireAfterWrite == UNSET_INT)) { in isExpired() 224 if (expireAfterAccess == UNSET_INT) { in isExpired() 227 if (expireAfterWrite == UNSET_INT) { in isExpired() 488 boolean removal = (maximumSize == UNSET_INT) ? false : (size() > maximumSize); in removeEldestEntry()
|
/external/guava/guava/src/com/google/common/cache/ |
D | CacheBuilder.java | 215 static final int UNSET_INT = -1; field in CacheBuilder 219 int initialCapacity = UNSET_INT; 220 int concurrencyLevel = UNSET_INT; 221 long maximumSize = UNSET_INT; 222 long maximumWeight = UNSET_INT; 228 long expireAfterWriteNanos = UNSET_INT; 229 long expireAfterAccessNanos = UNSET_INT; 230 long refreshNanos = UNSET_INT; 332 checkState(this.initialCapacity == UNSET_INT, "initial capacity was already set to %s", in initialCapacity() 340 return (initialCapacity == UNSET_INT) ? DEFAULT_INITIAL_CAPACITY : initialCapacity; in getInitialCapacity() [all …]
|
D | LocalCache.java | 22 import static com.google.common.cache.CacheBuilder.UNSET_INT; 307 createSegment(segmentSize, UNSET_INT, builder.getStatsCounterSupplier().get()); in LocalCache() 4633 if (maxWeight != UNSET_INT) { 4637 if (maxWeight != UNSET_INT) {
|
/external/guava/guava/src/com/google/common/collect/ |
D | MapMaker.java | 111 static final int UNSET_INT = -1; field in MapMaker 116 int initialCapacity = UNSET_INT; 117 int concurrencyLevel = UNSET_INT; 118 int maximumSize = UNSET_INT; 123 long expireAfterWriteNanos = UNSET_INT; 124 long expireAfterAccessNanos = UNSET_INT; 170 checkState(this.initialCapacity == UNSET_INT, "initial capacity was already set to %s", in initialCapacity() 178 return (initialCapacity == UNSET_INT) ? DEFAULT_INITIAL_CAPACITY : initialCapacity; in getInitialCapacity() 207 checkState(this.maximumSize == UNSET_INT, "maximum size was already set to %s", in maximumSize() 240 checkState(this.concurrencyLevel == UNSET_INT, "concurrency level was already set to %s", in concurrencyLevel() [all …]
|
D | MapMakerInternalMap.java | 260 createSegment(segmentSize, MapMaker.UNSET_INT); in MapMakerInternalMap() 266 return maximumSize != MapMaker.UNSET_INT; in evictsBySize() 3959 if (maximumSize != MapMaker.UNSET_INT) {
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapMakerInternalMapTest.java | 86 assertEquals(MapMaker.UNSET_INT, map.maximumSize); in testDefaults()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | LocalCacheTest.java | 162 assertEquals(CacheBuilder.UNSET_INT, map.maxWeight); in testDefaults()
|