Skip to main content

invert

Function invert 

Source
pub fn invert<I>(progress: I, total_size: u64, window: u64) -> InvertIter<I> 
where I: Iterator<Item = Range<u64>>,
Expand description

window: 当一个 ProgressEntry 的长度小于 window 时,会被合并到空洞内,以减少碎片化进度。