Lines Matching refs:marisa
19 marisa::grimoire::trie::Config config; in TestConfig()
47 marisa::grimoire::trie::Header header; in TestHeader()
50 marisa::grimoire::Writer writer; in TestHeader()
56 marisa::grimoire::Mapper mapper; in TestHeader()
62 marisa::grimoire::Reader reader; in TestHeader()
73 marisa::grimoire::trie::Key key; in TestKey()
105 marisa::grimoire::trie::Key key2; in TestKey()
113 marisa::grimoire::trie::ReverseKey r_key; in TestKey()
142 marisa::grimoire::trie::ReverseKey r_key2; in TestKey()
156 marisa::grimoire::trie::Range range; in TestRange()
170 range = marisa::grimoire::trie::make_range(10, 20, 30); in TestRange()
176 marisa::grimoire::trie::WeightedRange w_range; in TestRange()
193 marisa::grimoire::trie::WeightedRange w_range2 = in TestRange()
194 marisa::grimoire::trie::make_weighted_range(100, 200, 300, 400.0F); in TestRange()
210 marisa::grimoire::trie::Entry entry; in TestEntry()
233 marisa::grimoire::trie::Tail tail; in TestTextTail()
234 marisa::grimoire::Vector<marisa::grimoire::trie::Entry> entries; in TestTextTail()
235 marisa::grimoire::Vector<marisa::UInt32> offsets; in TestTextTail()
242 ASSERT(tail.io_size() == (sizeof(marisa::UInt64) * 6)); in TestTextTail()
246 marisa::grimoire::trie::Entry entry; in TestTextTail()
256 ASSERT(tail.io_size() == (sizeof(marisa::UInt64) * 7)); in TestTextTail()
279 marisa::grimoire::trie::Entry::IDComparer()); in TestTextTail()
290 marisa::grimoire::Writer writer; in TestTextTail()
301 marisa::grimoire::Mapper mapper; in TestTextTail()
316 marisa::grimoire::Reader reader; in TestTextTail()
331 marisa::grimoire::Writer writer; in TestTextTail()
335 marisa::grimoire::Reader reader; in TestTextTail()
354 marisa::grimoire::trie::Tail tail; in TestBinaryTail()
355 marisa::grimoire::Vector<marisa::grimoire::trie::Entry> entries; in TestBinaryTail()
356 marisa::grimoire::Vector<marisa::UInt32> offsets; in TestBinaryTail()
363 ASSERT(tail.io_size() == (sizeof(marisa::UInt64) * 6)); in TestBinaryTail()
367 marisa::grimoire::trie::Entry entry; in TestBinaryTail()
376 ASSERT(tail.total_size() == (tail.size() + sizeof(marisa::UInt64))); in TestBinaryTail()
377 ASSERT(tail.io_size() == (sizeof(marisa::UInt64) * 8)); in TestBinaryTail()
409 marisa::grimoire::trie::Entry::IDComparer()); in TestBinaryTail()
425 marisa::grimoire::trie::History history; in TestHistory()
451 marisa::grimoire::trie::State state; in TestState()
458 ASSERT(state.status_code() == marisa::grimoire::trie::MARISA_READY_TO_ALL); in TestState()
464 marisa::grimoire::trie::MARISA_END_OF_PREDICTIVE_SEARCH); in TestState()
470 marisa::grimoire::trie::MARISA_END_OF_PREDICTIVE_SEARCH); in TestState()
473 ASSERT(state.status_code() == marisa::grimoire::trie::MARISA_READY_TO_ALL); in TestState()
476 ASSERT(state.status_code() == marisa::grimoire::trie::MARISA_READY_TO_ALL); in TestState()
480 marisa::grimoire::trie::MARISA_READY_TO_COMMON_PREFIX_SEARCH); in TestState()
484 marisa::grimoire::trie::MARISA_READY_TO_PREDICTIVE_SEARCH); in TestState()
503 } catch (const marisa::Exception &ex) { in main()