- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for padToLong (0.15 sec)
-
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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 13.1K 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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 12.6K bytes - Viewed (0) -
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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 12.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/InPlaceClasspathBuilder.java
return compressionMethod != CompressionMethod.STORED; } private static long computeCrc32Of(byte[] contents) { return Hashing.crc32().hashBytes(contents).padToLong(); } } @Override public void directory(File destinationDir, Action action) { try { buildDirectory(destinationDir, action); } catch (Exception e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 14:05:09 UTC 2024 - 6.9K bytes - Viewed (0) -
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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 09 00:37:15 UTC 2024 - 32.3K 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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 09 00:37:15 UTC 2024 - 29.2K bytes - Viewed (0)