Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testConsistentHash_linearCongruentialGeneratorCompatibility (0.2 seconds)

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

      }
    
      /**
       * Check a few "golden" values to see that implementations across languages are equivalent.
       *
       */
      public void testConsistentHash_linearCongruentialGeneratorCompatibility() {
        int[] golden100 = {
          0, 55, 62, 8, 45, 59, 86, 97, 82, 59,
          73, 37, 17, 56, 86, 21, 90, 37, 38, 83
        };
        for (int i = 0; i < golden100.length; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 26.7K bytes
    - Click Count (2)
Back to Top