/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
MapMaker.java | 43 private final int maximumSize; 45 ExpiringComputingMap(long expirationMillis, int maximumSize, int initialCapacity, 47 this(expirationMillis, null, maximumSize, initialCapacity, loadFactor); 51 int maximumSize, int initialCapacity, float loadFactor) { 52 super(initialCapacity, loadFactor, (maximumSize != -1)); 55 this.maximumSize = maximumSize; 69 return (maximumSize == -1) ? false : size() > maximumSize; 164 private int maximumSize = -1 [all...] |
GenericMapMaker.java | 50 * See {@link MapMaker#maximumSize}. 52 abstract GenericMapMaker<K0, V0> maximumSize(int maximumSize);
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
BinaryHprof.java | 89 public final int maximumSize; 96 this.maximumSize = size; 100 this.maximumSize = 0; 126 if (maximumSize == 0) { 129 if (actual > maximumSize) { 130 return "expected a maximum record size of " + maximumSize + " for " + this
|
BinaryHprofWriter.java | 93 BinaryHprof.Tag.CONTROL_SETTINGS.maximumSize); 116 BinaryHprof.Tag.START_THREAD.maximumSize); 128 BinaryHprof.Tag.END_THREAD.maximumSize); 220 BinaryHprof.Tag.LOAD_CLASS.maximumSize); 243 BinaryHprof.Tag.STACK_FRAME.maximumSize);
|
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
CacheBuilder.java | 53 private int maximumSize = -1; 95 public CacheBuilder<K, V> maximumSize(int maximumSize) { 96 if (this.maximumSize != -1) { 97 throw new IllegalStateException("maximum size of " + maximumSize + " was already set"); 99 if (maximumSize < 0) { 100 throw new IllegalArgumentException("invalid maximum size: " + maximumSize); 102 this.maximumSize = maximumSize; 210 private final int maximumSize; [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
AbstractSessionContext.java | 41 volatile int maximumSize; 54 boolean remove = maximumSize > 0 && size() > maximumSize; 66 * @param maximumSize of cache 69 AbstractSessionContext(int maximumSize, int timeout) { 70 this.maximumSize = maximumSize; 115 return maximumSize; 123 * Makes sure cache size is < maximumSize. 128 if (size > maximumSize) { [all...] |
/external/guava/guava/src/com/google/common/collect/ |
MinMaxPriorityQueue.java | 130 * MinMaxPriorityQueue} instances that are limited to {@code maximumSize} 135 public static Builder<Comparable> maximumSize(int maximumSize) { 137 .maximumSize(maximumSize); 145 * MinMaxPriorityQueue#maximumSize(int)}. 163 private int maximumSize = Integer.MAX_VALUE; 181 * that are limited to {@code maximumSize} elements. Each time a queue grows 185 public Builder<B> maximumSize(int maximumSize) { [all...] |
GenericMapMaker.java | 76 * See {@link MapMaker#maximumSize}. 78 abstract GenericMapMaker<K0, V0> maximumSize(int maximumSize);
|
MapMaker.java | 64 * .maximumSize(10000) 125 int maximumSize = UNSET_INT; 232 * {@link com.google.common.cache.CacheBuilder}, with {@link #maximumSize} being 233 * replaced by {@link com.google.common.cache.CacheBuilder#maximumSize}. 237 MapMaker maximumSize(int size) { 238 checkState(this.maximumSize == UNSET_INT, "maximum size was already set to %s", 239 this.maximumSize); 241 this.maximumSize = size; 243 if (maximumSize == 0) { 390 * #maximumSize maximum size} instead of using soft references. You should only use this method i [all...] |
ComputingConcurrentHashMap.java | 414 valueEquivalence, expireAfterWriteNanos, expireAfterAccessNanos, maximumSize, 424 long expireAfterWriteNanos, long expireAfterAccessNanos, int maximumSize, 428 expireAfterAccessNanos, maximumSize, concurrencyLevel, removalListener, delegate);
|
/dalvik/vm/alloc/ |
HeapSource.cpp | 69 size_t maximumSize; 114 size_t maximumSize; 372 static bool addInitialHeap(HeapSource *hs, mspace msp, size_t maximumSize) 380 hs->heaps[0].maximumSize = maximumSize; 383 hs->heaps[0].limit = hs->heapBase + maximumSize; 445 if (overhead + hs->minFree >= hs->maximumSize) { 448 overhead, hs->maximumSize); 452 heap.maximumSize = hs->growthLimit - overhead; 455 heap.limit = heap.base + heap.maximumSize; [all...] |
HeapSource.h | 42 size_t maximumSize,
|
Copying.cpp | 225 size_t maximumSize; 229 * equivalent to the maximumSize. 451 heapSource->maximumSize = alignUp(absoluteMaxSize, BLOCK_SIZE); 453 heapSource->currentSize = heapSource->maximumSize; 456 heapSource->blockBase = virtualAlloc(heapSource->maximumSize); 459 heapSource->limitBlock = ((uintptr_t) heapSource->blockBase + heapSource->maximumSize) >> BLOCK_SHIFT; 464 assert(heapSource->totalBlocks = heapSource->maximumSize / BLOCK_SIZE); 483 heapSource->maximumSize, 520 (*gcHeap)->heapSource->maximumSize); 537 value = heapSource->maximumSize; [all...] |
/external/guava/guava/src/com/google/common/cache/ |
CacheBuilder.java | 65 * .maximumSize(10000) 93 * {@linkplain #maximumSize(long) maximumSize}, {@linkplain #maximumWeight(long) maximumWeight}, 98 * <p>If {@linkplain #maximumSize(long) maximumSize} or 205 long maximumSize = UNSET_INT; 342 public CacheBuilder<K, V> maximumSize(long size) { 343 checkState(this.maximumSize == UNSET_INT, "maximum size was already set to %s", 344 this.maximumSize); 349 this.maximumSize = size [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheEvictionTest.java | 35 * Tests relating to cache eviction: what does and doesn't count toward maximumSize, what happens 36 * when maximumSize is reached, etc. 47 .maximumSize(i) 68 .maximumSize(MAX_SIZE) 99 .maximumSize(MAX_SIZE) 137 CacheBuilder.newBuilder().maximumSize(MAX_SIZE).build(loader); 150 .maximumSize(MAX_SIZE) 168 .maximumSize(10) 266 .maximumSize(10)
|
NullCacheTest.java | 45 .maximumSize(0) 95 .maximumSize(0) 111 .maximumSize(0)
|
CacheBuilderFactory.java | 150 Integer concurrencyLevel, Integer initialCapacity, Integer maximumSize, 161 if (maximumSize != null) { 162 builder.maximumSize(maximumSize);
|
CacheBuilderTest.java | 153 builder.maximumSize(-1); 159 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>().maximumSize(16); 162 builder.maximumSize(16); 169 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>().maximumSize(16); 194 builder.maximumSize(16); 224 .maximumSize(1); 229 .maximumSize(1) 377 .maximumSize(0) 568 .maximumSize(5000)
|
LocalLoadingCacheTest.java | 85 .maximumSize(2); 184 .maximumSize(2) 267 .maximumSize(SMALL_MAX_SIZE);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/sql/ |
SQLiteDatabase.h | 92 int64_t maximumSize();
|
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/ |
DatabaseBackendBase.h | 71 unsigned long long maximumSize() const;
|
SQLTransactionBackend.cpp | 573 m_database->sqliteDatabase().setMaximumSize(m_database->maximumSize()); 646 m_database->sqliteDatabase().setMaximumSize(m_database->maximumSize()); [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
MinMaxPriorityQueueTest.java | 89 .maximumSize(42) 92 assertEquals(42, queue.maximumSize); 99 .maximumSize(42) 102 assertEquals(42, queue.maximumSize); 109 .maximumSize(42) 112 assertEquals(42, queue.maximumSize); 150 .maximumSize(42) 154 assertEquals(42, queue.maximumSize); 164 .maximumSize(42) 168 assertEquals(42, queue.maximumSize); [all...] |
MapMakerInternalMapTest.java | 86 assertEquals(MapMaker.UNSET_INT, map.maximumSize); 207 // vary maximumSize wrt concurrencyLevel 221 // vary initial capacity wrt maximumSize 235 .maximumSize(maxSize)); 407 .maximumSize(2) 757 makeMap(createMapMaker().concurrencyLevel(1).maximumSize(maxSize)); 902 .maximumSize(SMALL_MAX_SIZE) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/track/ |
TextTrackCue.cpp | 664 int maximumSize = m_textPosition; 669 maximumSize = 100 - m_textPosition; 674 maximumSize = m_textPosition; 676 maximumSize = m_textPosition <= 50 ? m_textPosition : (100 - m_textPosition); 677 maximumSize = maximumSize * 2; 682 m_displaySize = std::min(m_cueSize, maximumSize); [all...] |