Home
last modified time | relevance | path

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

/leveldb-1.20/db/
H A Dversion_set.cc546 const Comparator* user_cmp = vset_->icmp_.user_comparator(); in GetOverlappingInputs() local
551 if (begin != NULL && user_cmp->Compare(file_limit, user_begin) < 0) { in GetOverlappingInputs()
553 } else if (end != NULL && user_cmp->Compare(file_start, user_end) > 0) { in GetOverlappingInputs()
560 if (begin != NULL && user_cmp->Compare(file_start, user_begin) < 0) { in GetOverlappingInputs()
564 } else if (end != NULL && user_cmp->Compare(file_limit, user_end) > 0) { in GetOverlappingInputs()
1486 const Comparator* user_cmp = input_version_->vset_->icmp_.user_comparator(); in IsBaseLevelForKey() local
1491 if (user_cmp->Compare(user_key, f->largest.user_key()) <= 0) { in IsBaseLevelForKey()
1493 if (user_cmp->Compare(user_key, f->smallest.user_key()) >= 0) { in IsBaseLevelForKey()