Home
last modified time | relevance | path

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

/external/marisa-trie/lib/marisa/grimoire/trie/
Dhistory.h20 void set_louds_pos(std::size_t louds_pos) { in set_louds_pos() argument
21 MARISA_DEBUG_IF(louds_pos > MARISA_UINT32_MAX, MARISA_SIZE_ERROR); in set_louds_pos()
22 louds_pos_ = (UInt32)louds_pos; in set_louds_pos()
40 std::size_t louds_pos() const { in louds_pos() function
Dlouds-trie.cc171 next.set_node_id(next.louds_pos() - current.node_id() - 1); in predictive_search()
176 const bool link_flag = louds_[next.louds_pos()]; in predictive_search()
177 next.set_louds_pos(next.louds_pos() + 1); in predictive_search()
621 std::size_t louds_pos = louds_.select0(state.node_id()) + 1; in find_child() local
622 if (!louds_[louds_pos]) { in find_child()
625 state.set_node_id(louds_pos - state.node_id() - 1); in find_child()
642 ++louds_pos; in find_child()
643 } while (louds_[louds_pos]); in find_child()
667 std::size_t louds_pos = louds_.select0(state.node_id()) + 1; in predictive_find_child() local
668 if (!louds_[louds_pos]) { in predictive_find_child()
[all …]
/external/marisa-trie/tests/
Dtrie-test.cc428 ASSERT(history.louds_pos() == 0); in TestHistory()
440 ASSERT(history.louds_pos() == 200); in TestHistory()