Home
last modified time | relevance | path

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

/external/marisa-trie/v0_1_5/lib/marisa_alpha/
Dtrie-build.cc16 Vector<Key<String> > temp_keys; in build() local
17 temp_keys.resize(num_keys); in build()
18 for (std::size_t i = 0; i < temp_keys.size(); ++i) { in build()
30 temp_keys[i].set_str(String(keys[i], length)); in build()
31 temp_keys[i].set_weight((key_weights != NULL) ? key_weights[i] : 1.0); in build()
33 build_trie(temp_keys, key_ids, flags); in build()
38 Vector<Key<String> > temp_keys; in build() local
39 temp_keys.resize(keys.size()); in build()
40 for (std::size_t i = 0; i < temp_keys.size(); ++i) { in build()
43 temp_keys[i].set_str(String(keys[i].c_str(), keys[i].length())); in build()
[all …]
/external/marisa-trie/lib/marisa/
Dtrie-build.cc15 Vector<Key<String> > temp_keys; in build() local
16 temp_keys.resize(num_keys); in build()
17 for (std::size_t i = 0; i < temp_keys.size(); ++i) { in build()
28 temp_keys[i].set_str(String(keys[i], length)); in build()
29 temp_keys[i].set_weight((key_weights != NULL) ? key_weights[i] : 1.0); in build()
31 build_trie(temp_keys, key_ids, flags); in build()
36 Vector<Key<String> > temp_keys; in build() local
37 temp_keys.resize(keys.size()); in build()
38 for (std::size_t i = 0; i < temp_keys.size(); ++i) { in build()
40 temp_keys[i].set_str(String(keys[i].c_str(), keys[i].length())); in build()
[all …]