fn align_up(val: usize, align: usize) -> usize {
    let remainder = val % align;
    if remainder > 0 {
        val + (align - remainder)
    } else {
        val
    }
}
/// increase a value up to the next multiple of the alignment
increase a value up to the next multiple of the alignment
increase a value up to the next multiple of the alignment
fn align_up(val: usize, align: usize) -> usize {
    let remainder = val % align;
    if remainder > 0 {
        val + (align - remainder)
    } else {
        val
    }
}
fn align_up ( val : usize , align : usize ) -> usize { let remainder = val % align ; if remainder > 0 { val + ( align - remainder ) } else { val } }
increase a value up to the next multiple of the alignment
increase a value up to the next multiple of the alignment
val
usize
align
usize
val
usize
align
usize