reflect.Value.Index (method)
45 uses
reflect (current package)
deepequal.go#L93: if !deepValueEqual(v1.Index(i), v2.Index(i), visited) {
deepequal.go#L113: if !deepValueEqual(v1.Index(i), v2.Index(i), visited) {
iter.go#L141: if !yield(ValueOf(i), v.Index(i)) {
iter.go#L149: if !yield(ValueOf(i), v.Index(i)) {
value.go#L455: slice.Index(i).Set(x)
value.go#L1400: func (v Value) Index(i int) Value {
value.go#L1697: if !v.Index(i).IsZero() {
value.go#L2794: s.Index(n + i).Set(v)
value.go#L3269: if !v.Index(i).Comparable() {
value.go#L3347: if !v.Index(i).Equal(u.Index(i)) {
encoding/asn1
asn1.go#L681: offset, err = parseField(ret.Index(i), bytes, offset, params)
marshal.go#L547: return makeField(v.Index(0), fp)
marshal.go#L552: m[i], err = makeField(v.Index(i), fp)
encoding/binary
binary.go#L850: d.value(v.Index(i))
binary.go#L872: d.value(v.Index(i))
binary.go#L919: e.value(v.Index(i))
binary.go#L937: e.value(v.Index(i))
encoding/json
decode.go#L561: if err := d.value(v.Index(i)); err != nil {
decode.go#L587: v.Index(i).SetZero() // zero remainder of array
encode.go#L890: ae.elemEnc(e, v.Index(i), opts)
fmt
print.go#L884: bytes[i] = byte(f.Index(i).Uint())
print.go#L902: p.printValue(f.Index(i), verb, depth+1)
print.go#L911: p.printValue(f.Index(i), verb, depth+1)
scan.go#L1042: v.Index(i).SetUint(uint64(str[i]))
github.com/gotd/td/tdp
tdp.go#L49: vi := v.Index(i)
go.opentelemetry.io/otel/attribute
hash.go#L69: h = h.Bool(rv.Index(i).Bool())
hash.go#L75: h = h.Int64(rv.Index(i).Int())
hash.go#L81: h = h.Float64(rv.Index(i).Float())
hash.go#L87: h = h.String(rv.Index(i).String())
hash.go#L110: h = hashValue(h, rv.Index(i).Interface().(Value))
set.go#L119: return value.Index(idx).Interface().(KeyValue), true
set.go#L134: return rValue.Index(idx).Interface().(KeyValue).Key >= k
set.go#L139: keyValue := rValue.Index(idx).Interface().(KeyValue)
set.go#L404: *at.Index(i).Addr().Interface().(*KeyValue) = keyValue
value.go#L507: if rv.Index(i).Bool() {
value.go#L583: out := strconv.AppendInt(scratch[:0], rv.Index(i).Int(), 10)
value.go#L680: val := rv.Index(i).Float()
value.go#L759: size += len(rv.Index(i).String()) + commaLen + 2 // Account for JSON string quotes and comma.
value.go#L768: appendJSONString(dst, rv.Index(i).String())
value.go#L850: appendJSONValue(dst, rv.Index(i).Interface().(Value))
internal/fmtsort
sort.go#L118: if c := compare(aVal.Index(i), bVal.Index(i)); c != 0 {
 |
The pages are generated with Golds v0.8.4. (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. |