Home
last modified time | relevance | path

Searched refs:EncodeKey (Results 1 – 7 of 7) sorted by relevance

/rocksdb-6.9/cache/
Dcache_test.cc27 static std::string EncodeKey(int k) { in EncodeKey() function
122 cache->Erase(EncodeKey(key)); in Erase()
330 Cache::Handle* h1 = cache_->Lookup(EncodeKey(100)); in TEST_P()
335 Cache::Handle* h2 = cache_->Lookup(EncodeKey(100)); in TEST_P()
373 Cache::Handle* h = cache_->Lookup(EncodeKey(100)); in TEST_P()
406 Cache::Handle* h201 = cache_->Lookup(EncodeKey(200)); in TEST_P()
407 Cache::Handle* h202 = cache_->Lookup(EncodeKey(201)); in TEST_P()
408 Cache::Handle* h203 = cache_->Lookup(EncodeKey(202)); in TEST_P()
475 Cache::Handle* h1 = cache_->Lookup(EncodeKey(100)); in TEST_P()
476 Cache::Handle* h2 = cache_->Lookup(EncodeKey(100)); in TEST_P()
[all …]
/rocksdb-6.9/memtable/
Dskiplistrep.cc93 skip_list_.EstimateCount(EncodeKey(&tmp, start_ikey)); in ApproximateNumEntries()
94 uint64_t end_count = skip_list_.EstimateCount(EncodeKey(&tmp, end_ikey)); in ApproximateNumEntries()
133 iter_.Seek(EncodeKey(&tmp_, user_key)); in Seek()
142 iter_.SeekForPrev(EncodeKey(&tmp_, user_key)); in SeekForPrev()
210 memtable_key : EncodeKey(&tmp_, internal_key); in Seek()
234 : EncodeKey(&tmp_, internal_key); in SeekForPrev()
Dhash_linklist_rep.cc296 memtable_key : EncodeKey(&tmp_, internal_key); in Seek()
305 : EncodeKey(&tmp_, internal_key); in SeekForPrev()
Dvectorrep.cc218 (memtable_key != nullptr) ? memtable_key : EncodeKey(&tmp_, user_key); in Seek()
Dhash_skiplist_rep.cc124 memtable_key : EncodeKey(&tmp_, internal_key); in Seek()
/rocksdb-6.9/db/
Dmemtable.h551 extern const char* EncodeKey(std::string* scratch, const Slice& target);
Dmemtable.cc271 const char* EncodeKey(std::string* scratch, const Slice& target) { in EncodeKey() function