Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for randomHash (0.21 sec)

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

      static void assertIndependentHashers(HashFunction hashFunction) {
        int numActions = 100;
        // hashcodes from non-overlapping hash computations
        HashCode expected1 = randomHash(hashFunction, new Random(1L), numActions);
        HashCode expected2 = randomHash(hashFunction, new Random(2L), numActions);
    
        // equivalent, but overlapping, computations (should produce the same results as above)
        Random random1 = new Random(1L);
    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