Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCustomSerialization (0.26 sec)

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

          assertTrue(copy.mightContain(Ints.toByteArray(i)));
        }
        assertThat(copy.expectedFpp()).isEqualTo(bf.expectedFpp());
    
        SerializableTester.reserializeAndAssert(bf);
      }
    
      public void testCustomSerialization() throws Exception {
        Funnel<byte[]> funnel = Funnels.byteArrayFunnel();
        BloomFilter<byte[]> bf = BloomFilter.create(funnel, 100);
        for (int i = 0; i < 100; i++) {
          bf.put(Ints.toByteArray(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