Searched refs:compare_ (Results 1 – 2 of 2) sorted by relevance
| /leveldb-1.20/db/ |
| H A D | skiplist.h | 101 Comparator const compare_; variable 120 bool Equal(const Key& a, const Key& b) const { return (compare_(a, b) == 0); } in Equal() 258 return (n != NULL) && (compare_(n->key, key) < 0); 289 assert(x == head_ || compare_(x->key, key) < 0); 291 if (next == NULL || compare_(next->key, key) >= 0) { 326 : compare_(cmp),
|
| H A D | c.cc | 63 int (*compare_)( member 74 return (*compare_)(state_, a.data(), a.size(), b.data(), b.size()); in Compare() 464 result->compare_ = compare; in leveldb_comparator_create()
|