reflect.Value.Addr (method)
35 uses
reflect (current package)
type.go#L1876: ft := (*funcType)(unsafe.Pointer(o.Field(0).Addr().Pointer()))
type.go#L1877: args := unsafe.Slice((**rtype)(unsafe.Pointer(o.Field(1).Addr().Pointer())), n)[0:0:n]
type.go#L2406: typ = (*structType)(tt.Elem().Field(0).Addr().UnsafePointer())
type.go#L2407: ut = (*uncommonType)(tt.Elem().Field(1).Addr().UnsafePointer())
value.go#L266: func (v Value) Addr() Value {
encoding/asn1
asn1.go#L899: switch v := v.Addr().Interface().(type) {
encoding/json
decode.go#L452: v = v.Addr()
encode.go#L496: va := v.Addr()
encode.go#L532: va := v.Addr()
encode.go#L1244: return v.Addr().Interface().(isZeroer).IsZero()
encoding/xml
marshal.go#L457: pv := val.Addr()
marshal.go#L468: pv := val.Addr()
marshal.go#L595: pv := val.Addr()
marshal.go#L618: pv := val.Addr()
marshal.go#L868: pv := vf.Addr()
read.go#L264: pv := val.Addr()
read.go#L277: pv := val.Addr()
read.go#L362: pv := val.Addr()
read.go#L373: pv := val.Addr()
read.go#L589: pv := saveData.Addr()
github.com/google/go-cmp/cmp
compare.go#L252: px, py := vx.Addr(), vy.Addr()
report_references.go#L38: vx = vx.Addr()
report_references.go#L41: vy = vy.Addr()
report_reflect.go#L122: ptrRef, visited := ptrs.Push(v.Addr())
github.com/jackc/pgx/v5
rows.go#L868: scanTargets[i] = v.FieldByIndex(f.path).Addr().Interface()
github.com/jackc/pgx/v5/pgtype
builtin_wrappers.go#L744: return w.exportedFields[i].Addr().Interface()
builtin_wrappers.go#L782: return a.slice.Index(i).Addr().Interface()
builtin_wrappers.go#L904: return a.slice.Index(i).Addr().Interface()
builtin_wrappers.go#L947: return a.array.Index(i).Addr().Interface()
convert.go#L75: dstPtr = dstVal.Field(0).Addr()
google.golang.org/protobuf/internal/impl
convert.go#L427: v = v.Addr() // T => *T
text/template
exec.go#L702: ptr = ptr.Addr()
exec.go#L926: value = value.Addr()
exec.go#L1125: v = v.Addr()
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)