Lines Matching defs:forward
5 /// Two-Way search in the forward direction.
16 /// This searcher supports forward and reverse search, although not
47 /// forward or reverse APIs.
86 let min_suffix = Suffix::forward(needle, SuffixKind::Minimal);
87 let max_suffix = Suffix::forward(needle, SuffixKind::Maximal);
94 let shift = Shift::forward(needle, period_lower_bound, critical_pos);
430 /// Compute the shift for a given needle in the forward direction.
436 fn forward(
482 /// If this is a forward suffix, then `&bytes[pos..]` can be used. If this
484 /// forward suffixes, this is an inclusive starting position, where as for
496 fn forward(needle: &[u8], kind: SuffixKind) -> Suffix {
549 // See the comments in `forward` for how this works.
681 let s = Suffix::forward(needle, kind);
870 // j >= shift', which matches the corresponding guard in the forward impl.