4 instantiations of BloomFilter
Microsoft.CodeAnalysis.Workspaces (4)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (3)
179
new
BloomFilter
(FalsePositiveProbability, stringLiterals, longLiterals)),
181
new
BloomFilter
(FalsePositiveProbability, isCaseSensitive, identifiers),
182
new
BloomFilter
(FalsePositiveProbability, isCaseSensitive, escapedIdentifiers)),
Shared\Utilities\BloomFilter_Serialization.cs (1)
66
return new
BloomFilter
(bitArray, hashFunctionCount, isCaseSensitive);
18 references to BloomFilter
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Utilities\BloomFilterTests.cs (2)
143
var
rehydratedFilter = BloomFilter.ReadFrom(reader);
161
var
rehydratedFilter = BloomFilter.ReadFrom(reader);
Microsoft.CodeAnalysis.Workspaces (16)
FindSymbols\SyntaxTree\SyntaxTreeIndex.IdentifierInfo.cs (8)
14
BloomFilter
identifierFilter,
15
BloomFilter
escapedIdentifierFilter)
17
private readonly
BloomFilter
_identifierFilter = identifierFilter ?? throw new ArgumentNullException(nameof(identifierFilter));
18
private readonly
BloomFilter
_escapedIdentifierFilter = escapedIdentifierFilter ?? throw new ArgumentNullException(nameof(escapedIdentifierFilter));
50
var
identifierFilter =
BloomFilter
.ReadFrom(reader);
51
var
escapedIdentifierFilter =
BloomFilter
.ReadFrom(reader);
FindSymbols\SyntaxTree\SyntaxTreeIndex.LiteralInfo.cs (4)
13
private readonly struct LiteralInfo(
BloomFilter
literalsFilter)
15
private readonly
BloomFilter
_literalsFilter = literalsFilter ?? throw new ArgumentNullException(nameof(literalsFilter));
35
var
literalsFilter =
BloomFilter
.ReadFrom(reader);
Shared\Utilities\BloomFilter.cs (3)
378
public bool IsEquivalent(
BloomFilter
filter)
422
hashBuilder.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)
55
public static
BloomFilter
ReadFrom(ObjectReader reader)