1 instantiation of AhoCorasick
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\AhoCorasickBuilder.cs (1)
56return new AhoCorasick(_nodes.AsSpan().ToArray(), _startingAsciiChars);
9 references to AhoCorasick
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\AhoCorasickBuilder.cs (2)
12/// Separated out of <see cref="AhoCorasick"/> to allow us to defer some computation costs in case we decide not to build the full thing. 40public AhoCorasick Build()
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\StringSearchValues.cs (4)
137AhoCorasick ahoCorasick = ahoCorasickBuilder.Build(); 163static SearchValues<string> PickAhoCorasickImplementation<TCaseSensitivity>(AhoCorasick ahoCorasick, HashSet<string> uniqueValues) 167? new StringSearchValuesAhoCorasick<TCaseSensitivity, AhoCorasick.IndexOfAnyAsciiFastScan>(ahoCorasick, uniqueValues) 168: new StringSearchValuesAhoCorasick<TCaseSensitivity, AhoCorasick.NoFastScan>(ahoCorasick, uniqueValues);
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\StringSearchValuesAhoCorasick.cs (3)
11where TFastScanVariant : struct, AhoCorasick.IFastScan 13private readonly AhoCorasick _ahoCorasick; 15public StringSearchValuesAhoCorasick(AhoCorasick ahoCorasick, HashSet<string> uniqueValues) : base(uniqueValues) =>