Expand description
Utility functions.
Functions§
- Maps 16-bit
hash
to the range[0, n)
, wheren
is a 16-bit integer. - Maps 32-bit
hash
to the range[0, n)
, wheren
is a 32-bit integer. - Maps 64-bit
hash
to the range[0, n)
, wheren
is a 32-bit integer. - Maps 64-bit
hash
to the range[0, n)
, wheren
is a 64-bit integer. - Reads
number_of_bits
bits, rounded up to multiple of 64, frominput
.