/external/marisa-trie/tests/ |
c-test.c | 98 marisa_uint32 found_key_ids[8]; local 172 found_key_ids, found_key_lengths, 8, &num_found_keys) == MARISA_OK); 176 found_key_ids, found_key_lengths, 8, &num_found_keys) == MARISA_OK); 178 ASSERT(found_key_ids[0] == key_ids[4]); 180 ASSERT(found_key_ids[1] == key_ids[0]); 189 found_key_ids, 8, &num_found_keys) == MARISA_OK); 191 ASSERT(found_key_ids[0] == key_ids[4]); 192 ASSERT(found_key_ids[1] == key_ids[1]); 193 ASSERT(found_key_ids[2] == key_ids[0]);
|
/external/marisa-trie/v0_1_5/tests/ |
c-test.c | 103 marisa_alpha_uint32 found_key_ids[8]; local 182 found_key_ids, found_key_lengths, 8, &num_found_keys) == 187 found_key_ids, found_key_lengths, 8, &num_found_keys) == 190 ASSERT(found_key_ids[0] == key_ids[4]); 192 ASSERT(found_key_ids[1] == key_ids[0]); 202 found_key_ids, 8, &num_found_keys) == MARISA_ALPHA_OK); 204 ASSERT(found_key_ids[0] == key_ids[4]); 205 ASSERT(found_key_ids[1] == key_ids[1]); 206 ASSERT(found_key_ids[2] == key_ids[0]);
|
/external/marisa-trie/tools/ |
marisa-benchmark.cc | 217 std::vector<marisa::UInt32> found_key_ids; local 219 found_key_ids.clear(); 220 const std::size_t num_keys = trie.find(keys[i].first, &found_key_ids); 221 if ((num_keys == 0) || (found_key_ids.back() != key_ids[i])) { 233 std::vector<marisa::UInt32> found_key_ids; local 238 found_key_ids.clear(); 241 keys[i].first, &found_key_ids, found_keys_ref); 242 if ((num_keys == 0) || (found_key_ids.front() != key_ids[i])) { 254 std::vector<marisa::UInt32> found_key_ids; local 259 found_key_ids.clear() [all...] |
/external/marisa-trie/v0_1_5/tools/ |
marisa_alpha-benchmark.cc | 217 std::vector<marisa_alpha::UInt32> found_key_ids; local 219 found_key_ids.clear(); 220 const std::size_t num_keys = trie.find(keys[i].first, &found_key_ids); 221 if ((num_keys == 0) || (found_key_ids.back() != key_ids[i])) { 233 std::vector<marisa_alpha::UInt32> found_key_ids; local 238 found_key_ids.clear(); 241 keys[i].first, &found_key_ids, found_keys_ref); 242 if ((num_keys == 0) || (found_key_ids.front() != key_ids[i])) { 254 std::vector<marisa_alpha::UInt32> found_key_ids; local 259 found_key_ids.clear() [all...] |