Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for integerFunnel (0.06 sec)

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

        assertSame(Funnels.integerFunnel(), SerializableTester.reserialize(Funnels.integerFunnel()));
        assertSame(Funnels.longFunnel(), SerializableTester.reserialize(Funnels.longFunnel()));
        assertSame(
            Funnels.unencodedCharsFunnel(),
            SerializableTester.reserialize(Funnels.unencodedCharsFunnel()));
        assertEquals(
            Funnels.sequentialFunnel(Funnels.integerFunnel()),
    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

        int element1 = 1;
        int element2 = 2;
    
        BloomFilter<Integer> bf1 = BloomFilter.create(Funnels.integerFunnel(), 100);
        bf1.put(element1);
        assertTrue(bf1.mightContain(element1));
        assertFalse(bf1.mightContain(element2));
    
        BloomFilter<Integer> bf2 = BloomFilter.create(Funnels.integerFunnel(), 100);
        bf2.put(element2);
        assertFalse(bf2.mightContain(element1));
    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