| 78 | } |
| 79 | |
| 80 | constexpr void BitwiseSplit(uint64_t v, uint32_t & x, uint32_t & y) |
| 81 | { |
| 82 | uint64_t unshuffle = PerfectUnshuffle(v); |
| 83 | x = static_cast<uint32_t>(unshuffle); |
| 84 | y = static_cast<uint32_t>(unshuffle >> 32); |
| 85 | } |
| 86 | |
| 87 | // Returns 1 if bit is set and 0 otherwise. |
| 88 | inline uint8_t GetBit(void const * p, uint32_t offset) |
no test coverage detected