Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testBitSizeMatchesSerializationSize (0.12 seconds)

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

       *
       * <p>The serialization format consists of a 6-byte header (1 byte strategy, 1 byte hash
       * functions, 4 bytes array length) followed by the bit array data (bitSize / 8 bytes).
       */
      public void testBitSizeMatchesSerializationSize() throws Exception {
        int[] expectedInsertionValues = {1, 10, 100, 1000, 10000};
        double[] fppValues = {0.01, 0.03, 0.1};
    
        for (int expectedInsertions : expectedInsertionValues) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
Back to Top