internal/abi.Type.Hash (field)
41 uses
internal/abi (current package)
type.go#L23: Hash uint32 // hash of type; avoids computation in hash tables
reflect
type.go#L1359: pp.Hash = fnv1(t.t.Hash, '*')
type.go#L1797: ch.Hash = fnv1(typ.Hash, 'c', byte(dir))
type.go#L1841: mt.Hash = fnv1(etyp.Hash, 'm', byte(ktyp.Hash>>24), byte(ktyp.Hash>>16), byte(ktyp.Hash>>8), byte(ktyp.Hash))
type.go#L1936: hash = fnv1(hash, byte(t.t.Hash>>24), byte(t.t.Hash>>16), byte(t.t.Hash>>8), byte(t.t.Hash))
type.go#L1945: hash = fnv1(hash, byte(t.t.Hash>>24), byte(t.t.Hash>>16), byte(t.t.Hash>>8), byte(t.t.Hash))
type.go#L1949: ft.Hash = hash
type.go#L2248: slice.Hash = fnv1(typ.Hash, '[')
type.go#L2494: hash = fnv1(hash, byte(ft.Hash>>24), byte(ft.Hash>>16), byte(ft.Hash>>8), byte(ft.Hash))
type.go#L2641: typ.Hash = hash
type.go#L2811: array.Hash = fnv1(typ.Hash, '[')
type.go#L2813: array.Hash = fnv1(array.Hash, byte(n))
type.go#L2815: array.Hash = fnv1(array.Hash, ']')
runtime
heapdump.go#L171: b := &typecache[t.Hash&(typeCacheBuckets-1)]
iface.go#L32: return uintptr(inter.Type.Hash ^ typ.Hash)
iface.go#L532: h := int(typ.Hash) & (newN - 1)
iface.go#L638: h := int(typ.Hash) & (newN - 1)
type.go#L291: tlist := typehash[t.Hash]
type.go#L297: typehash[t.Hash] = append(tlist, t)
type.go#L309: for _, candidate := range typehash[t.Hash] {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |