Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for fromLong (0.05 sec)

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

      public void testFromLong() {
        for (ExpectedHashCode expected : expectedHashCodes) {
          if (expected.bytes.length == 8) {
            HashCode fromLong = HashCode.fromLong(expected.asLong);
            assertExpectedHashCode(expected, fromLong);
          }
        }
      }
    
      public void testFromBytes() {
        for (ExpectedHashCode expected : expectedHashCodes) {
    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. guava-tests/test/com/google/common/hash/HashCodeTest.java

      public void testFromLong() {
        for (ExpectedHashCode expected : expectedHashCodes) {
          if (expected.bytes.length == 8) {
            HashCode fromLong = HashCode.fromLong(expected.asLong);
            assertExpectedHashCode(expected, fromLong);
          }
        }
      }
    
      public void testFromBytes() {
        for (ExpectedHashCode expected : expectedHashCodes) {
    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. guava/src/com/google/common/hash/ChecksumHashFunction.java

             * cast won't lose any information and is necessary to return a HashCode of the correct
             * size.
             */
            return HashCode.fromInt((int) value);
          } else {
            return HashCode.fromLong(value);
          }
        }
      }
    
      @J2ObjCIncompatible
      @SuppressWarnings("unused")
      private static final class ChecksumMethodHandles {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:05:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/HashCode.java

       * are interpreted in little endian order.
       *
       * @since 15.0 (since 12.0 in HashCodes)
       */
      public static HashCode fromLong(long hash) {
        return new LongHashCode(hash);
      }
    
      private static final class LongHashCode extends HashCode implements Serializable {
        final long hash;
    
        LongHashCode(long hash) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/HashCode.java

       * are interpreted in little endian order.
       *
       * @since 15.0 (since 12.0 in HashCodes)
       */
      public static HashCode fromLong(long hash) {
        return new LongHashCode(hash);
      }
    
      private static final class LongHashCode extends HashCode implements Serializable {
        final long hash;
    
        LongHashCode(long hash) {
    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