Searched refs:naive_rfind (Results 1 – 1 of 1) sorted by relevance
154 assert_eq!(naive_rfind(prefix, bs), search(prefix, bs)); in prop_prefix_is_substring()174 assert_eq!(naive_rfind(suffix, bs), search(suffix, bs)); in prop_suffix_is_substring()191 naive_rfind(needle, haystack) == search(needle, haystack) in prop_matches_naive()213 fn naive_rfind(needle: &[u8], haystack: &[u8]) -> Option<usize> { in naive_rfind() function