reflect.Value.SetInt (method)
15 uses
reflect (current package)
value.go#L2388: func (v Value) SetInt(x int64) {
encoding/asn1
asn1.go#L904: val.SetInt(int64(parsedInt))
asn1.go#L910: val.SetInt(parsedInt)
asn1.go#L1017: v.SetInt(*params.defaultValue)
marshal.go#L591: defaultValue.SetInt(*params.defaultValue)
encoding/binary
binary.go#L861: v.SetInt(int64(d.int8()))
binary.go#L863: v.SetInt(int64(d.int16()))
binary.go#L865: v.SetInt(int64(d.int32()))
binary.go#L867: v.SetInt(d.int64())
encoding/json
decode.go#L784: kv.SetInt(n)
decode.go#L996: v.SetInt(n)
fmt
scan.go#L1028: v.SetInt(s.scanInt(verb, v.Type().Bits()))
github.com/oapi-codegen/runtime
bindstring.go#L70: v.SetInt(val)
deepobject.go#L327: iv.SetInt(val)
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L280: reflect.ValueOf(out).Elem().SetInt(i)
![]() |
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. |