HomeSort by relevance Sort by last modified time
    Searched full:maximumsize (Results 1 - 25 of 65) sorted by null

1 2 3

  /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/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
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...]
  /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...]
  /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)
  /external/webkit/Source/WebCore/storage/
IDBFactoryBackendImpl.cpp 73 void IDBFactoryBackendImpl::open(const String& name, PassRefPtr<IDBCallbacks> callbacks, PassRefPtr<SecurityOrigin> securityOrigin, Frame*, const String& dataDir, int64_t maximumSize, BackingStoreType backingStoreType)
91 backingStore = IDBSQLiteBackingStore::open(securityOrigin.get(), dataDir, maximumSize, fileIdentifier, this);
94 backingStore = IDBLevelDBBackingStore::open(securityOrigin.get(), dataDir, maximumSize, fileIdentifier, this);
  /external/webkit/Source/WebKit/chromium/src/
IDBFactoryBackendProxy.cpp 64 void IDBFactoryBackendProxy::open(const String& name, PassRefPtr<IDBCallbacks> callbacks, PassRefPtr<SecurityOrigin> origin, Frame* frame, const String& dataDir, int64_t maximumSize, BackingStoreType backingStoreType)
67 m_webIDBFactory->open(name, new WebIDBCallbacksImpl(callbacks), origin, webFrame, dataDir, maximumSize, static_cast<WebIDBFactory::BackingStoreType>(backingStoreType));
WebIDBFactoryImpl.cpp 61 void WebIDBFactoryImpl::open(const WebString& name, WebIDBCallbacks* callbacks, const WebSecurityOrigin& origin, WebFrame*, const WebString& dataDir, unsigned long long maximumSize, BackingStoreType backingStoreType)
63 m_idbFactoryBackend->open(name, IDBCallbacksProxy::create(callbacks), origin, 0, dataDir, maximumSize, static_cast<IDBFactoryBackendInterface::BackingStoreType>(backingStoreType));
WebIDBFactoryImpl.h 47 virtual void open(const WebString& name, WebIDBCallbacks*, const WebSecurityOrigin&, WebFrame*, const WebString& dataDir, unsigned long long maximumSize, BackingStoreType);
  /external/webkit/Source/WebKit/mac/WebCoreSupport/
WebApplicationCache.mm 40 + (long long)maximumSize
42 return cacheStorage().maximumSize();
WebApplicationCache.h 32 + (long long)maximumSize;
  /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...]
  /dalvik/vm/alloc/
HeapSource.cpp 67 size_t maximumSize;
112 size_t maximumSize;
362 static bool addInitialHeap(HeapSource *hs, mspace msp, size_t maximumSize)
370 hs->heaps[0].maximumSize = maximumSize;
373 hs->heaps[0].limit = hs->heapBase + maximumSize;
405 if (overhead + hs->minFree >= hs->maximumSize) {
408 overhead, hs->maximumSize);
412 heap.maximumSize = hs->growthLimit - overhead;
415 heap.limit = heap.base + heap.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...]
RemovalCause.java 83 * {@link CacheBuilder#maximumSize} or {@link CacheBuilder#maximumWeight}.
  /external/webkit/Source/WebKit/qt/Api/
qwebsettings.h 135 static void setOfflineStorageDefaultQuota(qint64 maximumSize);
140 static void setOfflineWebApplicationCacheQuota(qint64 maximumSize);
  /external/webkit/Source/WebKit/qt/tests/hybridPixmap/
widget.ui 43 <property name="maximumSize">
  /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...]

Completed in 872 milliseconds

1 2 3