Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for load64Safely (0.24 sec)

  1. android/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}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 28 17:50:25 GMT 2021
    - 6.5K bytes
    - Viewed (0)
  2. android/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.
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
Back to top