Home
last modified time | relevance | path

Searched refs:BitArray (Results 1 – 4 of 4) sorted by relevance

/external/guava/guava/src/com/google/common/hash/
DBloomFilterStrategies.java46 int numHashFunctions, BitArray bits) { in MURMUR128_MITZ_32()
65 int numHashFunctions, BitArray bits) { in MURMUR128_MITZ_32()
93 int numHashFunctions, BitArray bits) { in MURMUR128_MITZ_64()
111 int numHashFunctions, BitArray bits) { in MURMUR128_MITZ_64()
140 static final class BitArray { class in BloomFilterStrategies
144 BitArray(long bits) { in BitArray() method in BloomFilterStrategies.BitArray
149 BitArray(long[] data) { in BitArray() method in BloomFilterStrategies.BitArray
183 BitArray copy() { in copy()
184 return new BitArray(data.clone()); in copy()
188 void putAll(BitArray array) { in putAll()
[all …]
DBloomFilter.java24 import com.google.common.hash.BloomFilterStrategies.BitArray;
75 <T> boolean put(T object, Funnel<? super T> funnel, int numHashFunctions, BitArray bits); in put()
82 T object, Funnel<? super T> funnel, int numHashFunctions, BitArray bits); in mightContain()
95 private final BitArray bits;
111 private BloomFilter(BitArray bits, int numHashFunctions, Funnel<? super T> funnel, in BloomFilter()
313 return new BloomFilter<T>(new BitArray(numBits), numHashFunctions, funnel, strategy); in create()
403 return new BloomFilter<T>(new BitArray(data), numHashFunctions, funnel, strategy);
464 return new BloomFilter<T>(new BitArray(data), numHashFunctions, funnel, strategy);
/external/guava/guava-tests/test/com/google/common/hash/
DPackageSanityTests.java19 import com.google.common.hash.BloomFilterStrategies.BitArray;
30 setDefault(BitArray.class, new BitArray(1)); in PackageSanityTests()
DBloomFilterTest.java20 import static com.google.common.hash.BloomFilterStrategies.BitArray;
48 BitArray bitArray = new BitArray(numBits); in testLargeBloomFilterDoesntOverflow()