Searched refs:num_bits_per_int (Results 1 - 6 of 6) sorted by relevance

/external/marisa-trie/lib/marisa/
H A Dintvector.cc22 UInt32 num_bits_per_int = 0; local
24 ++num_bits_per_int;
29 (((UInt64)num_bits_per_int * size) + 31) / 32);
35 num_bits_per_int_ = num_bits_per_int;
37 if (num_bits_per_int != 32) {
38 mask_ = (1U << num_bits_per_int) - 1;
H A Dintvector.h65 std::size_t num_bits_per_int() const { function in class:marisa::IntVector
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
H A Dintvector.cc22 UInt32 num_bits_per_int = 0; local
24 ++num_bits_per_int;
29 (((UInt64)num_bits_per_int * size) + 31) / 32);
35 num_bits_per_int_ = num_bits_per_int;
37 if (num_bits_per_int != 32) {
38 mask_ = (1U << num_bits_per_int) - 1;
H A Dintvector.h65 std::size_t num_bits_per_int() const { function in class:marisa_alpha::IntVector
/external/marisa-trie/tests/
H A Dvector-test.cc124 ASSERT(vec.num_bits_per_int() == 0);
133 ASSERT(vec.num_bits_per_int() == 1);
142 ASSERT(vec.num_bits_per_int() == 1);
152 ASSERT(vec.num_bits_per_int() == 8);
161 ASSERT(vec.num_bits_per_int() == 17);
171 ASSERT(vec.num_bits_per_int() == 0);
179 ASSERT(vec.num_bits_per_int() == 17);
189 ASSERT(vec.num_bits_per_int() == 17);
/external/marisa-trie/v0_1_5/tests/
H A Dvector-test.cc128 ASSERT(vec.num_bits_per_int() == 0);
137 ASSERT(vec.num_bits_per_int() == 1);
146 ASSERT(vec.num_bits_per_int() == 1);
156 ASSERT(vec.num_bits_per_int() == 8);
165 ASSERT(vec.num_bits_per_int() == 17);
175 ASSERT(vec.num_bits_per_int() == 0);
183 ASSERT(vec.num_bits_per_int() == 17);
193 ASSERT(vec.num_bits_per_int() == 17);

Completed in 84 milliseconds