/external/guava/guava/src/com/google/common/collect/ |
ComputingConcurrentHashMap.java | 56 Segment<K, V> createSegment(int initialCapacity, int maxSegmentSize) { 57 return new ComputingSegment<K, V>(this, initialCapacity, maxSegmentSize); 72 ComputingSegment(MapMakerInternalMap<K, V> map, int initialCapacity, int maxSegmentSize) { 73 super(map, initialCapacity, maxSegmentSize);
|
ImmutableMap.java | 188 Builder(int initialCapacity) { 189 this.entries = new TerminalEntry[initialCapacity];
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
SparseWeakArray.java | 62 public SparseWeakArray(int initialCapacity) { 63 mKeys = ArrayUtils.newUnpaddedLongArray(initialCapacity);
|
/libcore/ojluni/src/main/java/java/util/ |
WeakHashMap.java | 201 * @param initialCapacity The initial capacity of the <tt>WeakHashMap</tt> 206 public WeakHashMap(int initialCapacity, float loadFactor) { 207 if (initialCapacity < 0) 209 initialCapacity); 210 if (initialCapacity > MAXIMUM_CAPACITY) 211 initialCapacity = MAXIMUM_CAPACITY; 217 while (capacity < initialCapacity) 228 * @param initialCapacity The initial capacity of the <tt>WeakHashMap</tt> 231 public WeakHashMap(int initialCapacity) { 232 this(initialCapacity, DEFAULT_LOAD_FACTOR) [all...] |
HashMap.java | 196 * @param initialCapacity the initial capacity 201 public HashMap(int initialCapacity, float loadFactor) { 202 if (initialCapacity < 0) 204 initialCapacity); 205 if (initialCapacity > MAXIMUM_CAPACITY) { 206 initialCapacity = MAXIMUM_CAPACITY; 207 } else if (initialCapacity < DEFAULT_INITIAL_CAPACITY) { 208 initialCapacity = DEFAULT_INITIAL_CAPACITY; 220 threshold = initialCapacity; 228 * @param initialCapacity the initial capacity [all...] |
ArrayList.java | 142 * @param initialCapacity the initial capacity of the list 146 public ArrayList(int initialCapacity) { 148 if (initialCapacity < 0) 150 initialCapacity); 151 this.elementData = new Object[initialCapacity]; [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
PriorityBlockingQueue.java | 170 * @param initialCapacity the initial capacity for this priority queue 171 * @throws IllegalArgumentException if {@code initialCapacity} is less 174 public PriorityBlockingQueue(int initialCapacity) { 175 this(initialCapacity, null); 183 * @param initialCapacity the initial capacity for this priority queue 187 * @throws IllegalArgumentException if {@code initialCapacity} is less 190 public PriorityBlockingQueue(int initialCapacity, 192 if (initialCapacity < 1) 197 this.queue = new Object[initialCapacity]; [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
CompositeListAdapter.java | 68 public CompositeListAdapter(int initialCapacity) {
|
/libcore/ojluni/src/main/java/java/io/ |
ObjectOutputStream.java | [all...] |
/system/core/libcutils/ |
hashmap.c | 43 Hashmap* hashmapCreate(size_t initialCapacity, 54 size_t minimumBucketCount = initialCapacity * 4 / 3;
|
/external/guava/guava-tests/test/com/google/common/collect/ |
MapMakerInternalMapTest.java | 179 int concurrencyLevel, int initialCapacity, int segmentSize) { 181 createMapMaker().concurrencyLevel(concurrencyLevel).initialCapacity(initialCapacity)); 212 private static void checkMaximumSize(int concurrencyLevel, int initialCapacity, int maxSize) { 215 .initialCapacity(initialCapacity) 714 makeMap(createMapMaker().concurrencyLevel(1).initialCapacity(1)); 837 makeMap(createMapMaker().concurrencyLevel(1).initialCapacity(1)); 875 .initialCapacity(1) [all...] |
/libcore/ojluni/src/main/java/java/util/stream/ |
StreamSpliterators.java | [all...] |
/prebuilts/tools/common/m2/repository/io/netty/netty-buffer/4.1.0.CR3/ |
netty-buffer-4.1.0.CR3.jar | |
/external/guava/guava-tests/test/com/google/common/cache/ |
LocalCacheTest.java | 275 int concurrencyLevel, int initialCapacity, int segmentSize) { 277 createCacheBuilder().concurrencyLevel(concurrencyLevel).initialCapacity(initialCapacity)); 308 private static void checkMaximumSize(int concurrencyLevel, int initialCapacity, long maxSize) { 311 .initialCapacity(initialCapacity) 323 .initialCapacity(initialCapacity) [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
OutputFinisher.java | 66 * @param initialCapacity {@code >= 0;} initial capacity of the instructions 69 public OutputFinisher(int initialCapacity, int regCount) { 71 this.insns = new ArrayList<DalvInsn>(initialCapacity);
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
OutputFinisher.java | 74 * @param initialCapacity {@code >= 0;} initial capacity of the 77 public OutputFinisher(DexOptions dexOptions, int initialCapacity, int regCount) { 80 this.insns = new ArrayList<DalvInsn>(initialCapacity);
|
/external/guice/lib/build/ |
spring-core.jar | |
/external/jmdns/src/javax/jmdns/impl/ |
DNSCache.java | 273 * @param initialCapacity 275 public DNSCache(int initialCapacity) { 277 _entrySet = new HashSet<Map.Entry<String, List<? extends DNSEntry>>>(initialCapacity);
|
/prebuilts/gradle-plugin/com/android/tools/external/com-intellij/uast/145.597.3/ |
uast-145.597.3.jar | |
/prebuilts/tools/common/m2/repository/com/android/tools/external/com-intellij/uast/145.597.3/ |
uast-145.597.3.jar | |
/prebuilts/tools/common/offline-m2/com/android/tools/external/com-intellij/uast/145.597.3/ |
uast-145.597.3.jar | |
/prebuilts/tools/common/m2/repository/com/android/tools/external/com-intellij/psi-subset/143.1821.5/ |
psi-subset-143.1821.5.jar | |
/dalvik/dx/src/com/android/dx/dex/code/ |
OutputFinisher.java | 84 * @param initialCapacity {@code >= 0;} initial capacity of the 89 public OutputFinisher(DexOptions dexOptions, int initialCapacity, int regCount, int paramSize) { 92 this.insns = new ArrayList<DalvInsn>(initialCapacity);
|
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
LocalCache.java | 474 int initialCapacity, 480 super(initialCapacity, loadFactor, accessOrder);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
SortedList.java | 90 * @param initialCapacity The initial capacity to hold items. 92 public SortedList(Class<T> klass, Callback<T> callback, int initialCapacity) { 94 mData = (T[]) Array.newInstance(klass, initialCapacity); [all...] |