Home
last modified time | relevance | path

Searched refs:INITIAL_CAPACITY (Results 1 – 19 of 19) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DPatternCache.java20 private final static int INITIAL_CAPACITY = 30; field in PatternCache
48 …cache = CacheBuilder.newBuilder().initialCapacity(INITIAL_CAPACITY).maximumSize(MAX_CAPACITY).reco…
50 …cache = CacheBuilder.newBuilder().initialCapacity(INITIAL_CAPACITY).maximumSize(MAX_CAPACITY).buil…
/external/icu/icu4c/source/i18n/
Dcollationiterator.h57 static const int32_t INITIAL_CAPACITY = CEBUFFER_INITIAL_CAPACITY;
63 if(length < INITIAL_CAPACITY || ensureAppendCapacity(1, errorCode)) { in append()
77 if(length < INITIAL_CAPACITY || ensureAppendCapacity(1, errorCode)) { in incLength()
98 MaybeStackArray<int64_t, INITIAL_CAPACITY> buffer;
/external/icu/libicu/cts_headers/
Dcollationiterator.h57 static const int32_t INITIAL_CAPACITY = CEBUFFER_INITIAL_CAPACITY;
63 if(length < INITIAL_CAPACITY || ensureAppendCapacity(1, errorCode)) { in append()
77 if(length < INITIAL_CAPACITY || ensureAppendCapacity(1, errorCode)) { in incLength()
98 MaybeStackArray<int64_t, INITIAL_CAPACITY> buffer;
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DDirectory.java178 private static final int INITIAL_CAPACITY = 16; field in Directory
179 private static final int INITIAL_RESIZE_THRESHOLD = (int) (INITIAL_CAPACITY * 0.75);
181 private DirectoryEntry[] table = new DirectoryEntry[INITIAL_CAPACITY];
/external/rust/crates/tokio/src/task/
Dlocal.rs315 const INITIAL_CAPACITY: usize = 64; constant
331 queue: VecDeque::with_capacity(INITIAL_CAPACITY), in new()
334 queue: Mutex::new(VecDeque::with_capacity(INITIAL_CAPACITY)), in new()
/external/rust/crates/tokio/src/runtime/
Dbasic_scheduler.rs107 const INITIAL_CAPACITY: usize = 64; constant
127 queue: Mutex::new(VecDeque::with_capacity(INITIAL_CAPACITY)), in new()
136 queue: VecDeque::with_capacity(INITIAL_CAPACITY), in new()
/external/icu/icu4c/source/common/unicode/
Duniset.h287 static constexpr int32_t INITIAL_CAPACITY = 25;
292 int32_t capacity = INITIAL_CAPACITY; // capacity of list
320 UChar32 stackList[INITIAL_CAPACITY];
/external/icu/libicu/cts_headers/unicode/
Duniset.h287 static constexpr int32_t INITIAL_CAPACITY = 25;
292 int32_t capacity = INITIAL_CAPACITY; // capacity of list
320 UChar32 stackList[INITIAL_CAPACITY];
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DLockFreeTaskQueue.kt33 private val _cur = atomic(Core<E>(Core.INITIAL_CAPACITY, singleConsumer)) in <lambda>()
272 const val INITIAL_CAPACITY = 8 in isClosed() constant
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DEventLoop.common.kt308 … val newQueue = Queue<Runnable>(Queue.INITIAL_CAPACITY, singleConsumer = true) in enqueueImpl()
349 … val newQueue = Queue<Runnable>(Queue.INITIAL_CAPACITY, singleConsumer = true) in closeQueue()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationIterator.java31 private static final int INITIAL_CAPACITY = 40; field in CollationIterator.CEBuffer
36 if(length >= INITIAL_CAPACITY) { in append()
64 if(length >= INITIAL_CAPACITY) { in incLength()
79 private long[] buffer = new long[INITIAL_CAPACITY];
DCollationKeys.java146 private static final int INITIAL_CAPACITY = 40; field in CollationKeys.SortKeyLevel
148 byte[] buffer = new byte[INITIAL_CAPACITY];
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationIterator.java33 private static final int INITIAL_CAPACITY = 40; field in CollationIterator.CEBuffer
38 if(length >= INITIAL_CAPACITY) { in append()
66 if(length >= INITIAL_CAPACITY) { in incLength()
81 private long[] buffer = new long[INITIAL_CAPACITY];
DCollationKeys.java156 private static final int INITIAL_CAPACITY = 40; field in CollationKeys.SortKeyLevel
158 byte[] buffer = new byte[INITIAL_CAPACITY];
/external/icu/icu4c/source/layoutex/
DRunArrays.cpp41 fCapacity = INITIAL_CAPACITY; in ensureCapacity()
/external/icu/icu4c/source/layoutex/layout/
DRunArrays.h32 #define INITIAL_CAPACITY 16 macro
/external/icu/icu4c/source/common/
Duniset.cpp1440 } else if (len <= INITIAL_CAPACITY) { in compact()
1444 capacity = INITIAL_CAPACITY; in compact()
1639 if (minCapacity < INITIAL_CAPACITY) { in nextCapacity()
1640 return minCapacity + INITIAL_CAPACITY; in nextCapacity()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeSet.java316 private static final int INITIAL_CAPACITY = 25; field in UnicodeSet
368 list = new int[INITIAL_CAPACITY]; in UnicodeSet()
3008 if (minCapacity < INITIAL_CAPACITY) { in nextCapacity()
3009 return minCapacity + INITIAL_CAPACITY; in nextCapacity()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeSet.java314 private static final int INITIAL_CAPACITY = 25; field in UnicodeSet
363 list = new int[INITIAL_CAPACITY]; in UnicodeSet()
2935 if (minCapacity < INITIAL_CAPACITY) { in nextCapacity()
2936 return minCapacity + INITIAL_CAPACITY; in nextCapacity()