Function epserde::pad_align_to
source · pub fn pad_align_to(value: usize, align_to: usize) -> usize
Expand description
Compute the padding needed for alignment, that is, the smallest
number such that ((value + pad_align_to(value, align_to) & (align_to - 1) == 0
.