Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testHash_hashesCorrectlyForSkipping (0.33 sec)

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

        assertEquals(-1, in.read()); // additional read
        assertEquals(4, numOfByteRead);
    
        assertEquals(expectedHash, in.hash());
      }
    
      public void testHash_hashesCorrectlyForSkipping() throws Exception {
        HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'});
        HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 02 16:24:50 GMT 2020
    - 5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

        assertEquals(-1, in.read()); // additional read
        assertEquals(4, numOfByteRead);
    
        assertEquals(expectedHash, in.hash());
      }
    
      public void testHash_hashesCorrectlyForSkipping() throws Exception {
        HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'});
        HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 02 16:24:50 GMT 2020
    - 5K bytes
    - Viewed (0)
Back to top