Searched refs:kBufferSize (Results 1 – 7 of 7) sorted by relevance
41 static const size_t kBufferSize = 8 * KB;46 uint8_t buffer_[kBufferSize];
33 if (byte_count > kBufferSize) { in WriteFully()39 if (used_ + byte_count > kBufferSize) { in WriteFully()
34 template <size_t kBufferSize>229 template <size_t kBufferSize> friend class BufferedRootVisitor;235 template <size_t kBufferSize>270 if (UNLIKELY(buffer_pos_ >= kBufferSize)) { in VisitRoot()284 mirror::CompressedReference<mirror::Object>* roots_[kBufferSize];
6321 constexpr size_t kBufferSize = 8; // Avoid malloc/free for a few translations. in LinkMethods() local6322 std::pair<size_t, ClassLinker::MethodTranslation> buffer[kBufferSize]; in LinkMethods()6323 HashMap<size_t, ClassLinker::MethodTranslation> default_translations(buffer, kBufferSize); in LinkMethods()7200 constexpr size_t kBufferSize = 32; // 256 bytes on 64-bit architectures. in FillIfTable() local7201 mirror::Class* buffer[kBufferSize]; in FillIfTable()7202 HashSet<mirror::Class*> classes_in_iftable(buffer, kBufferSize); in FillIfTable()
68 if (mSize <= kBufferSize) { \80 static constexpr jsize kBufferSize = 1024; \85 PRIMITIVE_TYPE mBuffer[kBufferSize]; \
623 static const size_t kBufferSize = 4096; in Compare() local624 std::unique_ptr<uint8_t[]> buffer1(new uint8_t[kBufferSize]); in Compare()625 std::unique_ptr<uint8_t[]> buffer2(new uint8_t[kBufferSize]); in Compare()628 size_t len = std::min(kBufferSize, static_cast<size_t>(length)); in Compare()
385 static const size_t kBufferSize = 64; in TEST_F() local386 uint32_t buffer[kBufferSize]; in TEST_F()387 HashSet<uint32_t> hash_set(buffer, kBufferSize); in TEST_F()388 size_t max_without_resize = kBufferSize * hash_set.GetMaxLoadFactor(); in TEST_F()