Searched refs:AhoCorasick (Results 1 - 8 of 8) sorted by relevance
/third_party/rust/crates/aho-corasick/src/ |
H A D | ahocorasick.rs | 15 /// The `AhoCorasick` type supports a few basic ways of constructing an 17 /// [`AhoCorasick::new`](struct.AhoCorasick.html#method.new) 19 /// [`AhoCorasick::new_auto_configured`](struct.AhoCorasick.html#method.new_auto_configured). 29 /// [`AhoCorasick::new_auto_configured`](struct.AhoCorasick.html#method.new_auto_configured). 43 /// [`AhoCorasick::heap_bytes`](struct.AhoCorasick.html#method.heap_bytes) 75 /// use aho_corasick::AhoCorasick; 86 pub struct AhoCorasick<S: StateID = usize> { global() structure names 91 impl AhoCorasick { global() impls 162 impl<S: StateID> AhoCorasick<S> { global() impls [all...] |
H A D | lib.rs | 27 * [`AhoCorasick`](struct.AhoCorasick.html) is the primary type and represents 47 use aho_corasick::AhoCorasick; 52 let ac = AhoCorasick::new(patterns); 95 use aho_corasick::AhoCorasick; 106 let ac = AhoCorasick::new(patterns); 132 use aho_corasick::AhoCorasick; 137 let ac = AhoCorasick::new(patterns); 197 AhoCorasick, AhoCorasickBuilder, FindIter, FindOverlappingIter, MatchKind, 228 /// use aho_corasick::AhoCorasick; [all...] |
H A D | tests.rs | 1146 use crate::AhoCorasick; in regression_rare_byte_prefilter() 1148 let ac = AhoCorasick::new_auto_configured(&["ab/j/", "x/"]); in regression_rare_byte_prefilter()
|
/third_party/rust/crates/aho-corasick/bench/src/ |
H A D | build.rs | 1 use aho_corasick::{AhoCorasick, AhoCorasickBuilder}; 45 b.iter(|| black_box(AhoCorasick::new(&pats))) in define_build() 49 b.iter(|| black_box(AhoCorasick::new(&pats))) in define_build()
|
H A D | bench.rs | 3 use aho_corasick::{packed, AhoCorasick, AhoCorasickBuilder, MatchKind}; 36 // let aut = AhoCorasick::new(patterns.clone()); in define_aho_corasick() 94 F: 'static + Clone + Fn(&AhoCorasick, &[u8]) -> usize, in define_aho_corasick_dfa()
|
/third_party/rust/crates/aho-corasick/aho-corasick-debug/ |
H A D | main.rs | 8 use aho_corasick::{AhoCorasick, AhoCorasickBuilder, MatchKind}; 118 fn automaton(&self) -> Result<AhoCorasick<Size>> { in automaton()
|
/third_party/rust/crates/regex/src/literal/ |
H A D | imp.rs | 3 use aho_corasick::{self, packed, AhoCorasick, AhoCorasickBuilder}; 29 AC { ac: AhoCorasick<u32>, lits: Vec<Literal> },
|
/third_party/rust/crates/regex/src/ |
H A D | exec.rs | 7 use aho_corasick::{AhoCorasick, AhoCorasickBuilder, MatchKind}; 101 ac: Option<AhoCorasick<u32>>, 359 fn build_aho_corasick(&self, parsed: &Parsed) -> Option<AhoCorasick<u32>> { in build_aho_corasick() 718 AhoCorasick => self in find_literals() 1368 MatchLiteralType::AhoCorasick, in choose_literal_match_type() 1496 AhoCorasick,
|
Completed in 6 milliseconds