/external/guava/guava-tests/test/com/google/common/hash/ |
BloomFilterTest.java | 13 * Tests for SimpleGenericBloomFilter and derived BloomFilter views. 24 checkSanity(BloomFilter.create(HashTestUtils.BAD_FUNNEL, expectedInsertions, fpr)); 35 assertTrue(BloomFilter.optimalNumOfHashFunctions(n, m) > 0); 46 assertTrue(BloomFilter.optimalNumOfBits(n, fpp) >= 0); 53 assertTrue(BloomFilter.optimalNumOfBits(random.nextInt(1 << 16), random.nextDouble()) >= 0); 57 assertEquals(Integer.MAX_VALUE, BloomFilter.optimalNumOfBits( 61 private void checkSanity(BloomFilter<Object> bf) { 71 BloomFilter<byte[]> bf = BloomFilter.create(Funnels.byteArrayFunnel(), 100);
|
/external/chromium/chrome/browser/safe_browsing/ |
bloom_filter_unittest.cc | 34 scoped_refptr<BloomFilter> filter( 35 new BloomFilter(count * BloomFilter::kBloomFilterSizeRatio)); 48 scoped_refptr<BloomFilter> filter_copy( 49 new BloomFilter(data_copy, filter->size(), filter->hash_keys_)); 85 const int kTestEntries = BloomFilter::kBloomFilterMinSize; 86 scoped_refptr<BloomFilter> filter_write( 87 new BloomFilter(kTestEntries * BloomFilter::kBloomFilterSizeRatio)); 99 BloomFilter* filter = BloomFilter::LoadFile(filter_path) [all...] |
bloom_filter.cc | 16 uint32 HashMix(BloomFilter::HashKey hash_key, uint32 c) { 36 int BloomFilter::FilterSizeForKeyCount(int key_count) { 37 const int default_min = BloomFilter::kBloomFilterMinSize; 39 return std::min(number_of_keys * BloomFilter::kBloomFilterSizeRatio, 40 BloomFilter::kBloomFilterMaxSize * 8); 44 void BloomFilter::RecordFailure(FailureType failure_type) { 49 BloomFilter::BloomFilter(int bit_size) { 61 BloomFilter::BloomFilter(char* data, int size, const HashKeys& keys [all...] |
bloom_filter.h | 30 class BloomFilter : public base::RefCountedThreadSafe<BloomFilter> { 36 explicit BloomFilter(int bit_size); 40 BloomFilter(char* data, int size, const HashKeys& keys); 49 static BloomFilter* LoadFile(const FilePath& filter_name); 64 // to the BloomFilter constructor based on the intended |key_count|. 71 friend class base::RefCountedThreadSafe<BloomFilter>; 97 ~BloomFilter(); 106 DISALLOW_COPY_AND_ASSIGN(BloomFilter);
|
filter_false_positive_perftest.cc | 106 BloomFilter** bloom_filter) { 107 // Create a BloomFilter with the specified size. 109 BloomFilter::kBloomFilterMinSize); 111 *bloom_filter = new BloomFilter(filter_size); 163 BloomFilter* bloom_filter, 216 BloomFilter* bloom_filter = NULL; 218 scoped_refptr<BloomFilter> scoped_filter(bloom_filter); 299 int start = BloomFilter::kBloomFilterSizeRatio; 335 BloomFilter* bloom_filter = NULL; 337 BuildBloomFilter(BloomFilter::kBloomFilterSizeRatio [all...] |
safe_browsing_database.h | 27 class BloomFilter; 316 // Only browse_store_ requires the BloomFilter for fast query. 318 scoped_refptr<BloomFilter> browse_bloom_filter_;
|
safe_browsing_database.cc | 566 browse_bloom_filter_ = new BloomFilter(BloomFilter::kBloomFilterMinSize * 567 BloomFilter::kBloomFilterSizeRatio); [all...] |
/external/guava/guava/src/com/google/common/hash/ |
BloomFilter.java | 33 * <a href="http://llimllib.github.com/bloomfilter-tutorial/">tutorial</a> may help you understand 36 * @param <T> the type of instances that the {@code BloomFilter} accepts 42 public final class BloomFilter<T> implements Serializable { 60 /** The bit set of the BloomFilter (not necessarily power of 2!)*/ 75 * Creates a BloomFilter. 77 private BloomFilter(BitArray bits, int numHashFunctions, Funnel<T> funnel, 95 * Puts an element into this {@code BloomFilter}. Ensures that subsequent invocations of 113 * Creates a {@code Builder} of a {@link BloomFilter BloomFilter<T>}, with the expected number 116 * <p>Note that overflowing a {@code BloomFilter} with significantly more elements [all...] |
BloomFilterStrategies.java | 13 * be mapped to a {@link BloomFilter} of {@code M} bits and {@code k} hash functions. These 19 enum BloomFilterStrategies implements BloomFilter.Strategy {
|
/external/jmonkeyengine/engine/src/test/jme3test/light/ |
TestEnvironmentMapping.java | 9 import com.jme3.post.filters.BloomFilter; 53 BloomFilter bf = new BloomFilter(BloomFilter.GlowMode.Objects);
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
BloomFilter.h | 38 class BloomFilter { 46 BloomFilter() { clear(); } 83 inline void BloomFilter<keyBits>::add(unsigned hash) 94 inline void BloomFilter<keyBits>::remove(unsigned hash) 108 inline void BloomFilter<keyBits>::clear() 115 bool BloomFilter<keyBits>::likelyEmpty() const 125 bool BloomFilter<keyBits>::isClear() const 137 using WTF::BloomFilter;
|
/external/jmonkeyengine/engine/src/test/jme3test/model/ |
TestHoverTank.java | 41 import com.jme3.post.filters.BloomFilter; 89 BloomFilter bf = new BloomFilter(BloomFilter.GlowMode.Objects);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
bloom_filter.cpp | 23 const int BloomFilter::BIGRAM_FILTER_MODULO = 1021;
|
bloom_filter.h | 34 class BloomFilter { 36 BloomFilter() {
|
multi_bigram_map.h | 103 BloomFilter mBloomFilter;
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
SelectorFilter.h | 33 #include "wtf/BloomFilter.h" 66 OwnPtr<BloomFilter<bloomFilterKeyBits> > m_ancestorIdentifierFilter;
|
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
TestBloom.java | 45 import com.jme3.post.filters.BloomFilter; 122 BloomFilter bloom=new BloomFilter();
|
TestMultiplesFilters.java | 45 import com.jme3.post.filters.BloomFilter; 98 final BloomFilter bloom = new BloomFilter();
|
BloomUI.java | 38 import com.jme3.post.filters.BloomFilter; 46 public BloomUI(InputManager inputManager, final BloomFilter filter) {
|
TestMultiViewsFilters.java | 154 fpp5.addFilter(new BloomFilter(BloomFilter.GlowMode.Objects));
|
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/ |
BloomFilter.java | 49 * BloomFilter is used to make objects in the scene have a glow effect.<br> 57 public class BloomFilter extends Filter { 98 public BloomFilter() { 99 super("BloomFilter"); 106 public BloomFilter(GlowMode glowMode) {
|
/external/jmonkeyengine/engine/src/test/jme3test/batching/ |
TestBatchNodeCluster.java | 17 import com.jme3.post.filters.BloomFilter; 132 fpp.addFilter(new BloomFilter(BloomFilter.GlowMode.Objects));
|
/external/jmonkeyengine/engine/src/test/jme3test/water/ |
TestPostWater.java | 18 import com.jme3.post.filters.BloomFilter; 107 BloomFilter bloom=new BloomFilter();
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
TestWalkingChar.java | 61 import com.jme3.post.filters.BloomFilter; 143 BloomFilter bloom = new BloomFilter(BloomFilter.GlowMode.Objects);
|
/external/droiddriver/libs/ |
guava-13.0.jar | |