reflect.Value.Index (method)

57 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)

	encoding/xml
		marshal.go#L479: 			if err := p.marshalValue(val.Index(i), finfo, startTemplate); err != nil {
		marshal.go#L652: 			if err := p.marshalAttr(start, name, val.Index(i)); err != nil {
		read.go#L299: 		if err := d.unmarshalAttr(val.Index(n), attr); err != nil {
		read.go#L429: 		if err := d.unmarshal(v.Index(n), start, depth+1); err != nil {

	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/jackc/pgx/v5/pgtype
		array_codec.go#L418: 			innerLen = slice.Index(i).Len()
		array_codec.go#L419: 		} else if slice.Index(i).Len() != innerLen {
		array_codec.go#L422: 		if isRagged(slice.Index(i)) {
		builtin_wrappers.go#L760: 	return a.slice.Index(i).Interface()
		builtin_wrappers.go#L782: 	return a.slice.Index(i).Addr().Interface()
		builtin_wrappers.go#L803: 			s = s.Index(0)
		builtin_wrappers.go#L818: 		return a.slice.Index(i).Interface()
		builtin_wrappers.go#L830: 		v = v.Index(si)
		builtin_wrappers.go#L897: 		slice.Index(i).Set(subSlice)
		builtin_wrappers.go#L904: 	return a.slice.Index(i).Addr().Interface()
		builtin_wrappers.go#L923: 	return a.array.Index(i).Interface()
		builtin_wrappers.go#L947: 	return a.array.Index(i).Addr().Interface()

	go.uber.org/mock/gomock
		call.go#L482: 		va.Index(i).Set(v.Index(i))
		matchers.go#L288: 		wantedMatcher := Eq(wanted.Index(i).Interface())
		matchers.go#L293: 			if wantedMatcher.Matches(given.Index(j).Interface()) {

	go/ast
		print.go#L188: 				p.print(x.Index(i))
		print.go#L206: 				p.print(x.Index(i))

	golang.org/x/tools/go/ast/edge
		edge.go#L46: 		v = v.Index(idx) // asserts valid idx

	google.golang.org/protobuf/internal/impl
		convert_list.go#L114: 	return ls.conv.PBValueOf(ls.v.Elem().Index(i))
		convert_list.go#L117: 	ls.v.Elem().Index(i).Set(ls.conv.GoValueOf(v))
		legacy_message.go#L231: 			v := vs.Index(i)

	internal/fmtsort
		sort.go#L118: 			if c := compare(aVal.Index(i), bVal.Index(i)); c != 0 {

	text/template
		exec.go#L419: 			oneIteration(reflect.ValueOf(i), val.Index(i))
		funcs.go#L215: 			item = item.Index(x)