All the bits from off (inclusive) and above set.
(off uint32)
| 88 | |
| 89 | // All the bits from off (inclusive) and above set. |
| 90 | func upperMask(off uint32) uint64 { |
| 91 | return ^((uint64(1) << off) - 1) |
| 92 | } |
| 93 | |
| 94 | // All the bits from off (inclusive) and below set. |
| 95 | func lowerMask(off uint32) uint64 { |