func reflect.ValueOf
86 uses
reflect (current package)
deepequal.go#L233: v1 := ValueOf(x)
deepequal.go#L234: v2 := ValueOf(y)
iter.go#L18: tmp := ValueOf(i)
iter.go#L42: return []Value{ValueOf(yield(in[0]))}
iter.go#L77: if !yield(ValueOf(i)) {
iter.go#L85: if !yield(ValueOf(i)) {
iter.go#L93: if !yield(ValueOf(i)) {
iter.go#L128: return []Value{ValueOf(yield(in[0], in[1]))}
iter.go#L141: if !yield(ValueOf(i), v.Index(i)) {
iter.go#L149: if !yield(ValueOf(i), v.Index(i)) {
iter.go#L157: if !yield(ValueOf(i), ValueOf(v)) {
swapper.go#L19: v := ValueOf(slice)
value.go#L3277: func ValueOf(i any) Value {
crypto/x509
verify.go#L517: excludedValue := reflect.ValueOf(excluded)
verify.go#L536: permittedValue := reflect.ValueOf(permitted)
database/sql/driver
types.go#L85: sv := reflect.ValueOf(src)
types.go#L113: rv := reflect.ValueOf(v)
types.go#L233: if rv := reflect.ValueOf(vr); rv.Kind() == reflect.Pointer &&
types.go#L262: rv := reflect.ValueOf(v)
encoding/asn1
asn1.go#L738: v.Set(reflect.ValueOf(result))
asn1.go#L929: val.Field(0).Set(reflect.ValueOf(RawContent(bytes)))
asn1.go#L951: reflect.Copy(val, reflect.ValueOf(innerBytes))
asn1.go#L1115: v := reflect.ValueOf(val)
marshal.go#L737: e, err := makeField(reflect.ValueOf(val), parseFieldParameters(params))
encoding/binary
binary.go#L254: v := reflect.ValueOf(data)
binary.go#L291: v := reflect.ValueOf(data)
binary.go#L405: v := reflect.Indirect(reflect.ValueOf(data))
binary.go#L434: v := reflect.Indirect(reflect.ValueOf(data))
binary.go#L461: v := reflect.Indirect(reflect.ValueOf(data))
binary.go#L671: return dataSize(reflect.Indirect(reflect.ValueOf(v)))
encoding/json
decode.go#L172: rv := reflect.ValueOf(v)
decode.go#L522: v.Set(reflect.ValueOf(ai))
decode.go#L617: v.Set(reflect.ValueOf(oi))
decode.go#L916: v.Set(reflect.ValueOf(value))
decode.go#L953: v.Set(reflect.ValueOf(string(s)))
decode.go#L988: v.Set(reflect.ValueOf(n))
encode.go#L298: e.reflectValue(reflect.ValueOf(v), opts)
fmt
print.go#L545: p.printValue(reflect.ValueOf(v), verb, 0)
print.go#L592: if v := reflect.ValueOf(arg); v.Kind() == reflect.Pointer && v.IsNil() {
print.go#L702: p.fmtPointer(reflect.ValueOf(arg), 'p')
print.go#L759: p.printValue(reflect.ValueOf(f), verb, 0)
print.go#L940: switch v := reflect.ValueOf(a[argNum]); v.Kind() {
scan.go#L1018: val := reflect.ValueOf(v)
github.com/oapi-codegen/runtime
bindform.go#L36: ptrVal := reflect.Indirect(reflect.ValueOf(ptr))
bindform.go#L92: ptrVal := reflect.Indirect(reflect.ValueOf(ptr))
bindform.go#L147: v.Set(reflect.ValueOf(result))
bindform.go#L172: v.Set(reflect.ValueOf(file))
bindform.go#L262: result.SetMapIndex(reflect.ValueOf(key), value.Elem())
bindform.go#L274: result.SetMapIndex(reflect.ValueOf(key), value)
bindform.go#L279: result.SetMapIndex(reflect.ValueOf(key), value.Elem())
bindparam.go#L107: v := reflect.Indirect(reflect.ValueOf(dest))
bindparam.go#L232: v := reflect.Indirect(reflect.ValueOf(dest))
bindparam.go#L313: dv := reflect.Indirect(reflect.ValueOf(dest))
bindparam.go#L346: v = reflect.Indirect(reflect.ValueOf(output))
bindparam.go#L420: dv.Set(reflect.ValueOf(output))
bindparam.go#L460: dv.Set(reflect.ValueOf(output))
bindparam.go#L536: v := reflect.ValueOf(dest)
bindstring.go#L36: v := reflect.ValueOf(dst)
bindstring.go#L137: v.Set(reflect.ValueOf(parsedTime))
bindstring.go#L159: v.Set(reflect.ValueOf(parsedDate))
deepobject.go#L197: v := reflect.ValueOf(dst)
deepobject.go#L206: dstKey := reflect.ValueOf(key)
deepobject.go#L250: dst.Set(reflect.ValueOf(date))
deepobject.go#L272: dst.Set(reflect.ValueOf(tm))
styleparam.go#L58: v := reflect.ValueOf(value)
styleparam.go#L73: t := reflect.Indirect(reflect.ValueOf(value)).Type()
styleparam.go#L188: v := reflect.Indirect(reflect.ValueOf(value))
styleparam.go#L251: v := reflect.ValueOf(value)
styleparam.go#L408: v := reflect.Indirect(reflect.ValueOf(value))
internal/fmtsort
sort.go#L127: c := compare(reflect.ValueOf(aVal.Elem().Type()), reflect.ValueOf(bVal.Elem().Type()))
net/http
h2_bundle.go#L4595: if rv := reflect.ValueOf(v); rv.Kind() == reflect.Uintptr {
h2_error.go#L14: dst := reflect.ValueOf(target).Elem()
h2_error.go#L19: src := reflect.ValueOf(e)
transfer.go#L1105: return reflect.ValueOf(r).Field(0).Interface().(io.Reader), true
transport.go#L382: if rv := reflect.ValueOf(altProto["https"]); rv.IsValid() && rv.Type().Kind() == reflect.Struct && rv.Type().NumField() == 1 {
net/http/httptrace
trace.go#L179: tv := reflect.ValueOf(t).Elem()
trace.go#L180: ov := reflect.ValueOf(old).Elem()
trace.go#L199: tfCopy := reflect.ValueOf(tf.Interface())
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.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. |