Searched refs:minimum_len (Results 1 – 7 of 7) sorted by relevance
/third_party/rust/crates/aho-corasick/src/packed/ |
D | api.rs | 259 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()
|
D | pattern.rs | 42 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()
|
D | rabinkarp.rs | 71 let hash_len = patterns.minimum_len(); in new()
|
/third_party/rust/crates/aho-corasick/src/packed/teddy/ |
D | runtime.rs | 127 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 …]
|
D | mod.rs | 54 pub fn minimum_len(&self) -> usize { in minimum_len() method
|
D | compile.rs | 231 let mask_len = cmp::min(3, patterns.minimum_len()); in new()
|
/third_party/rust/crates/memchr/src/memmem/prefilter/ |
D | mod.rs | 349 pub(crate) fn minimum_len(_haystack: &[u8], needle: &[u8]) -> usize { in minimum_len() function
|