reflect.Value.Uint (method)
83 uses
reflect (current package)
value.go#L1107: return v.Uint() == 0
value.go#L1938: func (v Value) Uint() uint64 {
value.go#L2643: return makeInt(v.flag.ro(), v.Uint(), t)
value.go#L2663: return makeFloat(v.flag.ro(), float64(v.Uint()), t)
value.go#L2694: if x := v.Uint(); uint64(rune(x)) == x {
database/sql
convert.go#L510: return strconv.FormatUint(rv.Uint(), 10)
convert.go#L526: return strconv.AppendUint(buf, rv.Uint(), 10), true
database/sql/driver
types.go#L90: uv := sv.Uint()
types.go#L118: u64 := rv.Uint()
types.go#L269: return int64(rv.Uint()), nil
types.go#L271: u64 := rv.Uint()
encoding/binary
binary.go#L653: e.uint8(uint8(v.Uint()))
binary.go#L655: e.uint16(uint16(v.Uint()))
binary.go#L657: e.uint32(uint32(v.Uint()))
binary.go#L659: e.uint64(v.Uint())
encoding/gob
encode.go#L197: value := v.Uint()
encode.go#L456: return val.Uint() == 0
encoding/json
encode.go#L350: return v.Uint() == 0
encode.go#L563: b := strconv.AppendUint(e.scratch[:0], v.Uint(), 10)
encode.go#L1022: w.s = strconv.FormatUint(w.v.Uint(), 10)
encoding/xml
marshal.go#L759: return strconv.FormatUint(val.Uint(), 10), nil, nil
marshal.go#L860: if err := emit(p, strconv.AppendUint(scratch[:0], vf.Uint(), 10)); err != nil {
marshal.go#L1051: return v.Uint() == 0
fmt
print.go#L747: p.fmtInteger(f.Uint(), unsigned, verb)
print.go#L838: bytes[i] = byte(f.Index(i).Uint())
print.go#L903: n := v.Uint()
github.com/google/go-cmp/cmp
compare.go#L274: s.report(vx.Uint() == vy.Uint(), 0)
report_reflect.go#L161: return textLine(fmt.Sprint(v.Uint()))
report_reflect.go#L164: return textLine(formatHex(v.Uint()))
report_reflect.go#L166: return textLine(fmt.Sprint(v.Uint()))
report_reflect.go#L168: return textLine(formatHex(v.Uint()))
report_slices.go#L234: ss = append(ss, formatHex(v.Index(i).Uint()))
report_slices.go#L270: ss = append(ss, fmt.Sprint(v.Index(i).Uint()))
report_slices.go#L272: ss = append(ss, formatHex(v.Index(i).Uint()))
github.com/google/go-cmp/cmp/internal/value
sort.go#L43: return x.Uint() < y.Uint()
zero.go#L21: return v.Uint() == 0
github.com/imdario/mergo
mergo.go#L45: return v.Uint() == 0
github.com/jackc/pgtype
convert.go#L42: convVal := uint(refVal.Uint())
convert.go#L45: convVal := uint8(refVal.Uint())
convert.go#L48: convVal := uint16(refVal.Uint())
convert.go#L51: convVal := uint32(refVal.Uint())
convert.go#L54: convVal := uint64(refVal.Uint())
github.com/jackc/pgx/v4
values.go#L258: convVal := uint(val.Uint())
values.go#L261: convVal := uint8(val.Uint())
values.go#L264: convVal := uint16(val.Uint())
values.go#L267: convVal := uint32(val.Uint())
values.go#L270: convVal := uint64(val.Uint())
go.opentelemetry.io/otel/label
kv.go#L128: return Uint(k, uint(rv.Uint()))
kv.go#L130: return Uint32(k, uint32(rv.Uint()))
kv.go#L132: return Uint64(k, rv.Uint())
golang.org/x/crypto/ssh
messages.go#L523: out = append(out, uint8(field.Index(j).Uint()))
messages.go#L526: out = appendU32(out, uint32(field.Uint()))
messages.go#L528: out = appendU64(out, uint64(field.Uint()))
messages.go#L530: out = append(out, uint8(field.Uint()))
golang.org/x/net/http2
server.go#L658: return uintptr(rv.Uint())
golang.org/x/pkgsite/internal/worker
server.go#L712: return v.Uint()
google.golang.org/api/internal/gensupport
json.go#L204: return v.Uint() == 0
google.golang.org/protobuf/internal/descfmt
stringer.go#L234: isZero = rv.Uint() == 0
google.golang.org/protobuf/internal/impl
codec_map.go#L295: return keys[i].Uint() < keys[j].Uint()
convert.go#L227: return pref.ValueOfUint32(uint32(v.Uint()))
convert.go#L251: return pref.ValueOfUint64(uint64(v.Uint()))
message_reflect_field.go#L254: return rv.Uint() != 0
gopkg.in/yaml.v2
encode.go#L353: s := strconv.FormatUint(in.Uint(), 10)
sorter.go#L89: return float64(v.Uint()), true
sorter.go#L108: return a.Uint() < b.Uint()
yaml.go#L450: return v.Uint() == 0
internal/fmtsort
sort.go#L96: a, b := aVal.Uint(), bVal.Uint()
net/http
h2_bundle.go#L4227: return uintptr(rv.Uint())
text/template
exec.go#L327: truth = val.Uint() != 0
funcs.go#L189: x = int64(index.Uint())
funcs.go#L474: truth = arg1.Int() >= 0 && uint64(arg1.Int()) == arg.Uint()
funcs.go#L476: truth = arg.Int() >= 0 && arg1.Uint() == uint64(arg.Int())
funcs.go#L493: truth = arg1.Uint() == arg.Uint()
funcs.go#L536: truth = arg1.Int() < 0 || uint64(arg1.Int()) < arg2.Uint()
funcs.go#L538: truth = arg2.Int() >= 0 && arg1.Uint() < uint64(arg2.Int())
funcs.go#L553: truth = arg1.Uint() < arg2.Uint()
 |
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. |