Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testPadToLong (0.07 sec)

  1. 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: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. 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: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top