D | version_set.cc | 107 static bool AfterFile(const Comparator* ucmp, const Slice* user_key, in AfterFile() argument 111 ucmp->Compare(*user_key, f->largest.user_key()) > 0); in AfterFile() 114 static bool BeforeFile(const Comparator* ucmp, const Slice* user_key, in BeforeFile() argument 118 ucmp->Compare(*user_key, f->smallest.user_key()) < 0); in BeforeFile() 126 const Comparator* ucmp = icmp.user_comparator(); in SomeFileOverlapsRange() local 131 if (AfterFile(ucmp, smallest_user_key, f) || in SomeFileOverlapsRange() 132 BeforeFile(ucmp, largest_user_key, f)) { in SomeFileOverlapsRange() 155 return !BeforeFile(ucmp, largest_user_key, files[index]); in SomeFileOverlapsRange() 257 const Comparator* ucmp; member 268 if (s->ucmp->Compare(parsed_key.user_key, s->user_key) == 0) { in SaveValue() [all …]
|