Skip to main content

covering_stamp_range_index

Function covering_stamp_range_index 

Source
pub fn covering_stamp_range_index(
    bases: &[i64],
    lasts: &[i64],
    offset: i64,
) -> Option<usize>
Expand description

Find the first inclusive range that covers offset.

The slices must have equal lengths; with a shorter lasts slice the answer is unspecified.