Searched refs:teddy (Results 1 - 5 of 5) sorted by relevance
/third_party/rust/crates/aho-corasick/src/packed/teddy/ |
H A D | runtime.rs | 55 use crate::packed::teddy::compile; 121 "teddy must be called with same patterns it was built with", in find_at() 367 // 16% boost in the sherlock/packed/teddy/name/alt1 benchmark (among in verify_bucket() 436 teddy: &Teddy, in find_at() 440 debug_assert!(haystack[at..].len() >= teddy.minimum_len()); in find_at() 443 assert_eq!(8, teddy.buckets.len()); in find_at() 449 if let Some(m) = teddy.verify128(pats, haystack, at, c) { in find_at() 459 if let Some(m) = teddy.verify128(pats, haystack, at, c) { in find_at() 486 teddy: &Teddy, in find_at() 490 debug_assert!(haystack[at..].len() >= teddy in find_at() [all...] |
H A D | mod.rs | 2 pub use crate::packed::teddy::compile::Builder; 4 pub use crate::packed::teddy::fallback::Builder; 6 pub use crate::packed::teddy::fallback::Teddy; 8 pub use crate::packed::teddy::runtime::Teddy;
|
H A D | compile.rs | 8 use crate::packed::teddy::Teddy; 76 use crate::packed::teddy::runtime; in build_imp() 365 // Unlike slim teddy, fat teddy only works with AVX2. For fat teddy, in add_fat()
|
/third_party/rust/crates/aho-corasick/src/packed/ |
H A D | api.rs | 5 use crate::packed::teddy::{self, Teddy}; 261 let teddy = match self.build_teddy(&patterns) { in build() 263 Some(teddy) => teddy, in build() 265 let minimum_len = teddy.minimum_len(); in build() 266 (SearchKind::Teddy(teddy), minimum_len) in build() 274 teddy::Builder::new() in build_teddy() 489 SearchKind::Teddy(ref teddy) => { in find_at() 490 if haystack[at..].len() < teddy.minimum_len() { in find_at() 493 teddy in find_at() [all...] |
H A D | mod.rs | 113 mod teddy; modules
|
Completed in 3 milliseconds