Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stringFunnel (0.13 sec)

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

          PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
          Funnels.stringFunnel(charset).funnel("test", primitiveSink);
          verify(primitiveSink).putString("test", charset);
        }
      }
    
      public void testForStringsCharset_null() {
        for (Charset charset : Charset.availableCharsets().values()) {
          assertNullsThrowException(Funnels.stringFunnel(charset));
        }
      }
    
      public void testForInts() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      }
    
      public void testCreateAndCheckBloomFilterWithKnownUtf8FalsePositives64() {
        int numInsertions = 1000000;
        BloomFilter<String> bf =
            BloomFilter.create(
                Funnels.stringFunnel(UTF_8),
                numInsertions,
                0.03,
                BloomFilterStrategies.MURMUR128_MITZ_64);
    
        // Insert "numInsertions" even numbers into the BF.
    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