Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for checkAvalanche (0.07 seconds)

  1. android/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++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  2. 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++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 25.6K bytes
    - Click Count (0)
Back to Top