Function scan

Source
unsafe fn scan<T>(
    high: &mut usize,
    low: &mut usize,
    sum: &mut [i64],
    data: &[T],
    t: T,
)
where T: Copy + Into<i64> + PartialEq + PartialOrd,