Lines Matching refs:target
239 void DataBlockIter::Seek(const Slice& target) { in Seek() argument
240 Slice seek_key = target; in Seek()
282 bool DataBlockIter::SeekForGetImpl(const Slice& target) { in SeekForGetImpl() argument
283 Slice target_user_key = ExtractUserKey(target); in SeekForGetImpl()
290 Seek(target); in SeekForGetImpl()
333 if (!ParseNextDataKey<DecodeEntry>(limit) || Compare(key_, target) >= 0) { in SeekForGetImpl()
369 Seek(target); in SeekForGetImpl()
377 void IndexBlockIter::Seek(const Slice& target) { in Seek() argument
379 Slice seek_key = target; in Seek()
381 seek_key = ExtractUserKey(target); in Seek()
392 ok = PrefixSeek(target, &index, &prefix_may_exist); in Seek()
418 void DataBlockIter::SeekForPrev(const Slice& target) { in SeekForPrev() argument
420 Slice seek_key = target; in SeekForPrev()
666 bool BlockIter<TValue>::BinarySeek(const Slice& target, uint32_t left, in BinarySeek() argument
682 int cmp = comp->Compare(mid_key, target); in BinarySeek()
702 int IndexBlockIter::CompareBlockKey(uint32_t block_index, const Slice& target) { in CompareBlockKey() argument
716 return Compare(block_key, target); in CompareBlockKey()
721 bool IndexBlockIter::BinaryBlockIndexSeek(const Slice& target, in BinaryBlockIndexSeek() argument
734 int cmp = CompareBlockKey(block_ids[mid], target); in BinaryBlockIndexSeek()
760 CompareBlockKey(block_ids[left] - 1, target) > 0) { in BinaryBlockIndexSeek()
787 if (CompareBlockKey(right_index + 1, target) >= 0) { in BinaryBlockIndexSeek()
803 bool IndexBlockIter::PrefixSeek(const Slice& target, uint32_t* index, in PrefixSeek() argument
809 Slice seek_key = target; in PrefixSeek()
811 seek_key = ExtractUserKey(target); in PrefixSeek()
814 uint32_t num_blocks = prefix_index_->GetBlocks(target, &block_ids); in PrefixSeek()