Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for padToLong (0.08 sec)

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

        assertEquals(0x1111111111111111L, HashCode.fromLong(0x1111111111111111L).padToLong());
        assertEquals(0x9999999999999999L, HashCode.fromLong(0x9999999999999999L).padToLong());
        assertEquals(0x0000000011111111L, HashCode.fromInt(0x11111111).padToLong());
        assertEquals(0x0000000099999999L, HashCode.fromInt(0x99999999).padToLong());
      }
    
      public void testPadToLongWith4Bytes() {
    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(0x1111111111111111L, HashCode.fromLong(0x1111111111111111L).padToLong());
        assertEquals(0x9999999999999999L, HashCode.fromLong(0x9999999999999999L).padToLong());
        assertEquals(0x0000000011111111L, HashCode.fromInt(0x11111111).padToLong());
        assertEquals(0x0000000099999999L, HashCode.fromInt(0x99999999).padToLong());
      }
    
      public void testPadToLongWith4Bytes() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/HashCode.java

       * value with {@code asBytes()} as the least-significant bytes and {@code 0x00} as the remaining
       * most-significant bytes.
       *
       * @since 14.0 (since 11.0 as {@code Hashing.padToLong(HashCode)})
       */
      public abstract long padToLong();
    
      /**
       * Returns the value of this hash code as a byte array. The caller may modify the byte array;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/HashCode.java

       * value with {@code asBytes()} as the least-significant bytes and {@code 0x00} as the remaining
       * most-significant bytes.
       *
       * @since 14.0 (since 11.0 as {@code Hashing.padToLong(HashCode)})
       */
      public abstract long padToLong();
    
      /**
       * Returns the value of this hash code as a byte array. The caller may modify the byte array;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top