Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

        }
    
        verify(hasher).putBytes(expectedBytes, 0, 4);
        verify(hashFunction).newHasher();
        verifyNoMoreInteractions(hashFunction, hasher);
      }
    
      public void testHash_hashesCorrectly() throws Exception {
        HashCode expectedHash = Hashing.md5().hashBytes(testBytes);
        HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer);
    
        byte[] buf = new byte[4];
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top