4 instantiations of BloomFilter
Microsoft.CodeAnalysis.Workspaces (4)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (3)
177new BloomFilter(FalsePositiveProbability, stringLiterals, longLiterals)), 179new BloomFilter(FalsePositiveProbability, isCaseSensitive, identifiers), 180new BloomFilter(FalsePositiveProbability, isCaseSensitive, escapedIdentifiers)),
Shared\Utilities\BloomFilter_Serialization.cs (1)
66return new BloomFilter(bitArray, hashFunctionCount, isCaseSensitive);
18 references to BloomFilter
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Utilities\BloomFilterTests.cs (2)
143var rehydratedFilter = BloomFilter.ReadFrom(reader); 161var rehydratedFilter = BloomFilter.ReadFrom(reader);
Microsoft.CodeAnalysis.Workspaces (16)
FindSymbols\SyntaxTree\SyntaxTreeIndex.IdentifierInfo.cs (8)
14BloomFilter identifierFilter, 15BloomFilter escapedIdentifierFilter) 17private readonly BloomFilter _identifierFilter = identifierFilter ?? throw new ArgumentNullException(nameof(identifierFilter)); 18private readonly BloomFilter _escapedIdentifierFilter = escapedIdentifierFilter ?? throw new ArgumentNullException(nameof(escapedIdentifierFilter)); 50var identifierFilter = BloomFilter.ReadFrom(reader); 51var escapedIdentifierFilter = BloomFilter.ReadFrom(reader);
FindSymbols\SyntaxTree\SyntaxTreeIndex.LiteralInfo.cs (4)
13private readonly struct LiteralInfo(BloomFilter literalsFilter) 15private readonly BloomFilter _literalsFilter = literalsFilter ?? throw new ArgumentNullException(nameof(literalsFilter)); 35var literalsFilter = BloomFilter.ReadFrom(reader);
Shared\Utilities\BloomFilter.cs (3)
378public bool IsEquivalent(BloomFilter filter) 422hashBuilder.Add(BloomFilter.ComputeHash(value, i, _isCaseSensitive)); 429/// (usually around 13) hashings of the string (the actual count is <see cref="BloomFilter._hashFunctionCount"/>).
Shared\Utilities\BloomFilter_Serialization.cs (1)
55public static BloomFilter ReadFrom(ObjectReader reader)