Function to_shmem::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.