internal/abi.StructField.Offset (field)
21 uses
internal/abi (current package)
type.go#L550: Offset uintptr // byte offset of field
internal/reflectlite
type.go#L631: if tf.Offset != vf.Offset {
reflect
abi.go#L240: if !a.regAssign(f.Typ, offset+f.Offset) {
type.go#L985: f.Offset = p.Offset
type.go#L1480: if tf.Offset != vf.Offset {
type.go#L2365: f.Offset = offset
type.go#L2514: if ft.Offset > off {
type.go#L2515: n := (ft.Offset - off) / goarch.PtrSize
type.go#L2521: off = ft.Offset
type.go#L2543: pi := add(p, ft.Offset, "&x.field safe")
type.go#L2544: qi := add(q, ft.Offset, "&x.field safe")
type.go#L2585: Offset: 0,
type.go#L2609: return f.Offset + f.Typ.PtrBytes
type.go#L2908: addTypeBits(bv, offset+f.Offset, f.Typ)
value.go#L1302: ptr := add(v.ptr, field.Offset, "same as non-reflect &v.field")
runtime
alg.go#L186: h = typehash(f.Typ, add(p, f.Offset), h)
cgocall.go#L553: cgoCheckArg(f.Typ, add(p, f.Offset), true, top, msg)
type.go#L456: if tf.Offset != vf.Offset {
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |