Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testHash_hashesCorrectly (0.17 sec)

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

        out.write(buf, 0, 3);
    
        verify(hashFunction).newHasher();
        verify(hasher).putBytes(buf, 0, 3);
        verifyNoMoreInteractions(hashFunction, hasher);
      }
    
      public void testHash_hashesCorrectly() throws Exception {
        byte[] buf = new byte[] {'y', 'a', 'm', 's'};
        HashCode expectedHash = Hashing.md5().hashBytes(buf);
        HashingOutputStream out = new HashingOutputStream(Hashing.md5(), buffer);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 11 22:00:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top