Home
last modified time | relevance | path

Searched refs:max_suffix (Results 1 – 2 of 2) sorted by relevance

/third_party/rust/crates/memchr/src/memmem/
Dtwoway.rs87 let max_suffix = Suffix::forward(needle, SuffixKind::Maximal); in new() localVariable
89 if min_suffix.pos > max_suffix.pos { in new()
92 (max_suffix.period, max_suffix.pos) in new()
254 let max_suffix = Suffix::reverse(needle, SuffixKind::Maximal); in new() localVariable
256 if min_suffix.pos < max_suffix.pos { in new()
259 (max_suffix.period, max_suffix.pos) in new()
/third_party/python/Objects/stringlib/
Dfastsearch.h185 Py_ssize_t max_suffix = 0; in STRINGLIB() local
194 STRINGLIB_CHAR b = needle[max_suffix + k]; in STRINGLIB()
204 period = candidate - max_suffix; in STRINGLIB()
220 max_suffix = candidate; in STRINGLIB()
227 return max_suffix; in STRINGLIB()