to_shmem

Function padded_size

Source
pub(crate) fn padded_size(size: usize, align: usize) -> usize
Expand description

Rounds up size so that the following address will satisfy align.