internal/abi.StructField.Offset (field)
24 uses
internal/abi (current package)
type.go#L551: Offset uintptr // byte offset of field
internal/reflectlite
type.go#L620: if tf.Offset != vf.Offset {
internal/runtime/maps
map.go#L878: if err := mapKeyError2(f.Typ, unsafe.Pointer(uintptr(p)+f.Offset)); err != nil {
reflect
abi.go#L240: if !a.regAssign(f.Typ, offset+f.Offset) {
type.go#L1197: f.Offset = p.Offset
type.go#L1716: if tf.Offset != vf.Offset {
type.go#L2439: f.Offset = offset
type.go#L2589: pi := add(p, ft.Offset, "&x.field safe")
type.go#L2590: qi := add(q, ft.Offset, "&x.field safe")
type.go#L2634: Offset: 0,
type.go#L2658: return f.Offset + f.Typ.PtrBytes
type.go#L2936: 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#L256: h = typehash(f.Typ, add(p, f.Offset), h)
cgocall.go#L725: cgoCheckArg(f.Typ, add(p, f.Offset), true, top, msg)
type.go#L247: buildGCMask(ft, dst.offset(f.Offset/goarch.PtrSize))
type.go#L252: dst = dst.offset(bigField.Offset / goarch.PtrSize)
type.go#L639: 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.8.4. (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. |