Searched refs:kBlockHeaderSize (Results 1 – 6 of 6) sorted by relevance
162 const int kBlockHeaderSize = 8192; // Two pages: almost 64k entries variable163 const int kMaxBlocks = (kBlockHeaderSize - 80) * 8;193 COMPILE_ASSERT(sizeof(BlockFileHeader) == kBlockHeaderSize, bad_header);
219 char header[kBlockHeaderSize]; in TEST_F()220 memset(header, 'a', kBlockHeaderSize); in TEST_F()221 EXPECT_EQ(kBlockHeaderSize, in TEST_F()222 file_util::WriteFile(filename, header, kBlockHeaderSize)); in TEST_F()
292 kBlockHeaderSize; in DeleteBlock()361 kBlockHeaderSize; in IsValid()399 if (!file->Init(name, kBlockHeaderSize)) { in OpenBlockFile()405 if (file_len < static_cast<size_t>(kBlockHeaderSize)) { in OpenBlockFile()423 header->max_entries * header->entry_size + kBlockHeaderSize) { in OpenBlockFile()
78 kBlockHeaderSize; in LoadStats()101 kBlockHeaderSize; in StoreStats()
430 offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; in CreateEntry()760 offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; in GetKey()978 kBlockHeaderSize; in InternalReadData()1066 kBlockHeaderSize; in InternalWriteData()1299 offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; in CopyToLocalBuffer()1392 offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; in Flush()
114 disk_cache::kBlockHeaderSize; in ReadData()