/external/rust/crates/tokio-util/src/codec/ |
D | framed_impl.rs | 27 const INITIAL_CAPACITY: usize = 8 * 1024; constant 53 buffer: BytesMut::with_capacity(INITIAL_CAPACITY), in default() 62 buffer: BytesMut::with_capacity(INITIAL_CAPACITY), in default() 63 backpressure_boundary: INITIAL_CAPACITY, in default() 71 if size < INITIAL_CAPACITY { in from() 72 buffer.reserve(INITIAL_CAPACITY - size); in from() 87 if size < INITIAL_CAPACITY { in from() 88 buffer.reserve(INITIAL_CAPACITY - size); in from() 93 backpressure_boundary: INITIAL_CAPACITY, in from()
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
D | PatternCache.java | 20 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/rust/crates/tokio-util/tests/ |
D | framed.rs | 12 const INITIAL_CAPACITY: usize = 8 * 1024; constant 140 assert_eq!(read_buf.capacity(), INITIAL_CAPACITY); in external_buf_grows_to_init() 146 parts.read_buf = BytesMut::from(&vec![0; INITIAL_CAPACITY * 2][..]); in external_buf_does_not_shrink() 151 assert_eq!(read_buf.capacity(), INITIAL_CAPACITY * 2); in external_buf_does_not_shrink()
|
D | codecs.rs | 35 const INITIAL_CAPACITY: usize = 8 * 1024; in bytes_encoder() constant 37 let mut buf = BytesMut::with_capacity(INITIAL_CAPACITY); in bytes_encoder() 39 .encode(Bytes::from_static(&[0; INITIAL_CAPACITY + 1]), &mut buf) in bytes_encoder()
|
/external/icu/libicu/cts_headers/ |
D | collationiterator.h | 57 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/icu4c/source/i18n/ |
D | collationiterator.h | 57 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/cronet/third_party/icu/source/i18n/ |
D | collationiterator.h | 57 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/ |
D | Directory.java | 178 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/icu/libicu/cts_headers/unicode/ |
D | uniset.h | 291 static constexpr int32_t INITIAL_CAPACITY = 25; 296 int32_t capacity = INITIAL_CAPACITY; // capacity of list 324 UChar32 stackList[INITIAL_CAPACITY];
|
/external/icu/icu4c/source/common/unicode/ |
D | uniset.h | 291 static constexpr int32_t INITIAL_CAPACITY = 25; 296 int32_t capacity = INITIAL_CAPACITY; // capacity of list 324 UChar32 stackList[INITIAL_CAPACITY];
|
/external/cronet/third_party/icu/source/common/unicode/ |
D | uniset.h | 291 static constexpr int32_t INITIAL_CAPACITY = 25; 296 int32_t capacity = INITIAL_CAPACITY; // capacity of list 324 UChar32 stackList[INITIAL_CAPACITY];
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/ |
D | LockFreeTaskQueue.kt | 33 private val _cur = atomic(Core<E>(Core.INITIAL_CAPACITY, singleConsumer)) in <lambda>() 272 const val INITIAL_CAPACITY = 8 in isClosed() constant
|
/external/rust/crates/tokio/src/task/ |
D | local.rs | 352 const INITIAL_CAPACITY: usize = 64; constant 389 local_queue: UnsafeCell::new(VecDeque::with_capacity(INITIAL_CAPACITY)), in new() 391 queue: Mutex::new(Some(VecDeque::with_capacity(INITIAL_CAPACITY))), in new()
|
/external/rust/crates/tokio/src/runtime/scheduler/ |
D | current_thread.rs | 99 const INITIAL_CAPACITY: usize = 64; constant 114 queue: Mutex::new(Some(VecDeque::with_capacity(INITIAL_CAPACITY))), in new() 127 tasks: VecDeque::with_capacity(INITIAL_CAPACITY), in new()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationIterator.java | 31 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];
|
D | CollationKeys.java | 146 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/ |
D | CollationIterator.java | 33 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];
|
D | CollationKeys.java | 156 private static final int INITIAL_CAPACITY = 40; field in CollationKeys.SortKeyLevel 158 byte[] buffer = new byte[INITIAL_CAPACITY];
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/ |
D | EventLoop.common.kt | 314 … val newQueue = Queue<Runnable>(Queue.INITIAL_CAPACITY, singleConsumer = true) in enqueueImpl() 355 … val newQueue = Queue<Runnable>(Queue.INITIAL_CAPACITY, singleConsumer = true) in closeQueue()
|
/external/icu/icu4c/source/layoutex/ |
D | RunArrays.cpp | 41 fCapacity = INITIAL_CAPACITY; in ensureCapacity()
|
/external/icu/icu4c/source/layoutex/layout/ |
D | RunArrays.h | 32 #define INITIAL_CAPACITY 16 macro
|
/external/cronet/third_party/icu/source/common/ |
D | uniset.cpp | 1429 } else if (len <= INITIAL_CAPACITY) { in compact() 1433 capacity = INITIAL_CAPACITY; in compact() 1628 if (minCapacity < INITIAL_CAPACITY) { in nextCapacity() 1629 return minCapacity + INITIAL_CAPACITY; in nextCapacity()
|
/external/icu/icu4c/source/common/ |
D | uniset.cpp | 1429 } else if (len <= INITIAL_CAPACITY) { in compact() 1433 capacity = INITIAL_CAPACITY; in compact() 1628 if (minCapacity < INITIAL_CAPACITY) { in nextCapacity() 1629 return minCapacity + INITIAL_CAPACITY; in nextCapacity()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | UnicodeSet.java | 318 private static final int INITIAL_CAPACITY = 25; field in UnicodeSet 367 list = new int[INITIAL_CAPACITY]; in UnicodeSet() 2974 if (minCapacity < INITIAL_CAPACITY) { in nextCapacity() 2975 return minCapacity + INITIAL_CAPACITY; in nextCapacity()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | UnicodeSet.java | 320 private static final int INITIAL_CAPACITY = 25; field in UnicodeSet 372 list = new int[INITIAL_CAPACITY]; in UnicodeSet() 3049 if (minCapacity < INITIAL_CAPACITY) { in nextCapacity() 3050 return minCapacity + INITIAL_CAPACITY; in nextCapacity()
|