Home
last modified time | relevance | path

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

/external/marisa-trie/v0_1_5/lib/marisa_alpha/
Dtrie-search.cc12 PredictCallback(T key_ids, U keys, std::size_t max_num_results) in PredictCallback() argument
14 max_num_results_(max_num_results), num_results_(0) {} in PredictCallback()
81 std::size_t max_num_results) const { in find()
85 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
90 std::size_t max_num_results) const { in find()
95 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
100 std::size_t max_num_results) const { in find()
104 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
109 std::size_t max_num_results) const { in find()
114 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
[all …]
Dtrie.h70 std::size_t max_num_results) const;
73 std::size_t max_num_results) const;
76 std::size_t max_num_results) const;
81 std::size_t max_num_results = MARISA_ALPHA_MAX_NUM_KEYS) const;
85 std::size_t max_num_results = MARISA_ALPHA_MAX_NUM_KEYS) const;
89 std::size_t max_num_results = MARISA_ALPHA_MAX_NUM_KEYS) const;
115 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const;
117 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const;
119 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const;
124 std::size_t max_num_results = MARISA_ALPHA_MAX_NUM_KEYS) const;
[all …]
Dtrie-inline.h30 std::size_t max_num_results) const { in find() argument
32 key_ids, key_lengths, max_num_results); in find()
37 std::size_t max_num_results) const { in find() argument
39 key_ids, key_lengths, max_num_results); in find()
76 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const { in predict() argument
77 return predict(str.c_str(), str.length(), key_ids, keys, max_num_results); in predict()
82 std::size_t max_num_results) const { in predict() argument
83 return predict(str.c_str(), str.length(), key_ids, keys, max_num_results); in predict()
87 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const { in predict_breadth_first() argument
89 key_ids, keys, max_num_results); in predict_breadth_first()
[all …]
Dtrie-c.cc216 size_t max_num_results, size_t *num_results) try { in marisa_alpha_find() argument
223 *num_results = h->trie.find(ptr, key_ids, key_lengths, max_num_results); in marisa_alpha_find()
226 key_ids, key_lengths, max_num_results); in marisa_alpha_find()
288 size_t max_num_results, size_t *num_results) { in marisa_alpha_predict() argument
290 key_ids, max_num_results, num_results); in marisa_alpha_predict()
295 marisa_alpha_uint32 *key_ids, size_t max_num_results, in marisa_alpha_predict_breadth_first() argument
304 ptr, key_ids, NULL, max_num_results); in marisa_alpha_predict_breadth_first()
307 ptr, length, key_ids, NULL, max_num_results); in marisa_alpha_predict_breadth_first()
316 marisa_alpha_uint32 *key_ids, size_t max_num_results, in marisa_alpha_predict_depth_first() argument
325 ptr, key_ids, NULL, max_num_results); in marisa_alpha_predict_depth_first()
[all …]
/external/marisa-trie/lib/marisa/
Dtrie-search.cc12 PredictCallback(T key_ids, U keys, std::size_t max_num_results) in PredictCallback() argument
14 max_num_results_(max_num_results), num_results_(0) {} in PredictCallback()
80 std::size_t max_num_results) const { in find()
84 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
89 std::size_t max_num_results) const { in find()
93 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
98 std::size_t max_num_results) const { in find()
102 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
107 std::size_t max_num_results) const { in find()
111 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
[all …]
Dtrie.h70 std::size_t max_num_results) const;
73 std::size_t max_num_results) const;
76 std::size_t max_num_results) const;
81 std::size_t max_num_results = MARISA_MAX_NUM_KEYS) const;
85 std::size_t max_num_results = MARISA_MAX_NUM_KEYS) const;
89 std::size_t max_num_results = MARISA_MAX_NUM_KEYS) const;
115 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const;
117 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const;
119 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const;
124 std::size_t max_num_results = MARISA_MAX_NUM_KEYS) const;
[all …]
Dtrie-inline.h30 std::size_t max_num_results) const { in find() argument
32 key_ids, key_lengths, max_num_results); in find()
37 std::size_t max_num_results) const { in find() argument
39 key_ids, key_lengths, max_num_results); in find()
75 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const { in predict() argument
76 return predict(str.c_str(), str.length(), key_ids, keys, max_num_results); in predict()
81 std::size_t max_num_results) const { in predict() argument
82 return predict(str.c_str(), str.length(), key_ids, keys, max_num_results); in predict()
86 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const { in predict_breadth_first() argument
88 key_ids, keys, max_num_results); in predict_breadth_first()
[all …]
Dtrie-c.cc191 size_t max_num_results, size_t *num_results) { in marisa_find() argument
198 *num_results = h->trie.find(ptr, key_ids, key_lengths, max_num_results); in marisa_find()
201 key_ids, key_lengths, max_num_results); in marisa_find()
259 size_t max_num_results, size_t *num_results) { in marisa_predict() argument
261 key_ids, max_num_results, num_results); in marisa_predict()
266 size_t max_num_results, size_t *num_results) { in marisa_predict_breadth_first() argument
274 ptr, key_ids, NULL, max_num_results); in marisa_predict_breadth_first()
277 ptr, length, key_ids, NULL, max_num_results); in marisa_predict_breadth_first()
284 size_t max_num_results, size_t *num_results) { in marisa_predict_depth_first() argument
292 ptr, key_ids, NULL, max_num_results); in marisa_predict_depth_first()
[all …]
/external/marisa-trie/tools/
Dmarisa-predict.cc13 std::size_t max_num_results = 10; variable
74 str, &key_ids, &keys, max_num_results); in predict()
77 str, &key_ids, &keys, max_num_results); in predict()
127 max_num_results = MARISA_MAX_NUM_KEYS; in main()
129 max_num_results = (std::size_t)(value); in main()
Dmarisa-find.cc19 std::size_t max_num_results = 10; variable
45 for (std::size_t i = 0; (i < num_keys) && (i < max_num_results); ++i) { in find_all()
168 max_num_results = MARISA_MAX_NUM_KEYS; in main()
170 max_num_results = (std::size_t)(value); in main()
/external/marisa-trie/v0_1_5/tools/
Dmarisa_alpha-predict.cc13 std::size_t max_num_results = 10; variable
74 str, &key_ids, &keys, max_num_results); in predict()
77 str, &key_ids, &keys, max_num_results); in predict()
128 max_num_results = MARISA_ALPHA_MAX_NUM_KEYS; in main()
130 max_num_results = (std::size_t)(value); in main()
Dmarisa_alpha-find.cc19 std::size_t max_num_results = 10; variable
45 for (std::size_t i = 0; (i < num_keys) && (i < max_num_results); ++i) { in find_all()
169 max_num_results = MARISA_ALPHA_MAX_NUM_KEYS; in main()
171 max_num_results = (std::size_t)(value); in main()
/external/marisa-trie/
Dandroid_diff.txt273 - size_t max_num_results, size_t *num_results) try {
274 + size_t max_num_results, size_t *num_results) {
279 key_ids, key_lengths, max_num_results);
309 - size_t max_num_results, size_t *num_results) try {
310 + size_t max_num_results, size_t *num_results) {
315 ptr, length, key_ids, NULL, max_num_results);
324 - size_t max_num_results, size_t *num_results) try {
325 + size_t max_num_results, size_t *num_results) {
330 ptr, length, key_ids, NULL, max_num_results);
450 - std::size_t max_num_results) const try {
[all …]