Gets the index of the specified bit in the set, which is the number of marked bits that appear before the specified bit.
| 266 | // Gets the index of the specified bit in the set, which is the number of |
| 267 | // marked bits that appear before the specified bit. |
| 268 | inline uint32_t getIndexOfBit(uint32_t n) const { return getIndexOfBit(value, n); } |
| 269 | |
| 270 | static inline uint32_t getIndexOfBit(uint64_t value, uint32_t n) { |
| 271 | return __builtin_popcountll(value & ~(0xffffffffffffffffULL >> n)); |
nothing calls this directly
no outgoing calls
no test coverage detected