Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testPadToLongWith4Bytes (0.17 sec)

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

        assertEquals(0x0000000011111111L, HashCode.fromInt(0x11111111).padToLong());
        assertEquals(0x0000000099999999L, HashCode.fromInt(0x99999999).padToLong());
      }
    
      public void testPadToLongWith4Bytes() {
        assertEquals(0x0000000099999999L, HashCode.fromBytesNoCopy(byteArrayWith9s(4)).padToLong());
      }
    
      public void testPadToLongWith6Bytes() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        assertEquals(0x0000000011111111L, HashCode.fromInt(0x11111111).padToLong());
        assertEquals(0x0000000099999999L, HashCode.fromInt(0x99999999).padToLong());
      }
    
      public void testPadToLongWith4Bytes() {
        assertEquals(0x0000000099999999L, HashCode.fromBytesNoCopy(byteArrayWith9s(4)).padToLong());
      }
    
      public void testPadToLongWith6Bytes() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top