- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for load64Safely (0.05 sec)
-
guava/src/com/google/common/hash/Fingerprint2011.java
package com.google.common.hash; import static com.google.common.base.Preconditions.checkPositionIndexes; import static com.google.common.hash.LittleEndianByteArray.load64; import static com.google.common.hash.LittleEndianByteArray.load64Safely; import static java.lang.Long.rotateRight; import com.google.common.annotations.VisibleForTesting; /** * Implementation of Geoff Pike's fingerprint2011 hash function. See {@link Hashing#fingerprint2011}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Dec 28 17:50:25 UTC 2021 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
* @param offset the offset into the array at which to start reading * @param length the number of bytes from the input to read * @return a long of a concatenated 8 bytes */ static long load64Safely(byte[] input, int offset, int length) { long result = 0; // Due to the way we shift, we can stop iterating once we've run out of data, the rest // of the result already being filled with zeros.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 9.8K bytes - Viewed (0)