Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for verifyHashFunction (0.09 sec)

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

        for (int i = 0; i < string.length(); i++) {
          bytes[i] = (byte) string.charAt(i);
        }
        return bytes;
      }
    
      interface HashFn {
        byte[] hash(byte[] input, int seed);
      }
    
      static void verifyHashFunction(HashFn hashFunction, int hashbits, int expected) {
        int hashBytes = hashbits / 8;
    
        byte[] key = new byte[256];
        byte[] hashes = new byte[hashBytes * 256];
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top