Searched refs:map_offset (Results 1 – 4 of 4) sorted by relevance
| /rocksdb-6.9/table/block_based/ |
| D | data_block_hash_index_test.cc | 24 uint16_t map_offset, const Slice& key, in SearchForOffset() argument 26 uint8_t entry = index.Lookup(data, map_offset, key); in SearchForOffset() 102 uint16_t map_offset; in TEST() local 106 ASSERT_EQ(original_size, map_offset); in TEST() 141 uint16_t map_offset; in TEST() local 145 ASSERT_EQ(original_size, map_offset); in TEST() 150 SearchForOffset(index, s.data(), map_offset, key, restart_point)); in TEST() 178 uint16_t map_offset; in TEST() local 182 ASSERT_EQ(original_size, map_offset); in TEST() 219 uint16_t map_offset; in TEST() local [all …]
|
| D | data_block_hash_index.cc | 76 uint16_t* map_offset) { in Initialize() argument 81 *map_offset = static_cast<uint16_t>(size - sizeof(uint16_t) - in Initialize() 85 uint8_t DataBlockHashIndex::Lookup(const char* data, uint32_t map_offset, in Lookup() argument 89 const char* bucket_table = data + map_offset; in Lookup()
|
| D | block.cc | 284 uint32_t map_offset = restarts_ + num_restarts_ * sizeof(uint32_t); in SeekForGetImpl() local 286 data_block_hash_index_->Lookup(data_, map_offset, target_user_key); in SeekForGetImpl() 898 uint16_t map_offset; in Block() local 904 &map_offset); in Block() 906 restart_offset_ = map_offset - num_restarts_ * sizeof(uint32_t); in Block() 908 if (restart_offset_ > map_offset) { in Block()
|
| D | data_block_hash_index.h | 120 void Initialize(const char* data, uint16_t size, uint16_t* map_offset); 122 uint8_t Lookup(const char* data, uint32_t map_offset, const Slice& key) const;
|