INNER CODE UNIT · Rust
hi
google/best · src/intervals.rs:94
hi = (i + win_len).min(end);
};
if pos {
res.push(FeatureInterval {
start: lo,
stop: hi,
val: format!("window_{}_pos_{}", win_len, i - start),
});
} else {
res.push(FeatureInterval {
start: lo,
stop: hi,
val: format!("window_{}", win_len),
});
}
}