Searched refs:IndexOfNthSet (Results 1 – 5 of 5) sorted by relevance
/external/perfetto/src/trace_processor/containers/ |
D | bit_vector_unittest.cc | 157 TEST(BitVectorUnittest, IndexOfNthSet) { in TEST() argument 166 ASSERT_EQ(bv.IndexOfNthSet(0), 0u); in TEST() 167 ASSERT_EQ(bv.IndexOfNthSet(1), 1u); in TEST() 168 ASSERT_EQ(bv.IndexOfNthSet(2), 511u); in TEST() 169 ASSERT_EQ(bv.IndexOfNthSet(3), 512u); in TEST() 170 ASSERT_EQ(bv.IndexOfNthSet(4), 2047u); in TEST() 171 ASSERT_EQ(bv.IndexOfNthSet(5), 2048u); in TEST() 300 ASSERT_EQ(bv.IndexOfNthSet(count++), i); in TEST() 332 ASSERT_EQ(bv.IndexOfNthSet(count++), i); in TEST() 383 ASSERT_EQ(bv.IndexOfNthSet(count++), i); in TEST() [all …]
|
D | bit_vector.h | 97 uint32_t IndexOfNthSet(uint32_t n) const { in IndexOfNthSet() function 119 BlockOffset block_offset = blocks_[block_idx].IndexOfNthSet(set_in_block); in IndexOfNthSet() 402 uint16_t IndexOfNthSet(uint32_t n) const { in IndexOfNthSet() function 556 BlockOffset IndexOfNthSet(uint32_t n) const { in IndexOfNthSet() function 574 uint16_t bit_idx = words_[i].IndexOfNthSet(set_in_atom); in IndexOfNthSet()
|
D | row_map.cc | 100 iv[i] = bv.IndexOfNthSet(selector[i]); in SelectBvWithIv()
|
D | bit_vector_benchmark.cc | 155 benchmark::DoNotOptimize(bv.IndexOfNthSet(row_pool[pool_idx])); in BM_BitVectorIndexOfNthSet()
|
D | row_map.h | 651 return bit_vector_.IndexOfNthSet(idx); in GetBitVector()
|