BitFlagUtil class
Public static functions
- static auto countOnBit(u32 x) -> int
- Popcount.
- static auto countContinuousOffBitFromRight(u32 x) -> int
- Count trailing zeroes (ctz).
- static auto countRightOnBit(u32 x, int bit) -> int
- static auto findOnBitFromRight(u32 x, int num) -> int
- static auto countOnBit64(u64 x) -> int
- Popcount.
- static auto countContinuousOffBitFromRight64(u64 x) -> int
- Count trailing zeroes (ctz).
- static auto countRightOnBit64(u64 x, int bit) -> int
- static auto findOnBitFromRight64(u64 x, int num) -> int