/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
MapMaker.java | 43 private final int maximumSize; 46 long expirationMillis, int maximumSize, int initialCapacity) { 47 this(expirationMillis, null, maximumSize, initialCapacity); 51 int maximumSize, int initialCapacity) { 52 super(initialCapacity, /* ignored loadFactor */ 0.75f, (maximumSize != -1)); 55 this.maximumSize = maximumSize; 69 return (maximumSize == -1) ? false : size() > maximumSize; 163 private int maximumSize = -1 [all...] |
GenericMapMaker.java | 58 * See {@link MapMaker#maximumSize}. 60 abstract GenericMapMaker<K0, V0> maximumSize(int maximumSize);
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheBuilderSpecTest.java | 40 assertNull(spec.maximumSize); 53 assertNull(spec.maximumSize); 74 CacheBuilderSpec spec = parse("maximumSize=9000"); 76 assertEquals(9000, spec.maximumSize.longValue()); 83 CacheBuilder.newBuilder().maximumSize(9000), CacheBuilder.from(spec)); 88 parse("maximumSize=10, maximumSize=20"); 119 parse("maximumSize=10, maximumWeight=20"); 129 assertNull(spec.maximumSize); 152 assertNull(spec.maximumSize); [all...] |
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) 152 CacheBuilder.newBuilder().maximumSize(MAX_SIZE).build(loader); 165 .maximumSize(MAX_SIZE) 183 .maximumSize(10) 281 .maximumSize(10)
|
NullCacheTest.java | 45 .maximumSize(0) 95 .maximumSize(0) 111 .maximumSize(0)
|
CacheBuilderFactory.java | 151 Integer concurrencyLevel, Integer initialCapacity, Integer maximumSize, 162 if (maximumSize != null) { 163 builder.maximumSize(maximumSize);
|
/external/conscrypt/src/main/java/org/conscrypt/ |
AbstractSessionContext.java | 47 volatile int maximumSize; 60 boolean remove = maximumSize > 0 && size() > maximumSize; 72 * @param maximumSize of cache 74 AbstractSessionContext(int maximumSize) { 75 this.maximumSize = maximumSize; 125 return maximumSize; 134 * Makes sure cache size is < maximumSize. 139 if (size > maximumSize) { [all...] |
/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/test-super/com/google/common/collect/super/com/google/common/collect/ |
MapMakerTest.java | 77 MapMaker maker = new MapMaker().maximumSize(16); 80 maker.maximumSize(16); 94 /** Tests of the built map with maximumSize. */ 98 new MapMaker().maximumSize(0).makeMap(); 108 new MapMaker().maximumSize(mapSize).makeMap();
|
/external/guava/guava/src/com/google/common/cache/ |
CacheBuilderSpec.java | 46 * <li>{@code maximumSize=[long]}: sets {@link CacheBuilder#maximumSize}. 69 * <li>{@code maximumSize} and {@code maximumWeight} 99 .put("maximumSize", new MaximumSizeParser()) 113 @VisibleForTesting Long maximumSize; 164 return CacheBuilderSpec.parse("maximumSize=0"); 175 if (maximumSize != null) { 176 builder.maximumSize(maximumSize); 244 maximumSize, [all...] |
CacheBuilder.java | 67 * .maximumSize(10000) 80 * String spec = "maximumSize=10000,expireAfterWrite=10m"; 106 * {@linkplain #maximumSize(long) maximumSize}, {@linkplain #maximumWeight(long) maximumWeight}, 111 * <p>If {@linkplain #maximumSize(long) maximumSize} or 221 long maximumSize = UNSET_INT; 400 public CacheBuilder<K, V> maximumSize(long size) { 401 checkState(this.maximumSize == UNSET_INT, "maximum size was already set to %s", 402 this.maximumSize); [all...] |
/external/guava/guava-tests/benchmark/com/google/common/cache/ |
LoadingCacheSingleThreadBenchmark.java | 34 @Param({"1000", "2000"}) int maximumSize; 58 .maximumSize(maximumSize) 70 while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
|
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
MapMakerSingleThreadBenchmark.java | 37 @Param({"1000", "2000"}) int maximumSize; 61 .maximumSize(maximumSize) 73 while (cache.get(nextRandomKey()) < maximumSize) {}
|
/external/dng_sdk/source/ |
dng_host.cpp | 113 if (MaximumSize ()) 115 SetMinimumSize (Min_uint32 (MinimumSize (), MaximumSize ())); 116 SetPreferredSize (Min_uint32 (PreferredSize (), MaximumSize ())); 134 if (MaximumSize ()) 136 SetPreferredSize (MaximumSize ());
|
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
CacheBuilder.java | 61 * .maximumSize(10000) 74 * String spec = "maximumSize=10000,expireAfterWrite=10m"; 100 * {@linkplain #maximumSize(long) maximumSize}, {@linkplain #maximumWeight(long) maximumWeight}, 105 * <p>If {@linkplain #maximumSize(long) maximumSize} or 215 long maximumSize = UNSET_INT; 332 public CacheBuilder<K, V> maximumSize(long size) { 333 checkState(this.maximumSize == UNSET_INT, "maximum size was already set to %s", 334 this.maximumSize); [all...] |
LocalCache.java | 72 final long maximumSize = builder.maximumSize; 76 (builder.maximumSize != UNSET_INT), 77 builder.maximumSize, 471 private final long maximumSize; 477 long maximumSize, 481 this.maximumSize = maximumSize; 488 boolean removal = (maximumSize == UNSET_INT) ? false : (size() > maximumSize); [all...] |
/external/opencv3/modules/cudacodec/src/ |
frame_queue.cpp | 85 if (framesInQueue_ < MaximumSize) 87 int writePosition = (readPosition_ + framesInQueue_) % MaximumSize; 110 readPosition_ = (entry + 1) % MaximumSize;
|
frame_queue.hpp | 58 static const int MaximumSize = 20; // MAX_FRM_CNT; 88 volatile int isFrameInUse_[MaximumSize]; 93 CUVIDPARSERDISPINFO displayQueue_[MaximumSize];
|
/external/guava/guava/src/com/google/common/collect/ |
MinMaxPriorityQueue.java | 131 * MinMaxPriorityQueue} instances that are limited to {@code maximumSize} 136 public static Builder<Comparable> maximumSize(int maximumSize) { 138 .maximumSize(maximumSize); 146 * MinMaxPriorityQueue#maximumSize(int)}. 164 private int maximumSize = Integer.MAX_VALUE; 182 * that are limited to {@code maximumSize} elements. Each time a queue grows 186 public Builder<B> maximumSize(int maximumSize) { [all...] |
GenericMapMaker.java | 78 * See {@link MapMaker#maximumSize}. 80 abstract GenericMapMaker<K0, V0> maximumSize(int maximumSize);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
clfsmgmt.h | 48 } MaximumSize;
|
/external/guava/guava-gwt/test-super/com/google/common/cache/super/com/google/common/cache/ |
CacheBuilderTest.java | 96 builder.maximumSize(-1); 102 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>().maximumSize(16); 105 builder.maximumSize(16);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
MapMakerTest.java | 235 MapMaker maker = new MapMaker().maximumSize(16); 238 maker.maximumSize(16); 252 /** Tests of the built map with maximumSize. */ 256 new MapMaker().maximumSize(0).makeMap(); 266 new MapMaker().maximumSize(mapSize).makeMap();
|
MinMaxPriorityQueueTest.java | 90 .maximumSize(42) 93 assertEquals(42, queue.maximumSize); 100 .maximumSize(42) 103 assertEquals(42, queue.maximumSize); 110 .maximumSize(42) 113 assertEquals(42, queue.maximumSize); 151 .maximumSize(42) 155 assertEquals(42, queue.maximumSize); 165 .maximumSize(42) 169 assertEquals(42, queue.maximumSize); [all...] |