reflect.Value.Int (method)

80 uses

	reflect (current package)
		value.go#L984: func (v Value) Int() int64 {
		value.go#L1105: 		return v.Int() == 0
		value.go#L2638: 	return makeInt(v.flag.ro(), uint64(v.Int()), t)
		value.go#L2658: 	return makeFloat(v.flag.ro(), float64(v.Int()), t)
		value.go#L2685: 	if x := v.Int(); int64(rune(x)) == x {

	database/sql
		convert.go#L508: 		return strconv.FormatInt(rv.Int(), 10)
		convert.go#L524: 		return strconv.AppendInt(buf, rv.Int(), 10), true

	database/sql/driver
		types.go#L84: 		iv := sv.Int()
		types.go#L112: 		i64 := rv.Int()
		types.go#L267: 		return rv.Int(), nil

	encoding/asn1
		marshal.go#L486: 		return int64Encoder(v.Int()), nil

	encoding/binary
		binary.go#L641: 			e.int8(int8(v.Int()))
		binary.go#L643: 			e.int16(int16(v.Int()))
		binary.go#L645: 			e.int32(int32(v.Int()))
		binary.go#L647: 			e.int64(v.Int())

	encoding/gob
		encode.go#L188: 	value := v.Int()
		encode.go#L452: 		return val.Int() == 0

	encoding/json
		encode.go#L348: 		return v.Int() == 0
		encode.go#L552: 	b := strconv.AppendInt(e.scratch[:0], v.Int(), 10)
		encode.go#L1019: 		w.s = strconv.FormatInt(w.v.Int(), 10)

	encoding/xml
		marshal.go#L757: 		return strconv.FormatInt(val.Int(), 10), nil, nil
		marshal.go#L856: 				if err := emit(p, strconv.AppendInt(scratch[:0], vf.Int(), 10)); err != nil {
		marshal.go#L1049: 		return v.Int() == 0

	fmt
		print.go#L745: 		p.fmtInteger(uint64(f.Int()), signed, verb)
		print.go#L897: 				n := v.Int()

	github.com/aws/aws-sdk-go/private/protocol/json/jsonutil
		build.go#L209: 		buf.Write(strconv.AppendInt(scratch[:0], value.Int(), 10))

	github.com/google/go-cmp/cmp
		compare.go#L272: 		s.report(vx.Int() == vy.Int(), 0)
		report_reflect.go#L159: 		return textLine(fmt.Sprint(v.Int()))
		report_slices.go#L268: 						ss = append(ss, fmt.Sprint(v.Index(i).Int()))

	github.com/google/go-cmp/cmp/internal/value
		sort.go#L41: 		return x.Int() < y.Int()
		zero.go#L19: 		return v.Int() == 0

	github.com/imdario/mergo
		mergo.go#L43: 		return v.Int() == 0

	github.com/jackc/pgtype
		convert.go#L27: 		convVal := int(refVal.Int())
		convert.go#L30: 		convVal := int8(refVal.Int())
		convert.go#L33: 		convVal := int16(refVal.Int())
		convert.go#L36: 		convVal := int32(refVal.Int())
		convert.go#L39: 		convVal := int64(refVal.Int())

	github.com/jackc/pgx/v4
		values.go#L243: 		convVal := int(val.Int())
		values.go#L246: 		convVal := int8(val.Int())
		values.go#L249: 		convVal := int16(val.Int())
		values.go#L252: 		convVal := int32(val.Int())
		values.go#L255: 		convVal := int64(val.Int())

	go.opentelemetry.io/otel/label
		kv.go#L122: 		return Int(k, int(rv.Int()))
		kv.go#L124: 		return Int32(k, int32(rv.Int()))
		kv.go#L126: 		return Int64(k, int64(rv.Int()))

	golang.org/x/pkgsite/internal/worker
		server.go#L710: 		return uint64(v.Int())

	google.golang.org/api/internal/gensupport
		json.go#L202: 		return v.Int() == 0

	google.golang.org/protobuf/internal/descfmt
		stringer.go#L232: 			isZero = rv.Int() == 0

	google.golang.org/protobuf/internal/impl
		codec_map.go#L293: 			return keys[i].Int() < keys[j].Int()
		convert.go#L179: 	return pref.ValueOfInt32(int32(v.Int()))
		convert.go#L203: 	return pref.ValueOfInt64(int64(v.Int()))
		convert.go#L390: 	return pref.ValueOfEnum(pref.EnumNumber(v.Int()))
		legacy_enum.go#L39: 	return et.New(pref.EnumNumber(v.Int()))
		legacy_message.go#L216: 				pref.FieldNumber(v.FieldByName("Start").Int()),
		legacy_message.go#L217: 				pref.FieldNumber(v.FieldByName("End").Int() + 1),
		message_reflect_field.go#L252: 				return rv.Int() != 0

	gopkg.in/yaml.v2
		encode.go#L348: 	s := strconv.FormatInt(in.Int(), 10)
		sorter.go#L85: 		return float64(v.Int()), true
		sorter.go#L104: 		return a.Int() < b.Int()
		yaml.go#L446: 		return v.Int() == 0

	internal/fmtsort
		sort.go#L86: 		a, b := aVal.Int(), bVal.Int()

	text/template
		exec.go#L323: 		truth = val.Int() != 0
		funcs.go#L187: 		x = index.Int()
		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#L489: 				truth = arg1.Int() == arg.Int()
		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#L549: 			truth = arg1.Int() < arg2.Int()