Home
last modified time | relevance | path

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

/external/bsdiff/
Dsuffix_array_index.cc103 SAIDX suf_left; in SearchPrefix() local
105 CallSaSearch(text_, n_, target, length, sa_.data(), n_, &suf_left); in SearchPrefix()
109 *out_pos = sa_[suf_left]; in SearchPrefix()
118 if (suf_left > 0) { in SearchPrefix()
120 std::min(n_ - static_cast<size_t>(sa_[suf_left - 1]), length); in SearchPrefix()
121 const uint8_t* prev_suffix = text_ + sa_[suf_left - 1]; in SearchPrefix()
128 if (static_cast<size_t>(suf_left) < n_) { in SearchPrefix()
129 const uint8_t* next_suffix = text_ + sa_[suf_left]; in SearchPrefix()
131 std::min(n_ - static_cast<size_t>(sa_[suf_left]), length); in SearchPrefix()
141 *out_pos = sa_[suf_left]; in SearchPrefix()
[all …]