reflect.Value.SetInt (method)
27 uses
reflect (current package)
value.go#L1636: func (v Value) SetInt(x int64) {
database/sql
convert.go#L439: dv.SetInt(i64)
encoding/asn1
asn1.go#L901: val.SetInt(int64(parsedInt))
asn1.go#L907: val.SetInt(parsedInt)
asn1.go#L1014: v.SetInt(*params.defaultValue)
marshal.go#L594: defaultValue.SetInt(*params.defaultValue)
encoding/binary
binary.go#L574: v.SetInt(int64(d.int8()))
binary.go#L576: v.SetInt(int64(d.int16()))
binary.go#L578: v.SetInt(int64(d.int32()))
binary.go#L580: v.SetInt(d.int64())
encoding/gob
decode.go#L251: value.SetInt(v)
decode.go#L269: value.SetInt(v)
decode.go#L287: value.SetInt(v)
decode.go#L302: value.SetInt(v)
encoding/json
decode.go#L1002: v.SetInt(n)
encoding/xml
read.go#L620: dst.SetInt(0)
read.go#L627: dst.SetInt(itmp)
fmt
scan.go#L1028: v.SetInt(s.scanInt(verb, v.Type().Bits()))
github.com/jackc/pgtype
convert.go#L297: el.SetInt(int64(srcVal))
google.golang.org/protobuf/internal/impl
legacy_enum.go#L103: v.SetInt(int64(e.num))
gopkg.in/yaml.v2
decode.go#L489: out.SetInt(int64(resolved))
decode.go#L494: out.SetInt(resolved)
decode.go#L499: out.SetInt(int64(resolved))
decode.go#L504: out.SetInt(int64(resolved))
decode.go#L511: out.SetInt(int64(d))
text/template
exec.go#L865: value.SetInt(n.Int64)
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L269: reflect.ValueOf(out).Elem().SetInt(i)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |