Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 185 for wyhash (0.16 sec)

  1. src/internal/concurrent/hashtriemap.go

    // The ok result indicates whether value was found in the map.
    func (ht *HashTrieMap[K, V]) Load(key K) (value V, ok bool) {
    	hash := ht.keyHash(abi.NoEscape(unsafe.Pointer(&key)), ht.seed)
    
    	i := ht.root
    	hashShift := 8 * goarch.PtrSize
    	for hashShift != 0 {
    		hashShift -= nChildrenLog2
    
    		n := i.children[(hash>>hashShift)&nChildrenMask].Load()
    		if n == nil {
    			return *new(V), false
    		}
    		if n.isEntry {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/sumdb/note/note.go

    	Name() string
    
    	// KeyHash returns the key hash.
    	KeyHash() uint32
    
    	// Verify reports whether sig is a valid signature of msg.
    	Verify(msg, sig []byte) bool
    }
    
    // A Signer signs messages using a specific key.
    type Signer interface {
    	// Name returns the server name associated with the key.
    	Name() string
    
    	// KeyHash returns the key hash.
    	KeyHash() uint32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  3. 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)
  4. src/crypto/ed25519/ed25519_test.go

    	// and verify something.
    	sig, err = private.Sign(nil, hash[:], &Options{Hash: crypto.SHA512, Context: "123"})
    	if err != nil {
    		t.Fatal(err)
    	}
    	if err := VerifyWithOptions(public, hash[:], sig, &Options{Hash: crypto.SHA512, Context: "123"}); err != nil {
    		t.Errorf("valid signature rejected: %v", err)
    	}
    	if err := VerifyWithOptions(public, hash[:], sig, &Options{Hash: crypto.SHA512, Context: "321"}); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/CrossBuildCachingRuleExecutor.java

    import org.gradle.internal.action.ConfigurableRule;
    import org.gradle.internal.action.ConfigurableRules;
    import org.gradle.internal.action.InstantiatingAction;
    import org.gradle.internal.hash.HashCode;
    import org.gradle.internal.hash.Hashing;
    import org.gradle.internal.isolation.Isolatable;
    import org.gradle.internal.reflect.Instantiator;
    import org.gradle.internal.serialize.AbstractSerializer;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/caching/CrossBuildCachingRuleExecutorTest.groovy

                def snapshot = new StringValueSnapshot(it.toString())
                def hasher = Hashing.newHasher()
                snapshot.appendToHasher(hasher)
                def keyHash = hasher.hash()
                1 * store.put(keyHash, _)
                snapshot
            }
            1 * store.getIfPresent(_) >> null
            0 * _
            result.length == 6
        }
    
        void "validates entries on cache hit"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. 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)
Back to top