Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for rthash (0.18 sec)

  1. guava/src/com/google/common/hash/Striped64.java

       *
       * @param x the value
       * @param hc the hash code holder
       * @param wasUncontended false if CAS failed before call
       */
      final void retryUpdate(long x, @CheckForNull int[] hc, boolean wasUncontended) {
        int h;
        if (hc == null) {
          threadHashCode.set(hc = new int[1]); // Initialize randomly
          int r = rng.nextInt(); // Avoid zero to allow xorShift rehash
          h = hc[0] = (r == 0) ? 1 : r;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/Striped64.java

       *
       * @param x the value
       * @param hc the hash code holder
       * @param wasUncontended false if CAS failed before call
       */
      final void retryUpdate(long x, @CheckForNull int[] hc, boolean wasUncontended) {
        int h;
        if (hc == null) {
          threadHashCode.set(hc = new int[1]); // Initialize randomly
          int r = rng.nextInt(); // Avoid zero to allow xorShift rehash
          h = hc[0] = (r == 0) ? 1 : r;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/Striped64.java

       *
       * @param x the value
       * @param hc the hash code holder
       * @param wasUncontended false if CAS failed before call
       */
      final void retryUpdate(long x, @CheckForNull int[] hc, boolean wasUncontended) {
        int h;
        if (hc == null) {
          threadHashCode.set(hc = new int[1]); // Initialize randomly
          int r = rng.nextInt(); // Avoid zero to allow xorShift rehash
          h = hc[0] = (r == 0) ? 1 : r;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Striped64.java

       *
       * @param x the value
       * @param hc the hash code holder
       * @param wasUncontended false if CAS failed before call
       */
      final void retryUpdate(long x, @CheckForNull int[] hc, boolean wasUncontended) {
        int h;
        if (hc == null) {
          threadHashCode.set(hc = new int[1]); // Initialize randomly
          int r = rng.nextInt(); // Avoid zero to allow xorShift rehash
          h = hc[0] = (r == 0) ? 1 : r;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Equivalence.java

      }
    
      /**
       * Implemented by the user to return a hash code for {@code t}, subject to the requirements
       * specified in {@link #hash}.
       *
       * <p>This method should not be called except by {@link #hash}. When {@link #hash} calls this
       * method, {@code t} is guaranteed to be non-null.
       *
       * @since 10.0 (previously, subclasses would override hash())
       */
      @ForOverride
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

            hasher.putString("SIGNATURE");
            hasher.putString(thing);
            return hasher.hash();
        }
    
        /**
         * Hash the given bytes with the default hash function.
         */
        public static HashCode hashBytes(byte[] bytes) {
            return DEFAULT.hashBytes(bytes);
        }
    
        /**
         * Hash the given string with the default hash function.
         */
        public static HashCode hashString(CharSequence string) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:30 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Equivalence.java

      }
    
      /**
       * Implemented by the user to return a hash code for {@code t}, subject to the requirements
       * specified in {@link #hash}.
       *
       * <p>This method should not be called except by {@link #hash}. When {@link #hash} calls this
       * method, {@code t} is guaranteed to be non-null.
       *
       * @since 10.0 (previously, subclasses would override hash())
       */
      @ForOverride
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. src/runtime/alg.go

    }
    
    const hashRandomBytes = goarch.PtrSize / 4 * 64
    
    // used in asm_{386,amd64,arm64}.s to seed the hash function
    var aeskeysched [hashRandomBytes]byte
    
    // used in hash{32,64}.go to seed the hash function
    var hashkey [4]uintptr
    
    func alginit() {
    	// Install AES hash algorithms if the instructions needed are present.
    	if (GOARCH == "386" || GOARCH == "amd64") &&
    		cpu.X86.HasAES && // AESENC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_client_tls13.go

    	chHash := hs.transcript.Sum(nil)
    	hs.transcript.Reset()
    	hs.transcript.Write([]byte{typeMessageHash, 0, 0, uint8(len(chHash))})
    	hs.transcript.Write(chHash)
    	if err := transcriptMsg(hs.serverHello, hs.transcript); err != nil {
    		return err
    	}
    
    	var isInnerHello bool
    	hello := hs.hello
    	if hs.echContext != nil {
    		chHash = hs.echContext.innerTranscript.Sum(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics/metrics.go

    	// This is not gRPC error. The operation must have failed before gRPC
    	// method was called, otherwise we would get gRPC error.
    	return "unknown-non-grpc"
    }
    
    func getHash(data string) string {
    	if len(data) == 0 {
    		return ""
    	}
    	h := hashPool.Get().(hash.Hash)
    	h.Reset()
    	h.Write([]byte(data))
    	dataHash := fmt.Sprintf("sha256:%x", h.Sum(nil))
    	hashPool.Put(h)
    	return dataHash
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 09 22:31:32 UTC 2023
    - 12K bytes
    - Viewed (0)
Back to top