Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testFailureWhenMoreThan255HashFunctionsAreNeeded (0.18 sec)

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

        assertThrows(
            IllegalArgumentException.class,
            () -> BloomFilter.create(Funnels.unencodedCharsFunnel(), 1, 1.0));
      }
    
      public void testFailureWhenMoreThan255HashFunctionsAreNeeded() {
        int n = 1000;
        double p = 0.00000000000000000000000000000000000000000000000000000000000000000000000000000001;
        assertThrows(
            IllegalArgumentException.class,
            () -> {
    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