Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testApproximateElementCount (0.12 sec)

  1. guava-tests/test/com/google/common/hash/BloomFilterTest.java

          assertEquals(
              arraySize * Long.SIZE,
              BloomFilter.create(Funnels.unencodedCharsFunnel(), i, fpp).bitSize());
        }
      }
    
      public void testApproximateElementCount() {
        int numInsertions = 1000;
        BloomFilter<Integer> bf = BloomFilter.create(Funnels.integerFunnel(), numInsertions);
        bf.put(-1);
        for (int i = 0; i < numInsertions; i++) {
          bf.put(i);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top