Home
last modified time | relevance | path

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

/external/openfst/src/extensions/ngram/
Dbitmap-index.cc79 rembits -= primary_index_[block - 1]; in Select1()
99 remzeros -= *primary_index_inverted(primary_index_.begin() + block - 1, in Select0()
100 primary_index_.begin()); in Select0()
120 if (end_block > 0) sum += primary_index_[end_block-1]; in get_index_ones_count()
130 primary_index_.clear(); in BuildIndex()
131 primary_index_.reserve(primary_index_size()); in BuildIndex()
149 primary_index_.push_back(popcount); in BuildIndex()
176 return std::distance(primary_index_.begin(), in find_primary_block()
177 std::lower_bound(primary_index_.begin(), in find_primary_block()
178 primary_index_.end(), bit_index)); in find_primary_block()
[all …]
/external/openfst/src/include/fst/extensions/ngram/
Dbitmap-index.h72 return primary_index_[primary_index_size() - 1]; in GetOnesCount()
174 vector<uint32> primary_index_; variable