Searched refs:wranges (Results 1 – 2 of 2) sorted by relevance
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
D | trie-build.cc | 183 Vector<WRange> wranges; in build_cur() local 200 wranges.clear(); in build_cur() 204 wranges.push_back(WRange(range.begin(), i, range.pos(), weight)); in build_cur() 210 wranges.push_back(WRange(range, weight)); in build_cur() 212 std::stable_sort(wranges.begin(), wranges.end(), std::greater<WRange>()); in build_cur() 215 num_first_branches_ = wranges.size(); in build_cur() 217 for (UInt32 i = 0; i < wranges.size(); ++i) { in build_cur() 218 const WRange &wrange = wranges[i]; in build_cur() 252 wranges[i].set_pos(pos); in build_cur() 253 queue.push(wranges[i].range()); in build_cur()
|
/external/marisa-trie/lib/marisa/ |
D | trie-build.cc | 174 Vector<WRange> wranges; in build_cur() local 191 wranges.clear(); in build_cur() 195 wranges.push_back(WRange(range.begin(), i, range.pos(), weight)); in build_cur() 201 wranges.push_back(WRange(range, weight)); in build_cur() 203 std::stable_sort(wranges.begin(), wranges.end(), std::greater<WRange>()); in build_cur() 206 num_first_branches_ = wranges.size(); in build_cur() 208 for (UInt32 i = 0; i < wranges.size(); ++i) { in build_cur() 209 const WRange &wrange = wranges[i]; in build_cur() 242 wranges[i].set_pos(pos); in build_cur() 243 queue.push(wranges[i].range()); in build_cur()
|