- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 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)