Functionsยง
- is_
pwr_ two - Returns true if the given number is a power of two.
- log_
2_ ceil - Returns the number of bits needed to represent the given number.
- pad_
bytes - Returns the number of padding bytes needed to align
ntoALIGN. - pad_
bytes_ to - Returns the number of padding bytes needed to align
ntoalign. - pad_
bytes_ u64 - Returns the number of padding bytes needed to align
ntoALIGN(u64 version).