Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testPadToLong (0.18 sec)

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

        hashCode.getBytesInternal()[0] = (byte) 0x00;
    
        assertEquals(0x0000ab00, hashCode.asInt());
        assertEquals("00ab0000", hashCode.toString());
      }
    
      public void testPadToLong() {
        assertEquals(0x1111111111111111L, HashCode.fromLong(0x1111111111111111L).padToLong());
        assertEquals(0x9999999999999999L, HashCode.fromLong(0x9999999999999999L).padToLong());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.1K bytes
    - Viewed (0)
Back to top