Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkAvalanche (0.06 sec)

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

       * different input keys. This test verifies that each possible 1-bit key delta achieves avalanche.
       *
       * <p>For more information: http://burtleburtle.net/bob/hash/avalanche.html
       */
      static void checkAvalanche(HashFunction function, int trials, double epsilon) {
        Random rand = new Random(0);
        int keyBits = 32;
        int hashBits = function.bits();
        for (int i = 0; i < keyBits; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top