pub fn stride_offset(index: usize, stride: usize) -> isize