Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 218 for hasRegs (0.1 sec)

  1. src/cmd/compile/internal/ssa/expand_calls.go

    	}
    	at := a.Type
    	if at.Size() == 0 {
    		return m0
    	}
    	if a.Op == OpDereference {
    		a.Op = OpLoad // For purposes of parameter passing expansion, a Dereference is a Load.
    	}
    
    	if !rc.hasRegs() && !CanSSA(at) {
    		dst := x.offsetFrom(b, rc.storeDest, rc.storeOffset, types.NewPtr(at))
    		if x.debug > 1 {
    			x.Printf("...recur store %s at %s\n", a.LongString(), dst.LongString())
    		}
    		if a.Op == OpLoad {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/sha3/hashes.go

    Michael Anthony Knyszek <******@****.***> 1717451199 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashingTest.groovy

            given:
            def threadRange = 1..100
    
            when:
            def hashes = threadRange.collect {
                supplyAsync({ Hashing.hashString(currentThread().name) }, newFixedThreadPool(threadRange.size()))
            }*.join().toSet()
    
            then:
            hashes.size() == threadRange.size()
        }
    
        def 'null does not collide with other values'() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

        }
        return fromHashers(hashers);
      }
    
      @Override
      public Hasher newHasher(int expectedInputSize) {
        checkArgument(expectedInputSize >= 0);
        Hasher[] hashers = new Hasher[functions.length];
        for (int i = 0; i < hashers.length; i++) {
          hashers[i] = functions[i].newHasher(expectedInputSize);
        }
        return fromHashers(hashers);
      }
    
      private Hasher fromHashers(Hasher[] hashers) {
        return new Hasher() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tlog.go

    	}
    	indexes := subTreeIndex(0, n, nil)
    	hashes, err := r.ReadHashes(indexes)
    	if err != nil {
    		return Hash{}, err
    	}
    	if len(hashes) != len(indexes) {
    		return Hash{}, fmt.Errorf("tlog: ReadHashes(%d indexes) = %d hashes", len(indexes), len(hashes))
    	}
    	hash, hashes := subTreeHash(0, n, hashes)
    	if len(hashes) != 0 {
    		panic("tlog: bad index math in TreeHash")
    	}
    	return hash, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

        }
        return fromHashers(hashers);
      }
    
      @Override
      public Hasher newHasher(int expectedInputSize) {
        checkArgument(expectedInputSize >= 0);
        Hasher[] hashers = new Hasher[functions.length];
        for (int i = 0; i < hashers.length; i++) {
          hashers[i] = functions[i].newHasher(expectedInputSize);
        }
        return fromHashers(hashers);
      }
    
      private Hasher fromHashers(Hasher[] hashers) {
        return new Hasher() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    // Hasher
    
    // A Hasher maps each type to its hash value.
    // For efficiency, a hasher uses memoization; thus its memory
    // footprint grows monotonically over time.
    // Hashers are not thread-safe.
    // Hashers have reference semantics.
    // Call MakeHasher to create a Hasher.
    type Hasher struct {
    	memo map[types.Type]uint32
    
    	// ptrMap records pointer identity.
    	ptrMap map[any]uint32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go

    	}
    
    	hashes, err := r.ReadHashes(indexes)
    	if err != nil {
    		return nil, err
    	}
    	if len(hashes) != len(indexes) {
    		return nil, fmt.Errorf("tlog: ReadHashes(%d indexes) = %d hashes", len(indexes), len(hashes))
    	}
    
    	tile := make([]byte, size*HashSize)
    	for i := 0; i < size; i++ {
    		copy(tile[i*HashSize:], hashes[i][:])
    	}
    	return tile, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/ConfigurableClassLoaderHierarchyHasherTest.groovy

        def hasher = hasher((runtimeLoader): "system")
    
        def "hashes known classloader"() {
            expect:
            hasher.getClassLoaderHash(runtimeLoader) == hashFor("system")
        }
    
        def "hashes unknown classloader"() {
            def unknownLoader = Mock(ClassLoader)
            expect:
            hasher.getClassLoaderHash(unknownLoader) == null
        }
    
        def "hashes hashed classloader"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/mod/sumdb/test.go

    	}
    	s.lookup[key] = id
    	hashes, err := tlog.StoredHashesForRecordHash(id, tlog.RecordHash(data), s.hashes)
    	if err != nil {
    		panic(err)
    	}
    	s.hashes = append(s.hashes, hashes...)
    
    	return id, nil
    }
    
    func (s *TestServer) ReadTileData(ctx context.Context, t tlog.Tile) ([]byte, error) {
    	s.mu.Lock()
    	defer s.mu.Unlock()
    
    	return tlog.ReadTileData(t, s.hashes)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top