Lines Matching refs:given
99 /// the given haystack. If one does not exist, then return None.
267 /// in the given haystack. If one does not exist, then return None.
404 /// bound given here is always the period of `v`, which is `<= period(x)`. The
430 /// Compute the shift for a given needle in the forward direction.
453 /// Compute the shift for a given needle in the reverse direction.
607 /// This occurs when the given candidate byte indicates that the candidate
612 /// This occurs when the given candidate byte excludes the candidate suffix
624 /// Returns true if and only if the given candidate byte indicates that
651 /// Create a new set from the given needle.
660 /// Return true if and only if the given byte might be in this set. This
691 /// Return all of the non-empty suffixes in the given byte string.
696 /// Return the lexicographically maximal suffix of the given byte string.
703 /// Return the lexicographically maximal suffix of the reverse of the given
716 ($given:expr, $expected:expr, $period:expr) => {
718 get_suffix_forward($given.as_bytes(), SuffixKind::Minimal);
725 ($given:expr, $expected:expr, $period:expr) => {
727 get_suffix_forward($given.as_bytes(), SuffixKind::Maximal);
773 ($given:expr, $expected:expr, $period:expr) => {
775 get_suffix_reverse($given.as_bytes(), SuffixKind::Minimal);
782 ($given:expr, $expected:expr, $period:expr) => {
784 get_suffix_reverse($given.as_bytes(), SuffixKind::Maximal);