| 109 | constexpr int64_t RoundUpToMultipleOf8(int64_t num) { return RoundUpToPowerOf2(num, 8); } |
| 110 | |
| 111 | constexpr int64_t RoundUpToMultipleOf64(int64_t num) { |
| 112 | return RoundUpToPowerOf2(num, 64); |
| 113 | } |
| 114 | |
| 115 | // Returns the number of bytes covering a sliced bitmap. Find the length |
| 116 | // rounded to cover full bytes on both extremities. |