Skip to main content

time_index_lookup

Function time_index_lookup 

Source
pub fn time_index_lookup(entries: &[TimeEntry], target: i64) -> u32
Expand description

The relative offset of the last entry at or below target, or zero. Timestamps must be nondecreasing; equal timestamps are allowed.