Searched refs:kMaxBlockSize (Results 1 – 11 of 11) sorted by relevance
41 buffer_.reserve(kMaxBlockSize); in UserBuffer()45 backend_->BufferDeleted(capacity() - kMaxBlockSize); in ~UserBuffer()100 if (!Size() && offset > kMaxBlockSize) in PreWrite()124 if (!Size() && offset > kMaxBlockSize) in Write()202 backend_->BufferDeleted(capacity() - kMaxBlockSize); in Reset()206 buffer_.reserve(kMaxBlockSize); in Reset()224 int to_add = std::max(required - current_size, kMaxBlockSize * 4); in GrowBuffer()357 ((stored->key_len < kMaxBlockSize && key_addr.is_separate_file()) || in SanityCheck()358 (stored->key_len >= kMaxBlockSize && key_addr.is_block_file()))) in SanityCheck()390 if (data_size <= kMaxBlockSize && data_addr.is_separate_file()) in DataSanityCheck()[all …]
95 buffer_.reserve(kMaxBlockSize); in UserBuffer()99 backend_->BufferDeleted(capacity() - kMaxBlockSize); in ~UserBuffer()154 if (!Size() && offset > kMaxBlockSize) in PreWrite()178 if (!Size() && offset > kMaxBlockSize) in Write()256 backend_->BufferDeleted(capacity() - kMaxBlockSize); in Reset()260 buffer_.reserve(kMaxBlockSize); in Reset()278 int to_add = std::max(required - current_size, kMaxBlockSize * 4); in GrowBuffer()606 ((stored->key_len <= kMaxBlockSize && key_addr.is_separate_file()) || in SanityCheck()607 (stored->key_len > kMaxBlockSize && key_addr.is_block_file()))) in SanityCheck()639 if (data_size <= kMaxBlockSize && data_addr.is_separate_file()) in DataSanityCheck()[all …]
24 const int kMaxBlockSize = 4096 * 4; variable
96 buffer_.reserve(kMaxBlockSize); in UserBuffer()100 backend_->BufferDeleted(capacity() - kMaxBlockSize); in ~UserBuffer()155 if (!Size() && offset > kMaxBlockSize) in PreWrite()179 if (!Size() && offset > kMaxBlockSize) in Write()257 backend_->BufferDeleted(capacity() - kMaxBlockSize); in Reset()261 buffer_.reserve(kMaxBlockSize); in Reset()279 int to_add = std::max(required - current_size, kMaxBlockSize * 4); in GrowBuffer()603 ((stored->key_len < kMaxBlockSize && key_addr.is_separate_file()) || in SanityCheck()604 (stored->key_len >= kMaxBlockSize && key_addr.is_block_file()))) in SanityCheck()636 if (data_size <= kMaxBlockSize && data_addr.is_separate_file()) in DataSanityCheck()[all …]
27 const int kMaxBlockSize = 4096 * 4; variable
661 const int kMaxBlockSize = 4096; in FixBlockFileHeader() local664 header->entry_size > kMaxBlockSize || header->num_entries < 0) in FixBlockFileHeader()
172 UInt32 kMaxBlockSize = (1 << 20); in Read() local173 if (size > kMaxBlockSize) in Read()174 size = kMaxBlockSize; in Read()
1399 static const int kMaxBlockSize = Page::kMaxNonCodeHeapObjectSize; variable
1973 ASSERT(size_in_bytes <= kMaxBlockSize); in Allocate()
1633 static const int kMaxBlockSize = Page::kMaxNonCodeHeapObjectSize; variable
2370 ASSERT(size_in_bytes <= kMaxBlockSize); in Allocate()