- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for hashTermSet (0.22 sec)
-
src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go
terms, err := typeparams.UnionTermSet(t) // if err != nil t has invalid type restrictions. Fall back on a non-zero // hash. if err != nil { return 9151 } return h.hashTermSet(terms) } func (h Hasher) hashTermSet(terms []*types.Term) uint32 { hash := 9157 + 2*uint32(len(terms)) for _, term := range terms { // term order is not significant. termHash := h.Hash(term.Type()) if term.Tilde() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13.9K bytes - Viewed (0)