internal/abi.StructField.Offset (field)
25 uses
internal/abi (current package)
type.go#L577: Offset uintptr // byte offset of field
internal/reflectlite
type.go#L620: if tf.Offset != vf.Offset {
reflect
abi.go#L240: if !a.regAssign(f.Typ, offset+f.Offset) {
type.go#L1128: f.Offset = p.Offset
type.go#L1621: if tf.Offset != vf.Offset {
type.go#L2518: f.Offset = offset
type.go#L2671: if ft.Offset > off {
type.go#L2672: n := (ft.Offset - off) / goarch.PtrSize
type.go#L2678: off = ft.Offset
type.go#L2700: pi := add(p, ft.Offset, "&x.field safe")
type.go#L2701: qi := add(q, ft.Offset, "&x.field safe")
type.go#L2746: Offset: 0,
type.go#L2770: return f.Offset + f.Typ.PtrBytes
type.go#L3074: addTypeBits(bv, offset+f.Offset, f.Typ)
value.go#L1296: ptr := add(v.ptr, field.Offset, "same as non-reflect &v.field")
runtime
alg.go#L264: h = typehash(f.Typ, add(p, f.Offset), h)
alg.go#L331: if err := mapKeyError2(f.Typ, add(p, f.Offset)); err != nil {
cgocall.go#L671: cgoCheckArg(f.Typ, add(p, f.Offset), true, top, msg)
type.go#L474: if tf.Offset != vf.Offset {
unique
clone.go#L62: seq.stringOffsets = append(seq.stringOffsets, baseOffset+f.Offset)
clone.go#L64: buildStructCloneSeq(f.Typ, seq, baseOffset+f.Offset)
clone.go#L66: buildArrayCloneSeq(f.Typ, seq, baseOffset+f.Offset)
 |
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. |