below return a mask that can be used to determine if any of the bytes in `n` are below `b`. If a byte's MSB is set in the mask then that byte was below `b`. The result is only valid if `b`, and each byte in `n`, is below 0x80.
(n uint64, b byte)
| 64 | // below `b`. The result is only valid if `b`, and each byte in `n`, is below |
| 65 | // 0x80. |
| 66 | func below(n uint64, b byte) uint64 { |
| 67 | return n - expand(b) |
| 68 | } |
| 69 | |
| 70 | // contains returns a mask that can be used to determine if any of the |
| 71 | // bytes in `n` are equal to `b`. If a byte's MSB is set in the mask then |
no test coverage detected
searching dependent graphs…