Home
last modified time | relevance | path

Searched refs:CAPACITY (Results 1 - 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/utils/
H A DLockFreeQueue.h36 * @tparam CAPACITY - Maximum number of items which can be held in the queue. Must be a power of 2.
43 template <typename T, uint32_t CAPACITY, typename INDEX_TYPE = uint32_t>
62 static_assert(isPowerOfTwo(CAPACITY), "Capacity must be a power of 2");
144 bool isFull() const { return size() == CAPACITY; } in isFull()
146 INDEX_TYPE mask(INDEX_TYPE n) const { return static_cast<INDEX_TYPE>(n & (CAPACITY - 1)); } in mask()
148 T buffer[CAPACITY];
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
H A DBitReader.java25 private static final int CAPACITY = 4096; field in BitReader
28 private static final int BUFFER_SIZE = CAPACITY + SLACK;
31 private static final int WATERLINE = CAPACITY - SAFEGUARD;
37 private static final int HALVES_CAPACITY = CAPACITY / HALF_SIZE;
65 int bytesInBuffer = CAPACITY - readOffset; in doReadMoreInput()
67 Utils.copyBytesWithin(s.byteBuffer, 0, readOffset, CAPACITY); in doReadMoreInput()
69 while (bytesInBuffer < CAPACITY) { in doReadMoreInput()
70 int spaceLeft = CAPACITY - bytesInBuffer; in doReadMoreInput()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/
H A DvktConstexprVectorUtil.hpp40 template<typename _t, size_t CAPACITY>
64 static_assert((sizeof...(_args_t) + 1) <= CAPACITY, "Not enough capacity to store values");
78 inline constexpr size_type max_size() const noexcept { return CAPACITY; }
81 value_type values[CAPACITY];
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/util/
H A DvktConstexprVectorUtil.hpp40 template<typename _t, size_t CAPACITY>
64 static_assert((sizeof...(_args_t) + 1) <= CAPACITY, "Not enough capacity to store values");
78 inline constexpr size_type max_size() const noexcept { return CAPACITY; }
81 value_type values[CAPACITY];
/third_party/icu/icu4c/source/test/cintltst/
H A Dunumberrangeformattertst.c43 #define CAPACITY 30 macro
182 char buffer[CAPACITY]; in TestGetDecimalNumbers()
184 int32_t len = unumrf_resultGetFirstDecimalNumber(uresult, buffer, CAPACITY, &ec); in TestGetDecimalNumbers()
188 len = unumrf_resultGetSecondDecimalNumber(uresult, buffer, CAPACITY, &ec); in TestGetDecimalNumbers()
H A Dunumberformattertst.c57 #define CAPACITY 30 macro
61 UChar buffer[CAPACITY]; in TestSkeletonFormatToString()
75 unumf_resultToString(result, buffer, CAPACITY, &ec); in TestSkeletonFormatToString()
82 unumf_resultToString(result, buffer, CAPACITY, &ec); in TestSkeletonFormatToString()
89 unumf_resultToString(result, buffer, CAPACITY, &ec); in TestSkeletonFormatToString()
289 char buffer[CAPACITY]; in TestToDecimalNumber()
291 int32_t len = unumf_resultToDecimalNumber(uresult, buffer, CAPACITY, &ec); in TestToDecimalNumber()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DMutableCodePointTrie.java670 if (length == CAPACITY) { in findOrAdd()
682 assert(length == CAPACITY); in add()
712 private static final int CAPACITY = 32; field in MutableCodePointTrie.AllSameBlocks
717 private int[] indexes = new int[CAPACITY];
718 private int[] values = new int[CAPACITY];
719 private int[] refCounts = new int[CAPACITY];
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DMutableCodePointTrie.java662 if (length == CAPACITY) { in findOrAdd()
674 assert(length == CAPACITY); in add()
704 private static final int CAPACITY = 32; field in MutableCodePointTrie.AllSameBlocks
709 private int[] indexes = new int[CAPACITY];
710 private int[] values = new int[CAPACITY];
711 private int[] refCounts = new int[CAPACITY];
/third_party/icu/icu4c/source/common/
H A Dumutablecptrie.cpp709 if (length == CAPACITY) { in findOrAdd()
721 U_ASSERT(length == CAPACITY); in add()
752 static constexpr int32_t CAPACITY = 32; member in __anon3198::AllSameBlocks
757 int32_t indexes[CAPACITY];
758 uint32_t values[CAPACITY];
759 int32_t refCounts[CAPACITY];
/third_party/node/deps/icu-small/source/common/
H A Dumutablecptrie.cpp709 if (length == CAPACITY) { in findOrAdd()
721 U_ASSERT(length == CAPACITY); in add()
752 static constexpr int32_t CAPACITY = 32; member in __anon11850::AllSameBlocks
757 int32_t indexes[CAPACITY];
758 uint32_t values[CAPACITY];
759 int32_t refCounts[CAPACITY];
/third_party/skia/third_party/externals/icu/source/common/
H A Dumutablecptrie.cpp709 if (length == CAPACITY) { in findOrAdd()
721 U_ASSERT(length == CAPACITY); in add()
752 static constexpr int32_t CAPACITY = 32; member in __anon21079::AllSameBlocks
757 int32_t indexes[CAPACITY];
758 uint32_t values[CAPACITY];
759 int32_t refCounts[CAPACITY];
/third_party/icu/icu4c/source/i18n/
H A Dnumber_skeletons.cpp1067 static constexpr int32_t CAPACITY = 40; in parseMeasureUnitOption() local
1068 MeasureUnit units[CAPACITY]; in parseMeasureUnitOption()
1070 int32_t numUnits = MeasureUnit::getAvailable(type.data(), units, CAPACITY, localStatus); in parseMeasureUnitOption()
/third_party/node/deps/icu-small/source/i18n/
H A Dnumber_skeletons.cpp1067 static constexpr int32_t CAPACITY = 40; in parseMeasureUnitOption() local
1068 MeasureUnit units[CAPACITY]; in parseMeasureUnitOption()
1070 int32_t numUnits = MeasureUnit::getAvailable(type.data(), units, CAPACITY, localStatus); in parseMeasureUnitOption()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dnumber_skeletons.cpp1061 static constexpr int32_t CAPACITY = 40; in parseMeasureUnitOption() local
1062 MeasureUnit units[CAPACITY]; in parseMeasureUnitOption()
1064 int32_t numUnits = MeasureUnit::getAvailable(type.data(), units, CAPACITY, localStatus); in parseMeasureUnitOption()
/third_party/rust/crates/memchr/bench/data/code/
H A Drust-library.rs29226 if cur_node.len() < node::CAPACITY { in bulk_push()
29236 if parent.len() < node::CAPACITY { in bulk_push()
37964 pub const CAPACITY: usize = 2 * B - 1; global() consts
[all...]

Completed in 95 milliseconds