reflect.Value.Index (method)

76 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) {
		value.go#L424: 			slice.Index(i).Set(x)
		value.go#L1342: func (v Value) Index(i int) Value {
		value.go#L1535: 			if !v.Index(i).IsZero() {
		value.go#L2659: 		s.Index(i).Set(x[j])

	crypto/x509
		verify.go#L515: 		constraint := excludedValue.Index(i).Interface()
		verify.go#L535: 		constraint := permittedValue.Index(i).Interface()

	encoding/asn1
		asn1.go#L647: 		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#L545: 			d.value(v.Index(i))
		binary.go#L567: 			d.value(v.Index(i))
		binary.go#L614: 			e.value(v.Index(i))
		binary.go#L632: 			e.value(v.Index(i))

	encoding/json
		decode.go#L561: 			if err := d.value(v.Index(i)); err != nil {
		decode.go#L589: 				v.Index(i).Set(z)
		encode.go#L916: 		ae.elemEnc(e, v.Index(i), opts)

	encoding/xml
		marshal.go#L458: 			if err := p.marshalValue(val.Index(i), finfo, startTemplate); err != nil {
		marshal.go#L617: 			if err := p.marshalAttr(start, name, val.Index(i)); err != nil {
		read.go#L285: 		if err := d.unmarshalAttr(val.Index(n), attr); err != nil {
		read.go#L401: 		if err := d.unmarshal(v.Index(n), start); err != nil {

	fmt
		print.go#L838: 						bytes[i] = byte(f.Index(i).Uint())
		print.go#L856: 				p.printValue(f.Index(i), verb, depth+1)
		print.go#L865: 				p.printValue(f.Index(i), verb, depth+1)
		scan.go#L1042: 				v.Index(i).SetUint(uint64(str[i]))

	github.com/go-pg/pg/v10/internal
		util.go#L25: 			v := v.Index(pos)
		util.go#L38: 				elem := v.Index(v.Len() - 1)
		util.go#L55: 			return v.Index(v.Len() - 1)
		util.go#L59: 		return v.Index(v.Len() - 1)

	github.com/go-pg/pg/v10/orm
		delete.go#L135: 		el := indirect(slice.Index(i))
		hook.go#L62: 		v := slice.Index(i)
		hook.go#L86: 			v := slice.Index(i)
		insert.go#L284: 		el := indirect(slice.Index(i))
		model_table_slice.go#L149: 		strct := indirect(m.slice.Index(i))
		query.go#L1649: 		el := indirect(slice.Index(i))
		update.go#L323: 			b, err = q.appendValues(fmter, b, fields, slice.Index(i))
		util.go#L30: 		return indirect(v.Index(0).Elem()).Type()
		util.go#L97: 			visitField(v.Index(i), index, fn)

	github.com/go-pg/pg/v10/types
		array_append.go#L88: 			elem := v.Index(i)
		in_op.go#L48: 		elem := slice.Index(i)

	github.com/golang/mock/gomock
		call.go#L431: 		va.Index(i).Set(v.Index(i))
		matchers.go#L231: 		wantedMatcher := Eq(wanted.Index(i).Interface())
		matchers.go#L236: 			if wantedMatcher.Matches(given.Index(j).Interface()) {

	github.com/google/go-cmp/cmp
		compare.go#L440: 			step.vx, step.xkey = vx.Index(ix), ix
		compare.go#L445: 			step.vy, step.ykey = vy.Index(iy), iy
		report_reflect.go#L238: 			s := opts.WithTypeMode(elideType).FormatValue(v.Index(i), t.Kind(), ptrs)
		report_slices.go#L167: 				s := formatString(v.Index(0).String())
		report_slices.go#L271: 					ss = append(ss, formatHex(v.Index(i).Uint()))
		report_slices.go#L305: 						ss = append(ss, fmt.Sprint(v.Index(i).Int()))
		report_slices.go#L307: 						ss = append(ss, fmt.Sprint(v.Index(i).Uint()))
		report_slices.go#L309: 						ss = append(ss, formatHex(v.Index(i).Uint()))
		report_slices.go#L311: 						ss = append(ss, fmt.Sprint(v.Index(i).Interface()))
		report_slices.go#L362: 		return vx.Index(ix).Interface() == vy.Index(iy).Interface()

	github.com/google/go-cmp/cmp/internal/value
		sort.go#L62: 			if isLess(x.Index(i), y.Index(i)) {
		sort.go#L65: 			if isLess(y.Index(i), x.Index(i)) {

	github.com/vmihailenco/msgpack/v5
		decode_slice.go#L108: 		elem := v.Index(i)
		decode_slice.go#L140: 		sv := v.Index(i)
		encode_slice.go#L134: 		if err := e.EncodeValue(v.Index(i)); err != nil {

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

	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#L225: 			v := vs.Index(i)
		message_reflect_field.go#L524: 			if !isZero(v.Index(i)) {

	gotest.tools/v3/assert/cmp
		compare.go#L193: 				if reflect.DeepEqual(colValue.Index(i).Interface(), item) {

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

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