Searched refs:set_percentage (Results 1 – 1 of 1) sorted by relevance
50 BitVector BvWithSizeAndSetPercentage(uint32_t size, uint32_t set_percentage) { in BvWithSizeAndSetPercentage() argument56 if (rnd_engine() % 100 < set_percentage) { in BvWithSizeAndSetPercentage()90 uint32_t set_percentage = static_cast<uint32_t>(state.range(1)); in BM_BitVectorSet() local92 BitVector bv = BvWithSizeAndSetPercentage(size, set_percentage); in BM_BitVectorSet()116 uint32_t set_percentage = static_cast<uint32_t>(state.range(1)); in BM_BitVectorClear() local118 BitVector bv = BvWithSizeAndSetPercentage(size, set_percentage); in BM_BitVectorClear()140 uint32_t set_percentage = static_cast<uint32_t>(state.range(1)); in BM_BitVectorIndexOfNthSet() local142 BitVector bv = BvWithSizeAndSetPercentage(size, set_percentage); in BM_BitVectorIndexOfNthSet()166 uint32_t set_percentage = static_cast<uint32_t>(state.range(1)); in BM_BitVectorGetNumBitsSet() local171 bool value = rnd_engine() % 100 < set_percentage; in BM_BitVectorGetNumBitsSet()[all …]