reflect.Value.SetInt (method)
13 uses
reflect (current package)
value.go#L2332: 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#L594: defaultValue.SetInt(*params.defaultValue)
encoding/binary
binary.go#L648: v.SetInt(int64(d.int8()))
binary.go#L650: v.SetInt(int64(d.int16()))
binary.go#L652: v.SetInt(int64(d.int32()))
binary.go#L654: v.SetInt(d.int64())
encoding/json
decode.go#L994: v.SetInt(n)
fmt
scan.go#L1028: v.SetInt(s.scanInt(verb, v.Type().Bits()))
go.opentelemetry.io/otel/attribute
value.go#L84: cp.Elem().Index(i).SetInt(int64(val))
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L280: reflect.ValueOf(out).Elem().SetInt(i)
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. |