Home
last modified time | relevance | path

Searched refs:DEFAULT_INITIAL_CAPACITY (Results 1 – 25 of 25) sorted by relevance

/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DLongArray.java25 private static final int DEFAULT_INITIAL_CAPACITY = 32; field in LongArray
31 this(DEFAULT_INITIAL_CAPACITY); in LongArray()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DIntArrayQueue.java29 private static int DEFAULT_INITIAL_CAPACITY = 16; field in IntArrayQueue
41 data = new int[DEFAULT_INITIAL_CAPACITY]; in IntArrayQueue()
/external/rust/crates/weak-table/src/
Dsize_policy.rs2 pub const DEFAULT_INITIAL_CAPACITY: usize = 8; constant
Dweak_value_hash_map.rs168 Self::with_capacity(DEFAULT_INITIAL_CAPACITY) in new()
181 Self::with_capacity_and_hasher(DEFAULT_INITIAL_CAPACITY, hash_builder) in with_hasher()
268 } else if load_factor < SHRINK_LOAD_FACTOR && capacity > DEFAULT_INITIAL_CAPACITY { in maybe_adjust_size()
Dweak_weak_hash_map.rs169 Self::with_capacity(DEFAULT_INITIAL_CAPACITY) in new()
181 Self::with_capacity_and_hasher(DEFAULT_INITIAL_CAPACITY, hash_builder) in with_hasher()
268 } else if load_factor < SHRINK_LOAD_FACTOR && capacity > DEFAULT_INITIAL_CAPACITY { in maybe_adjust_size()
Dweak_key_hash_map.rs207 Self::with_capacity(DEFAULT_INITIAL_CAPACITY) in new()
220 Self::with_capacity_and_hasher(DEFAULT_INITIAL_CAPACITY, hash_builder) in with_hasher()
307 } else if load_factor < SHRINK_LOAD_FACTOR && capacity > DEFAULT_INITIAL_CAPACITY { in maybe_adjust_size()
/external/guava/android/guava/src/com/google/common/collect/
DMapMaker.java90 private static final int DEFAULT_INITIAL_CAPACITY = 16; field in MapMaker
154 return (initialCapacity == UNSET_INT) ? DEFAULT_INITIAL_CAPACITY : initialCapacity; in getInitialCapacity()
DImmutableSortedMultiset.java432 this.elements = (E[]) new Object[ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY]; in Builder()
433 this.counts = new int[ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY]; in Builder()
DImmutableCollection.java348 static final int DEFAULT_INITIAL_CAPACITY = 4; field in ImmutableCollection.Builder
DImmutableMap.java224 this(ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY); in Builder()
402 : ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY; in copyOf()
DImmutableBiMap.java305 : ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY; in copyOf()
DImmutableSet.java431 super(DEFAULT_INITIAL_CAPACITY);
DImmutableList.java718 this(DEFAULT_INITIAL_CAPACITY); in Builder()
DImmutableSortedMap.java411 this(comparator, ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY); in Builder()
/external/guava/guava/src/com/google/common/collect/
DMapMaker.java90 private static final int DEFAULT_INITIAL_CAPACITY = 16; field in MapMaker
154 return (initialCapacity == UNSET_INT) ? DEFAULT_INITIAL_CAPACITY : initialCapacity; in getInitialCapacity()
DImmutableCollection.java378 static final int DEFAULT_INITIAL_CAPACITY = 4; field in ImmutableCollection.Builder
DImmutableSet.java168 ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY, in constructUnknownDuplication()
480 this(DEFAULT_INITIAL_CAPACITY);
DImmutableSortedSet.java439 this.elements = (E[]) new Object[ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY]; in Builder()
DImmutableList.java758 this(DEFAULT_INITIAL_CAPACITY);
DImmutableMap.java260 this(ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY); in Builder()
/external/guava/android/guava/src/com/google/common/cache/
DCacheBuilder.java156 private static final int DEFAULT_INITIAL_CAPACITY = 16; field in CacheBuilder
364 return (initialCapacity == UNSET_INT) ? DEFAULT_INITIAL_CAPACITY : initialCapacity; in getInitialCapacity()
/external/guava/guava/src/com/google/common/cache/
DCacheBuilder.java155 private static final int DEFAULT_INITIAL_CAPACITY = 16; field in CacheBuilder
363 return (initialCapacity == UNSET_INT) ? DEFAULT_INITIAL_CAPACITY : initialCapacity; in getInitialCapacity()
/external/antlr/runtime/ObjC/Framework/
DHashMap.m438 NSInteger const DEFAULT_INITIAL_CAPACITY = 16;
506 threshold = (NSInteger)(DEFAULT_INITIAL_CAPACITY * DEFAULT_LOAD_FACTOR);
542 threshold = (NSInteger)(DEFAULT_INITIAL_CAPACITY * DEFAULT_LOAD_FACTOR);
656 …lf init:(NSInteger)max((([m count] / DEFAULT_LOAD_FACTOR) + 1), DEFAULT_INITIAL_CAPACITY) loadFact…
659 …NSInteger initialCapacity = max((([m count] / DEFAULT_LOAD_FACTOR) + 1), DEFAULT_INITIAL_CAPACITY);
DLinkedHashMap.m6 extern NSInteger const DEFAULT_INITIAL_CAPACITY;
/external/icu/icu4c/source/i18n/
Dmsgfmt.cpp149 static const int32_t DEFAULT_INITIAL_CAPACITY = 10; variable
353 if (capacity < DEFAULT_INITIAL_CAPACITY) { in allocateArgTypes()
354 capacity = DEFAULT_INITIAL_CAPACITY; in allocateArgTypes()