Home
last modified time | relevance | path

Searched refs:key_offset (Results 1 – 11 of 11) sorted by relevance

/rocksdb-6.9/utilities/blob_db/
Dblob_log_writer.cc80 uint64_t expiration, uint64_t* key_offset, in AddRecord() argument
88 Status s = EmitPhysicalRecord(buf, key, val, key_offset, blob_offset); in AddRecord()
93 uint64_t* key_offset, uint64_t* blob_offset) { in AddRecord() argument
100 Status s = EmitPhysicalRecord(buf, key, val, key_offset, blob_offset); in AddRecord()
115 uint64_t* key_offset, uint64_t* blob_offset) { in EmitPhysicalRecord() argument
128 *key_offset = block_offset_ + BlobLogRecord::kHeaderSize; in EmitPhysicalRecord()
129 *blob_offset = *key_offset + key.size(); in EmitPhysicalRecord()
Dblob_log_writer.h51 Status AddRecord(const Slice& key, const Slice& val, uint64_t* key_offset,
55 uint64_t* key_offset, uint64_t* blob_offset);
58 const Slice& val, uint64_t* key_offset,
Dblob_db_impl.cc1284 uint64_t key_offset = 0; in AppendBlob() local
1294 s = writer->EmitPhysicalRecord(headerbuf, key, value, &key_offset, in AppendBlob()
/rocksdb-6.9/utilities/write_batch_with_index/
Dwrite_batch_with_index_internal.h31 key_offset(ko), in WriteBatchIndexEntry()
48 key_offset(0), in WriteBatchIndexEntry()
60 (key_offset == 0 && search_key == nullptr)); in is_min_in_cf()
74 size_t key_offset; // offset of the key in write batch's string buffer. member
Dwrite_batch_with_index_internal.cc120 key1 = Slice(write_batch_->Data().data() + entry1->key_offset, in operator ()()
126 key2 = Slice(write_batch_->Data().data() + entry2->key_offset, in operator ()()
/rocksdb-6.9/table/plain/
Dplain_table_index.cc69 uint32_t key_offset) { in AddKeyPrefix() argument
83 record_list_.AddRecord(prev_key_prefix_hash_, key_offset); in AddKeyPrefix()
Dplain_table_index.h153 void AddKeyPrefix(Slice key_prefix_slice, uint32_t key_offset);
Dplain_table_reader.cc231 uint32_t key_offset = pos; in PopulateIndexRecordList() local
257 index_builder->AddKeyPrefix(GetPrefix(key), key_offset); in PopulateIndexRecordList()
/rocksdb-6.9/table/block_based/
Dblock.h450 key_offset(_key_offset), in CachedPrevEntry()
459 size_t key_offset; member
Dblock.cc185 key_ptr = prev_entries_keys_buff_.data() + current_prev_entry.key_offset; in Prev()
/rocksdb-6.9/tools/
Ddb_bench_tool.cc5394 int64_t key_offset = 0, key_seed; in DistGetKeyID() local
5396 key_offset = ini_rand % keyrange_size_; in DistGetKeyID()
5401 key_offset = static_cast<int64_t>(rand_key.Next()) % keyrange_size_; in DistGetKeyID()
5403 return keyrange_size_ * keyrange_id + key_offset; in DistGetKeyID()