Function mmtk::util::conversions::raw_align_up
source · pub const fn raw_align_up(val: usize, align: usize) -> usize
Expand description
Align up an integer to the given alignment. align
must be a power of two.
pub const fn raw_align_up(val: usize, align: usize) -> usize
Align up an integer to the given alignment. align
must be a power of two.