Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for randomHash (0.42 sec)

  1. android/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);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  2. 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);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
Back to top