- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for padToLong (0.03 sec)
-
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.6K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java
String toString = "name"; HashFunction func = new ChecksumHashFunction(supplier, 32, toString); assertEquals(toString, func.toString()); assertEquals(value, func.hashBytes(bytes).padToLong()); } private static void assertHash32( int expected, ImmutableSupplier<Checksum> supplier, String input) { byte[] bytes = HashTestUtils.ascii(input); String toString = "name";Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
* * <p>To get the {@code long} value equivalent to {@link Checksum#getValue()} for a {@code * HashCode} produced by this function, use {@link HashCode#padToLong()}. * * <p>This function is best understood as a <a * href="https://en.wikipedia.org/wiki/Checksum">checksum</a> rather than a true <a * href="https://en.wikipedia.org/wiki/Hash_function">hash function</a>.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.8K bytes - Viewed (0)