Home
last modified time | relevance | path

Searched refs:Equal (Results 1 – 23 of 23) sorted by relevance

/rocksdb-6.9/utilities/persistent_cache/
Dhash_table_test.cc34 struct Equal { struct
48 HashTable<Node, Hash, Equal> map_;
66 struct Equal { struct
80 EvictableHashTable<Node, Hash, Equal> map_;
Dhash_table_evictable.h24 template <class T, class Hash, class Equal>
25 class EvictableHashTable : private HashTable<T*, Hash, Equal> {
27 typedef HashTable<T*, Hash, Equal> hash_table;
32 : HashTable<T*, Hash, Equal>(capacity, load_factor, nlocks),
Dblock_cache_tier_metadata.h111 struct Equal { struct
117 typedef HashTable<BlockInfo*, Hash, Equal> BlockIndexType; argument
Dhash_table.h64 template <class T, class Hash, class Equal>
177 if (Equal()(*it, t)) { in Find()
Dhash_table_bench.cc263 struct Equal { struct in ROCKSDB_NAMESPACE::GranularLockImpl
269 HashTable<Node, Hash, Equal> impl_;
/rocksdb-6.9/util/
Duser_comparator_wrapper.h32 bool Equal(const Slice& a, const Slice& b) const override { in Equal() function
34 return user_comparator_->Equal(a, b); in Equal()
Dcomparator.cc31 bool Equal(const Slice& a, const Slice& b) const override { return a == b; } in Equal() function in ROCKSDB_NAMESPACE::__anondf8571150111::BytewiseComparatorImpl
/rocksdb-6.9/db/compaction/
Dcompaction_iterator.cc285 !cmp_->Equal(ikey_.user_key, current_user_key_)) { in NextFromInput()
408 cmp_->Equal(ikey_.user_key, next_ikey.user_key)) { in NextFromInput()
552 cmp_->Equal(ikey_.user_key, next_ikey.user_key) && in NextFromInput()
560 cmp_->Equal(ikey_.user_key, next_ikey.user_key)) { in NextFromInput()
/rocksdb-6.9/memtable/
Dhash_linklist_rep.cc232 bool Equal(const Slice& a, const Key& b) const { in Equal() function in ROCKSDB_NAMESPACE::__anoncfd1c5190111::HashLinkListRep
236 bool Equal(const Key& a, const Key& b) const { return (compare_(a, b) == 0); } in Equal() function in ROCKSDB_NAMESPACE::__anoncfd1c5190111::HashLinkListRep
679 assert(cur == nullptr || !Equal(x->key, cur->key)); in Insert()
799 return (x != nullptr && Equal(user_key, x->key)); in LinkListContains()
Dskiplist.h143 bool Equal(const Key& a, const Key& b) const { return (compare_(a, b) == 0); } in Equal() function
456 assert(prev_[0]->Next(0) == nullptr || !Equal(key, prev_[0]->Next(0)->key));
489 if (x != nullptr && Equal(key, x->key)) {
Dinlineskiplist.h221 bool Equal(const char* a, const char* b) const { in Equal() function
949 if (x != nullptr && Equal(key, x->Key())) {
Dmemtablerep_bench.cc303 ->Equal(Slice(key_ptr, key_length - 8), in callback()
/rocksdb-6.9/db/
Ddb_iter.cc475 if (!user_comparator_.Equal(ikey.user_key, saved_key_.GetUserKey())) { in MergeValuesNewToOld()
743 !user_comparator_.Equal(ikey.user_key, saved_key_.GetUserKey())) { in FindValueForCurrentKey()
905 if (!user_comparator_.Equal(ikey.user_key, saved_key_.GetUserKey())) { in FindValueForCurrentKeyUsingSeek()
962 if (!user_comparator_.Equal(ikey.user_key, saved_key_.GetUserKey())) { in FindValueForCurrentKeyUsingSeek()
1333 if (Valid() && user_comparator_.Equal(*iterate_upper_bound_, key())) { in SeekToLast()
Dmerge_helper.cc165 assert(user_comparator_->Equal(ikey.user_key, orig_ikey.user_key)); in MergeUntil()
167 } else if (!user_comparator_->Equal(ikey.user_key, orig_ikey.user_key)) { in MergeUntil()
Dmemtable.cc962 if (comparator_.comparator.user_comparator()->Equal( in Update()
1021 if (comparator_.comparator.user_comparator()->Equal( in UpdateCallback()
1092 if (!comparator_.comparator.user_comparator()->Equal( in CountSuccessiveMergeEntries()
Ddb_test_util.cc933 if (!last_options_.comparator->Equal(ikey.user_key, user_key)) { in AllEntriesFor()
/rocksdb-6.9/table/
Dmerging_iterator.cc359 if (child.Valid() && comparator_->Equal(target, child.key())) { in SwitchToForward()
377 if (child.Valid() && comparator_->Equal(target, child.key())) { in SwitchToBackward()
/rocksdb-6.9/table/cuckoo/
Dcuckoo_table_reader.cc157 if (ucomp_->Equal(Slice(unused_key_.data(), user_key.size()), in Get()
163 if (ucomp_->Equal(user_key, Slice(bucket, user_key.size()))) { in Get()
/rocksdb-6.9/include/rocksdb/
Dcomparator.h55 virtual bool Equal(const Slice& a, const Slice& b) const { in Equal() function
/rocksdb-6.9/table/block_based/
Dfull_filter_block.cc320 if (!comparator->Equal(prefix, upper_bound_xform)) { in IsFilterCompatible()
/rocksdb-6.9/utilities/write_batch_with_index/
Dwrite_batch_with_index.cc109 if (comparator_->Equal(delta_iterator_->Entry().key, in Next()
145 if (comparator_->Equal(delta_iterator_->Entry().key, in Prev()
/rocksdb-6.9/utilities/transactions/
Dtransaction_test.cc5573 bool Equal(const Slice& a, const Slice& b) const override { in Equal() function in ROCKSDB_NAMESPACE::ThreeBytewiseComparator
/rocksdb-6.9/
DHISTORY.md866 * Added Equal() method to the Comparator interface that can optionally be overwritten in cases wher…