reflect.Value.Elem (method)
74 uses
reflect (current package)
deepequal.go#L122: return deepValueEqual(v1.Elem(), v2.Elem(), visited)
deepequal.go#L127: return deepValueEqual(v1.Elem(), v2.Elem(), visited)
type.go#L1765: o := New(initFuncTypes(n)).Elem()
type.go#L2405: typ = (*structType)(tt.Elem().Field(0).Addr().UnsafePointer())
type.go#L2406: ut = (*uncommonType)(tt.Elem().Field(1).Addr().UnsafePointer())
type.go#L2408: copy(tt.Elem().Field(2).Slice(0, len(methods)).Interface().([]abi.Method), methods)
value.go#L1224: func (v Value) Elem() Value {
value.go#L1320: v = v.Elem()
value.go#L1343: v = v.Elem()
value.go#L3190: return v.Elem()
value.go#L3370: return v.Elem().Comparable()
value.go#L3395: v = v.Elem()
value.go#L3398: u = u.Elem()
value.go#L3612: ret := New(t).Elem()
value.go#L3619: ret := New(t).Elem()
value.go#L3626: ret := New(t).Elem()
value.go#L3781: return cvtT2I(v.Elem(), typ)
encoding/asn1
asn1.go#L1120: offset, err := parseField(v.Elem(), b, 0, parseFieldParameters(params))
marshal.go#L585: return makeField(v.Elem(), params)
marshal.go#L593: defaultValue := reflect.New(v.Type()).Elem()
encoding/binary
binary.go#L318: v = v.Elem()
encoding/json
decode.go#L452: e := v.Elem()
decode.go#L453: if e.Kind() == reflect.Pointer && !e.IsNil() && (!decodingNull || e.Elem().Kind() == reflect.Pointer) {
decode.go#L471: if v.Elem().Kind() == reflect.Interface && v.Elem().Elem() == v {
decode.go#L472: v = v.Elem()
decode.go#L493: v = v.Elem()
decode.go#L687: mapElem = reflect.New(elemType).Elem()
decode.go#L718: subv = subv.Elem()
decode.go#L771: kv = kv.Elem()
encode.go#L660: e.reflectValue(v.Elem(), opts)
encode.go#L690: fv = fv.Elem()
encode.go#L878: pe.elemEnc(e, v.Elem(), opts)
flag
flag.go#L308: defVal = defVal.Elem()
flag.go#L313: ptrVal.Elem().Set(defVal)
fmt
print.go#L344: val = val.Elem()
print.go#L857: value := f.Elem()
print.go#L920: switch a := f.Elem(); a.Kind() {
scan.go#L1024: switch v := ptr.Elem(); v.Kind() {
github.com/gotd/td/tdp
tdp.go#L92: v := reflect.ValueOf(obj).Elem()
go.opentelemetry.io/otel/attribute
set.go#L395: at := reflect.New(reflect.ArrayOf(len(kvs), keyValueType)).Elem()
value.go#L84: cp.Elem().Index(i).SetInt(int64(val))
value.go#L88: slice: cp.Elem().Interface(),
go.opentelemetry.io/otel/internal/attribute
attribute.go#L29: copy(cp.Elem().Slice(0, len(v)).Interface().([]bool), v)
attribute.go#L30: return cp.Elem().Interface()
attribute.go#L37: copy(cp.Elem().Slice(0, len(v)).Interface().([]int64), v)
attribute.go#L38: return cp.Elem().Interface()
attribute.go#L45: copy(cp.Elem().Slice(0, len(v)).Interface().([]float64), v)
attribute.go#L46: return cp.Elem().Interface()
attribute.go#L53: copy(cp.Elem().Slice(0, len(v)).Interface().([]string), v)
attribute.go#L54: return cp.Elem().Interface()
attribute.go#L67: _ = reflect.Copy(cpy.Elem(), rv)
attribute.go#L68: return cpy.Elem().Slice(0, correctLen).Interface().([]bool)
attribute.go#L81: _ = reflect.Copy(cpy.Elem(), rv)
attribute.go#L82: return cpy.Elem().Slice(0, correctLen).Interface().([]int64)
attribute.go#L95: _ = reflect.Copy(cpy.Elem(), rv)
attribute.go#L96: return cpy.Elem().Slice(0, correctLen).Interface().([]float64)
attribute.go#L109: _ = reflect.Copy(cpy.Elem(), rv)
attribute.go#L110: return cpy.Elem().Slice(0, correctLen).Interface().([]string)
internal/fmtsort
sort.go#L173: c := compare(reflect.ValueOf(aVal.Elem().Type()), reflect.ValueOf(bVal.Elem().Type()))
sort.go#L177: return compare(aVal.Elem(), bVal.Elem())
net/http
h2_error.go#L15: dst := reflect.ValueOf(target).Elem()
net/http/httptrace
trace.go#L179: tv := reflect.ValueOf(t).Elem()
trace.go#L180: ov := reflect.ValueOf(old).Elem()
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L277: if !s.readASN1Int64(&i) || reflect.ValueOf(out).Elem().OverflowInt(i) {
asn1.go#L280: reflect.ValueOf(out).Elem().SetInt(i)
asn1.go#L284: if !s.readASN1Uint64(&u) || reflect.ValueOf(out).Elem().OverflowUint(u) {
asn1.go#L287: reflect.ValueOf(out).Elem().SetUint(u)
asn1.go#L693: reflect.ValueOf(out).Elem().Set(reflect.ValueOf(defaultValue))
|
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. |