Home
last modified time | relevance | path

Searched refs:minimum_len (Results 1 – 7 of 7) sorted by relevance

/third_party/rust/crates/aho-corasick/src/packed/
Dapi.rs259 let (search_kind, minimum_len) = match self.config.force { in build()
265 let minimum_len = teddy.minimum_len(); in build() localVariable
266 (SearchKind::Teddy(teddy), minimum_len) in build()
270 Some(Searcher { patterns, rabinkarp, search_kind, minimum_len }) in build()
377 minimum_len: usize, field
490 if haystack[at..].len() < teddy.minimum_len() { in find_at()
566 pub fn minimum_len(&self) -> usize { in minimum_len() method
567 self.minimum_len in minimum_len()
Dpattern.rs42 minimum_len: usize, field
64 minimum_len: usize::MAX, in new()
81 self.minimum_len = cmp::min(self.minimum_len, bytes.len()); in add()
132 self.minimum_len = usize::MAX; in reset()
147 pub fn minimum_len(&self) -> usize { in minimum_len() method
148 self.minimum_len in minimum_len()
Drabinkarp.rs71 let hash_len = patterns.minimum_len(); in new()
/third_party/rust/crates/aho-corasick/src/packed/teddy/
Druntime.rs127 assert!(haystack[at..].len() >= self.minimum_len()); in find_at()
171 pub fn minimum_len(&self) -> usize { in minimum_len() method
440 debug_assert!(haystack[at..].len() >= teddy.minimum_len()); in find_at()
490 debug_assert!(haystack[at..].len() >= teddy.minimum_len()); in find_at()
540 debug_assert!(haystack[at..].len() >= teddy.minimum_len()); in find_at()
591 debug_assert!(haystack[at..].len() >= teddy.minimum_len()); in find_at()
653 debug_assert!(haystack[at..].len() >= teddy.minimum_len()); in find_at()
717 debug_assert!(haystack[at..].len() >= teddy.minimum_len()); in find_at()
784 debug_assert!(haystack[at..].len() >= teddy.minimum_len()); in find_at()
854 debug_assert!(haystack[at..].len() >= teddy.minimum_len()); in find_at()
[all …]
Dmod.rs54 pub fn minimum_len(&self) -> usize { in minimum_len() method
Dcompile.rs231 let mask_len = cmp::min(3, patterns.minimum_len()); in new()
/third_party/rust/crates/memchr/src/memmem/prefilter/
Dmod.rs349 pub(crate) fn minimum_len(_haystack: &[u8], needle: &[u8]) -> usize { in minimum_len() function