Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for rthash (0.29 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. 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. 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 (2)
  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. 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)
  7. 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)
  8. src/runtime/map_faststr.go

    		}
    		return unsafe.Pointer(&zeroVal[0])
    	}
    dohash:
    	hash := t.Hasher(noescape(unsafe.Pointer(&ky)), uintptr(h.hash0))
    	m := bucketMask(h.B)
    	b := (*bmap)(add(h.buckets, (hash&m)*uintptr(t.BucketSize)))
    	if c := h.oldbuckets; c != nil {
    		if !h.sameSizeGrow() {
    			// There used to be half as many buckets; mask down one more power of two.
    			m >>= 1
    		}
    		oldb := (*bmap)(add(c, (hash&m)*uintptr(t.BucketSize)))
    		if !evacuated(oldb) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultCachedClasspathTransformer.java

            }
            if (shouldUseFromCache(original)) {
                final HashCode contentHash = snapshot.getHash();
                if (!seen.add(contentHash)) {
                    // Already seen an entry with the same content hash, ignore it
                    return empty();
                }
                // It's a new content hash, transform it
                return Optional.of(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/crypto/tls/handshake_server_tls13.go

    // interfaces implemented by standard library hashes to clone the state of in
    // to a new instance of h. It returns nil if the operation fails.
    func cloneHash(in hash.Hash, h crypto.Hash) hash.Hash {
    	// Recreate the interface to avoid importing encoding.
    	type binaryMarshaler interface {
    		MarshalBinary() (data []byte, err error)
    		UnmarshalBinary(data []byte) error
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top