- Sort Score
- Result 10 results
- Languages All
Results 11 - 13 of 13 for TypeHash (0.08 sec)
-
src/cmd/compile/internal/ssa/rewrite.go
} } return false } func fixed32(c *Config, sym Sym, off int64) int32 { lsym := sym.(*obj.LSym) if ti, ok := (*lsym.Extra).(*obj.TypeInfo); ok { if off == 2*c.PtrSize { return int32(types.TypeHash(ti.Type.(*types.Type))) } } base.Fatalf("fixed32 data not known for %s:%d", sym, off) return 0 } // isFixedSym returns true if the contents of sym at the given offset
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
src/reflect/type.go
mt.Key = ktyp mt.Elem = etyp mt.Bucket = bucketOf(ktyp, etyp) mt.Hasher = func(p unsafe.Pointer, seed uintptr) uintptr { return typehash(ktyp, p, seed) } mt.Flags = 0 if ktyp.Size_ > abi.MapMaxKeyBytes { mt.KeySize = uint8(goarch.PtrSize) mt.Flags |= 1 // indirect key } else { mt.KeySize = uint8(ktyp.Size_) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/reflect/value.go
// typedarrayclear zeroes the value at ptr of an array of elemType, // only clears len elem. // //go:noescape func typedarrayclear(elemType *abi.Type, ptr unsafe.Pointer, len int) //go:noescape func typehash(t *abi.Type, p unsafe.Pointer, h uintptr) uintptr func verifyNotInHeapPtr(p uintptr) bool //go:noescape func growslice(t *abi.Type, old unsafeheader.Slice, num int) unsafeheader.Slice //go:noescape
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0)