Function to_shmem::padding_needed_for
source ยท pub(crate) fn padding_needed_for(size: usize, align: usize) -> usize
Expand description
Amount of padding needed after size
bytes to ensure that the following
address will satisfy align
.