Lines Matching refs:max_num_results
12 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()
143 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const { in predict()
147 predict_breadth_first(str, key_ids, keys, max_num_results) : in predict()
148 predict_depth_first(str, key_ids, keys, max_num_results); in predict()
152 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const { in predict()
156 predict_breadth_first(ptr, length, key_ids, keys, max_num_results) : in predict()
157 predict_depth_first(ptr, length, key_ids, keys, max_num_results); in predict()
162 std::size_t max_num_results) const { in predict()
166 predict_breadth_first(str, key_ids, keys, max_num_results) : in predict()
167 predict_depth_first(str, key_ids, keys, max_num_results); in predict()
172 std::size_t max_num_results) const { in predict()
176 predict_breadth_first(ptr, length, key_ids, keys, max_num_results) : in predict()
177 predict_depth_first(ptr, length, key_ids, keys, max_num_results); in predict()
181 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const { in predict_breadth_first()
185 MakeContainer(key_ids), MakeContainer(keys), max_num_results); in predict_breadth_first()
189 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const { in predict_breadth_first()
193 MakeContainer(key_ids), MakeContainer(keys), max_num_results); in predict_breadth_first()
198 std::size_t max_num_results) const { in predict_breadth_first()
202 MakeContainer(key_ids), MakeContainer(keys), max_num_results); in predict_breadth_first()
207 std::size_t max_num_results) const { in predict_breadth_first()
211 MakeContainer(key_ids), MakeContainer(keys), max_num_results); in predict_breadth_first()
215 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const { in predict_depth_first()
219 MakeContainer(key_ids), MakeContainer(keys), max_num_results); in predict_depth_first()
223 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const { in predict_depth_first()
227 MakeContainer(key_ids), MakeContainer(keys), max_num_results); in predict_depth_first()
232 std::vector<std::string> *keys, std::size_t max_num_results) const { in predict_depth_first()
236 MakeContainer(key_ids), MakeContainer(keys), max_num_results); in predict_depth_first()
241 std::vector<std::string> *keys, std::size_t max_num_results) const { in predict_depth_first()
245 MakeContainer(key_ids), MakeContainer(keys), max_num_results); in predict_depth_first()
463 std::size_t max_num_results) const { in find_()
464 if (max_num_results == 0) { in find_()
478 if (++count >= max_num_results) { in find_()
524 std::size_t max_num_results) const { in predict_breadth_first_()
525 if (max_num_results == 0) { in predict_breadth_first_()
546 if (++count >= max_num_results) { in predict_breadth_first_()
563 if (++temp_count >= max_num_results) { in predict_breadth_first_()
574 if (++temp_count >= max_num_results) { in predict_breadth_first_()
580 if (count >= max_num_results) { in predict_breadth_first_()
581 return max_num_results; in predict_breadth_first_()
591 std::size_t max_num_results) const { in predict_depth_first_()
592 if (max_num_results == 0) { in predict_depth_first_()
595 PredictCallback<U, V> callback(key_ids, keys, max_num_results); in predict_depth_first_()
611 if (++count >= max_num_results) { in predict_depth_first_()
637 if (++count >= max_num_results) { in predict_depth_first_()