Lines Matching refs:marisa
20 marisa::grimoire::vector::PopCount count(0); in TestPopCount()
32 marisa::grimoire::vector::PopCount count(0xFFFFFFFFFFFFFFFFULL); in TestPopCount()
44 marisa::grimoire::vector::PopCount count(0xFF7F3F1F0F070301ULL); in TestPopCount()
62 marisa::grimoire::vector::PopCount count(0);
70 marisa::grimoire::vector::PopCount count(0xFFFFFFFFU);
78 marisa::grimoire::vector::PopCount count(0xFF3F0F03U);
92 marisa::grimoire::vector::RankIndex rank; in TestRankIndex()
132 marisa::grimoire::Vector<int> vec; in TestVector()
140 ASSERT(vec.io_size() == sizeof(marisa::UInt64)); in TestVector()
145 ASSERT(static_cast<const marisa::grimoire::Vector<int> &>(vec)[i] in TestVector()
153 ASSERT(vec.io_size() == sizeof(marisa::UInt64) in TestVector()
156 ASSERT(static_cast<const marisa::grimoire::Vector<int> &>(vec).front() in TestVector()
158 ASSERT(static_cast<const marisa::grimoire::Vector<int> &>(vec).back() in TestVector()
169 ASSERT(static_cast<const marisa::grimoire::Vector<int> &>(vec)[i] in TestVector()
174 marisa::grimoire::Writer writer; in TestVector()
184 marisa::grimoire::Mapper mapper; in TestVector()
193 ASSERT(vec.io_size() == sizeof(marisa::UInt64) in TestVector()
197 ASSERT(static_cast<const marisa::grimoire::Vector<int> &>(vec)[i] in TestVector()
205 marisa::grimoire::Reader reader; in TestVector()
215 ASSERT(vec.io_size() == sizeof(marisa::UInt64) in TestVector()
220 ASSERT(static_cast<const marisa::grimoire::Vector<int> &>(vec)[i] in TestVector()
252 marisa::grimoire::FlatVector vec; in TestFlatVector()
259 ASSERT(vec.io_size() == (sizeof(marisa::UInt64) * 3)); in TestFlatVector()
261 marisa::grimoire::Vector<marisa::UInt32> values; in TestFlatVector()
269 ASSERT(vec.io_size() == (sizeof(marisa::UInt64) * 3)); in TestFlatVector()
279 ASSERT(vec.io_size() == (sizeof(marisa::UInt64) * 4)); in TestFlatVector()
302 marisa::grimoire::Writer writer; in TestFlatVector()
314 marisa::grimoire::Mapper mapper; in TestFlatVector()
329 marisa::grimoire::Reader reader; in TestFlatVector()
343 values.push_back(static_cast<marisa::UInt32>(std::rand())); in TestFlatVector()
356 marisa::grimoire::BitVector bv; in TestBitVector()
361 ASSERT(bv.io_size() == sizeof(marisa::UInt64) * 5); in TestBitVector()
396 marisa::grimoire::Writer writer; in TestBitVector()
406 ASSERT(bv.io_size() == sizeof(marisa::UInt64) * 5); in TestBitVector()
409 marisa::grimoire::Reader reader; in TestBitVector()
463 } catch (const marisa::Exception &ex) { in main()