pub(crate) fn fold_offset(grid: GridSpec, window: RangeWindow) -> Result<i64>Expand description
The offset samples are shifted by: the selector offset, or for @ the offset that places
the anchored window at the first grid point.
pub(crate) because whether it fits is decided from the grid and the window alone, so the
native route’s admission predicate asks the same arithmetic rather than a second copy of it.