Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testRoundTripHashCodeUsingBaseEncoding (0.17 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        sanityTester().testNulls();
      }
    
      public void testHashCode_equalsAndSerializable() throws Exception {
        sanityTester().testEqualsAndSerializable();
      }
    
      public void testRoundTripHashCodeUsingBaseEncoding() {
        HashCode hash1 = sha1().hashString("foo", US_ASCII);
        HashCode hash2 = HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString()));
        assertEquals(hash1, hash2);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
Back to Top