Searched refs:MARISA_WORD_SIZE (Results 1 – 8 of 8) sorted by relevance
12 #if MARISA_WORD_SIZE == 6444 const std::size_t unit_id = pos / MARISA_WORD_SIZE;45 const std::size_t unit_offset = pos % MARISA_WORD_SIZE;47 if ((unit_offset + value_size_) <= MARISA_WORD_SIZE) {51 | (units_[unit_id + 1] << (MARISA_WORD_SIZE - unit_offset))) & mask_;105 std::size_t num_units = values.empty() ? 0 : (64 / MARISA_WORD_SIZE); in build_()108 (((UInt64)value_size * values.size()) + (MARISA_WORD_SIZE - 1)) in build_()109 / MARISA_WORD_SIZE); in build_()110 num_units += num_units % (64 / MARISA_WORD_SIZE); in build_()183 const std::size_t unit_id = pos / MARISA_WORD_SIZE; in set()[all …]
13 #if MARISA_WORD_SIZE == 6453 if (size_ == (MARISA_WORD_SIZE * units_.size())) { in push_back()54 units_.resize(units_.size() + (64 / MARISA_WORD_SIZE), 0); in push_back()57 units_[size_ / MARISA_WORD_SIZE] |= in push_back()58 (Unit)1 << (size_ % MARISA_WORD_SIZE); in push_back()66 return (units_[i / MARISA_WORD_SIZE]67 & ((Unit)1 << (i % MARISA_WORD_SIZE))) != 0;
10 #if MARISA_WORD_SIZE == 64
167 #if MARISA_WORD_SIZE == 64346 #if MARISA_WORD_SIZE == 64
35 #define MARISA_WORD_SIZE 64 macro37 #define MARISA_WORD_SIZE 32 macro
129 #if MARISA_WORD_SIZE == 64
21 ASSERT(MARISA_WORD_SIZE == (sizeof(std::size_t) * 8)); in TestTypes()
15 #if MARISA_WORD_SIZE == 64