func strconv.Itoa

197 uses

	strconv (current package)
		atoi.go#L45: 	return &NumError{fn, str, errors.New("invalid base " + Itoa(base))}
		atoi.go#L49: 	return &NumError{fn, str, errors.New("invalid bit size " + Itoa(bitSize))}
		itoa.go#L34: func Itoa(i int) string {

	cloud.google.com/go/logging
		logging.go#L544: 	return strconv.Itoa(int(v))

	contrib.go.opencensus.io/exporter/stackdriver
		stats.go#L187: 	return "go-" + strconv.Itoa(os.Getpid()) + "@" + hostname

	contrib.go.opencensus.io/integrations/ocsql
		driver.go#L837: 		key := "sql.arg" + strconv.Itoa(i)
		driver.go#L850: 			key = "sql.arg." + strconv.Itoa(arg.Ordinal)

	crypto
		crypto.go#L64: 		return "unknown hash value " + strconv.Itoa(int(h))
		crypto.go#L134: 	panic("crypto: requested hash function #" + strconv.Itoa(int(h)) + " is unavailable")

	crypto/aes
		cipher.go#L25: 	return "crypto/aes: invalid key size " + strconv.Itoa(int(k))

	crypto/des
		cipher.go#L20: 	return "crypto/des: invalid key size " + strconv.Itoa(int(k))

	crypto/ed25519
		ed25519.go#L128: 		panic("ed25519: bad seed length: " + strconv.Itoa(l))
		ed25519.go#L159: 		panic("ed25519: bad private key length: " + strconv.Itoa(l))
		ed25519.go#L205: 		panic("ed25519: bad public key length: " + strconv.Itoa(l))

	crypto/rc4
		rc4.go#L26: 	return "crypto/rc4: invalid key size " + strconv.Itoa(int(k))

	crypto/tls
		alert.go#L94: 	return "tls: alert(" + strconv.Itoa(int(e)) + ")"

	crypto/x509
		x509.go#L219: 	return strconv.Itoa(int(algo))
		x509.go#L243: 	return strconv.Itoa(int(algo))
		x509.go#L1098: 				return errors.New("x509: cannot parse IP address of length " + strconv.Itoa(len(data)))

	crypto/x509/internal/macos
		security.go#L45: 	return s.call + " error: " + strconv.Itoa(int(s.status))

	database/sql
		sql.go#L156: 		return "IsolationLevel(" + strconv.Itoa(int(i)) + ")"

	encoding/asn1
		asn1.go#L245: 		s += strconv.Itoa(v)

	encoding/xml
		marshal.go#L358: 			if id := prefix + "_" + strconv.Itoa(p.seq); p.attrNS[id] == "" {
		xml.go#L35: 	return "XML syntax error on line " + strconv.Itoa(e.Line) + ": " + e.Msg

	flag
		flag.go#L157: func (i *intValue) String() string { return strconv.Itoa(int(*i)) }

	github.com/aws/aws-sdk-go/internal/ini
		number_helper.go#L126: 		buf.WriteString(strconv.Itoa(i) + ": binary format\n")
		number_helper.go#L129: 		buf.WriteString(strconv.Itoa(i) + ": octal format\n")
		number_helper.go#L132: 		buf.WriteString(strconv.Itoa(i) + ": hex format\n")
		number_helper.go#L135: 		buf.WriteString(strconv.Itoa(i) + ": exponent format\n")
		number_helper.go#L138: 		buf.WriteString(strconv.Itoa(i) + ": integer format\n")
		number_helper.go#L143: 		buf.WriteString(strconv.Itoa(i) + ": negative format\n")
		number_helper.go#L148: 		buf.WriteString(strconv.Itoa(i) + ": negative exponent format\n")

	github.com/aws/aws-sdk-go/private/protocol/query/queryutil
		queryutil.go#L140: 			slicePrefix = strconv.Itoa(i + 1)
		queryutil.go#L142: 			slicePrefix = slicePrefix + "." + strconv.Itoa(i+1)
		queryutil.go#L191: 			keyName = strconv.Itoa(i+1) + "." + kname
		queryutil.go#L193: 			keyName = prefix + "." + strconv.Itoa(i+1) + "." + kname
		queryutil.go#L203: 			valueName = strconv.Itoa(i+1) + "." + vname
		queryutil.go#L205: 			valueName = prefix + "." + strconv.Itoa(i+1) + "." + vname
		queryutil.go#L229: 		v.Set(name, strconv.Itoa(value))

	github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil
		build.go#L290: 		str = strconv.Itoa(converted)

	github.com/evanw/esbuild/internal/css_parser
		css_decls.go#L305: 						{Kind: css_lexer.TNumber, Text: strconv.Itoa(hexR(hex))}, commaToken,
		css_decls.go#L306: 						{Kind: css_lexer.TNumber, Text: strconv.Itoa(hexG(hex))}, commaToken,
		css_decls.go#L307: 						{Kind: css_lexer.TNumber, Text: strconv.Itoa(hexB(hex))}, commaToken,
		css_decls.go#L319: 						{Kind: css_lexer.TNumber, Text: strconv.Itoa(hexR(hex))}, commaToken,
		css_decls.go#L320: 						{Kind: css_lexer.TNumber, Text: strconv.Itoa(hexG(hex))}, commaToken,
		css_decls.go#L321: 						{Kind: css_lexer.TNumber, Text: strconv.Itoa(hexB(hex))}, commaToken,
		css_decls.go#L660: 				{Kind: css_lexer.TNumber, Text: strconv.Itoa(hexR(hex))}, commaToken,
		css_decls.go#L661: 				{Kind: css_lexer.TNumber, Text: strconv.Itoa(hexG(hex))}, commaToken,
		css_decls.go#L662: 				{Kind: css_lexer.TNumber, Text: strconv.Itoa(hexB(hex))}, commaToken,

	github.com/evanw/esbuild/internal/renamer
		renamer.go#L486: 			name = prefix + strconv.Itoa(int(tries))
		renamer.go#L522: 			name = prefix + strconv.Itoa(int(tries))

	github.com/ghodss/yaml
		yaml.go#L137: 				keyString = strconv.Itoa(typedKey)

	github.com/go-git/gcfg/token
		token.go#L68: 		s = "token(" + strconv.Itoa(int(tok)) + ")"

	github.com/go-git/go-billy/v5/util
		util.go#L137: 	return strconv.Itoa(int(1e9 + r%1e9))[1:]

	github.com/go-git/go-git/v5
		blame.go#L262: 	mlnl := len(strconv.Itoa(len(lines)))

	github.com/go-git/go-git/v5/plumbing/format/diff
		unified_encoder.go#L309: 		sb.WriteString(strconv.Itoa(h.fromLine))
		unified_encoder.go#L311: 		sb.WriteString(strconv.Itoa(h.fromLine))
		unified_encoder.go#L313: 		sb.WriteString(strconv.Itoa(h.fromCount))
		unified_encoder.go#L319: 		sb.WriteString(strconv.Itoa(h.toLine))
		unified_encoder.go#L321: 		sb.WriteString(strconv.Itoa(h.toLine))
		unified_encoder.go#L323: 		sb.WriteString(strconv.Itoa(h.toCount))

	github.com/go-git/go-git/v5/plumbing/transport/http
		common.go#L30: 	req.Header.Add("Content-Length", strconv.Itoa(content.Len()))

	github.com/go-redis/redis/v8
		ring.go#L305: 	return c.GetByKey(strconv.Itoa(rand.Int()))

	github.com/golang/protobuf/proto
		deprecated.go#L62: 	return strconv.Itoa(int(v))
		properties.go#L101: 	s += "," + strconv.Itoa(p.Tag)

	github.com/jackc/pgconn
		config.go#L109: 		address = net.JoinHostPort(host, strconv.Itoa(int(port)))
		config.go#L328: 			config.Password = passfile.FindPassword(host, strconv.Itoa(int(config.Port)), config.Database, config.User)

	github.com/jackc/pgproto3/v2
		error_response.go#L148: 		buf.WriteString(strconv.Itoa(int(src.Position)))
		error_response.go#L153: 		buf.WriteString(strconv.Itoa(int(src.InternalPosition)))
		error_response.go#L198: 		buf.WriteString(strconv.Itoa(int(src.Line)))

	github.com/mitchellh/go-homedir
		homedir.go#L114: 		cmd := exec.Command("getent", "passwd", strconv.Itoa(os.Getuid()))

	github.com/prometheus/client_golang/prometheus/promhttp
		instrument_server.go#L445: 		return strconv.Itoa(s)

	github.com/prometheus/procfs
		proc.go#L92: 	if _, err := os.Stat(fs.proc.Path(strconv.Itoa(pid))); err != nil {
		proc.go#L267: 	return p.fs.Path(append([]string{strconv.Itoa(p.PID)}, pa...)...)

	github.com/russross/blackfriday/v2
		inline.go#L495: 				fragment = append([]byte("footnote-"), []byte(strconv.Itoa(noteID))...)

	github.com/sergi/go-diff/diffmatchpatch
		diff.go#L1267: 			_, _ = text.WriteString(strconv.Itoa(utf8.RuneCountInString(aDiff.Text)))
		diff.go#L1272: 			_, _ = text.WriteString(strconv.Itoa(utf8.RuneCountInString(aDiff.Text)))
		patch.go#L37: 		coords1 = strconv.Itoa(p.Start1) + ",0"
		patch.go#L39: 		coords1 = strconv.Itoa(p.Start1 + 1)
		patch.go#L41: 		coords1 = strconv.Itoa(p.Start1+1) + "," + strconv.Itoa(p.Length1)
		patch.go#L45: 		coords2 = strconv.Itoa(p.Start2) + ",0"
		patch.go#L47: 		coords2 = strconv.Itoa(p.Start2 + 1)
		patch.go#L49: 		coords2 = strconv.Itoa(p.Start2+1) + "," + strconv.Itoa(p.Length2)

	github.com/yuin/goldmark/extension
		footnote.go#L514: 		is := strconv.Itoa(n.Index)
		footnote.go#L541: 		is := strconv.Itoa(n.Index)
		footnote.go#L561: 	is := strconv.Itoa(n.Index)
		footnote.go#L633: 	is := []byte(strconv.Itoa(index))
		footnote.go#L634: 	rs := []byte(strconv.Itoa(refCount))

	go.opencensus.io/plugin/ochttp
		client_stats.go#L119: 			tag.Upsert(StatusCode, strconv.Itoa(t.statusCode)),
		client_stats.go#L120: 			tag.Upsert(KeyClientStatus, strconv.Itoa(t.statusCode)),
		server.go#L201: 		allTags[0] = tag.Upsert(StatusCode, strconv.Itoa(t.statusCode))

	go.opencensus.io/zpages
		templates.go#L97: 	return strconv.Itoa(int(d / time.Millisecond))

	go/build
		build.go#L312: 		c.ReleaseTags = append(c.ReleaseTags, "go1."+strconv.Itoa(i))

	go/token
		token.go#L242: 		s = "token(" + strconv.Itoa(int(tok)) + ")"

	golang.org/x/crypto/blowfish
		cipher.go#L33: 	return "crypto/blowfish: invalid key size " + strconv.Itoa(int(k))

	golang.org/x/crypto/openpgp
		read.go#L286: 		return nil, nil, errors.UnsupportedError("hash not available: " + strconv.Itoa(int(hashId)))
		read.go#L297: 	return nil, nil, errors.UnsupportedError("unsupported signature type: " + strconv.Itoa(int(sigType)))
		write.go#L210: 			name = "#" + strconv.Itoa(int(hashId))

	golang.org/x/crypto/openpgp/errors
		errors.go#L71: 	return "openpgp: unknown packet type: " + strconv.Itoa(int(upte))

	golang.org/x/crypto/openpgp/packet
		compressed.go#L57: 		err = errors.UnsupportedError("unknown compression algorithm: " + strconv.Itoa(int(buf[0])))
		compressed.go#L113: 		s := strconv.Itoa(int(algo))
		encrypted_key.go#L39: 		return errors.UnsupportedError("unknown EncryptedKey version " + strconv.Itoa(int(buf[0])))
		encrypted_key.go#L90: 		err = errors.InvalidArgumentError("cannot decrypted encrypted session key with private key of type " + strconv.Itoa(int(priv.PubKeyAlgo)))
		encrypted_key.go#L117: 		return errors.InvalidArgumentError("don't know how to serialize encrypted key type " + strconv.Itoa(int(e.Algo)))
		encrypted_key.go#L160: 		return errors.InvalidArgumentError("cannot encrypt to public key of type " + strconv.Itoa(int(pub.PubKeyAlgo)))
		encrypted_key.go#L163: 	return errors.UnsupportedError("encrypting a key to public key of type " + strconv.Itoa(int(pub.PubKeyAlgo)))
		one_pass_signature.go#L36: 		err = errors.UnsupportedError("one-pass-signature packet version " + strconv.Itoa(int(buf[0])))
		one_pass_signature.go#L42: 		return errors.UnsupportedError("hash function: " + strconv.Itoa(int(buf[2])))
		one_pass_signature.go#L60: 		return errors.UnsupportedError("hash type: " + strconv.Itoa(int(ops.Hash)))
		private_key.go#L127: 			return errors.UnsupportedError("unsupported cipher in private key: " + strconv.Itoa(int(pk.cipher)))
		public_key.go#L57: 		err = errors.UnsupportedError("invalid oid length: " + strconv.Itoa(int(oidLen)))
		public_key.go#L122: 		return errors.UnsupportedError("Unsupported ECDH KDF length: " + strconv.Itoa(kdfLen))
		public_key.go#L132: 		return errors.UnsupportedError("Unsupported KDF reserved field: " + strconv.Itoa(reserved))
		public_key.go#L295: 		err = errors.UnsupportedError("public key type: " + strconv.Itoa(int(pk.PubKeyAlgo)))
		public_key_v3.go#L69: 		err = errors.UnsupportedError("public key type: " + strconv.Itoa(int(pk.PubKeyAlgo)))
		signature.go#L90: 		err = errors.UnsupportedError("signature packet version " + strconv.Itoa(int(buf[0])))
		signature.go#L103: 		err = errors.UnsupportedError("public key algorithm " + strconv.Itoa(int(sig.PubKeyAlgo)))
		signature.go#L110: 		return errors.UnsupportedError("hash function " + strconv.Itoa(int(buf[2])))
		signature.go#L383: 			return nil, errors.StructuralError("cross-signature has unexpected type " + strconv.Itoa(int(sigType)))
		signature.go#L387: 			err = errors.UnsupportedError("unknown critical signature subpacket type " + strconv.Itoa(int(packetType)))
		signature.go#L480: 		return errors.InvalidArgumentError("hash cannot be represented in OpenPGP: " + strconv.Itoa(int(sig.Hash)))
		signature.go#L555: 		err = errors.UnsupportedError("public key algorithm: " + strconv.Itoa(int(sig.PubKeyAlgo)))
		signature_v3.go#L42: 		err = errors.UnsupportedError("signature packet version " + strconv.Itoa(int(buf[0])))
		signature_v3.go#L50: 			"invalid hashed material length " + strconv.Itoa(int(buf[0])))
		signature_v3.go#L76: 		err = errors.UnsupportedError("public key algorithm " + strconv.Itoa(int(sig.PubKeyAlgo)))
		signature_v3.go#L81: 		return errors.UnsupportedError("hash function " + strconv.Itoa(int(buf[2])))
		symmetric_key_encrypted.go#L43: 		return errors.UnsupportedError("unknown cipher: " + strconv.Itoa(int(buf[1])))
		symmetric_key_encrypted.go#L88: 		return nil, ske.CipherFunc, errors.UnsupportedError("unknown cipher: " + strconv.Itoa(int(cipherFunc)))
		symmetric_key_encrypted.go#L92: 		return nil, cipherFunc, errors.StructuralError("length of decrypted key (" + strconv.Itoa(l) + ") " +
		symmetric_key_encrypted.go#L93: 			"not equal to cipher keysize (" + strconv.Itoa(cipherKeySize) + ")")
		symmetric_key_encrypted.go#L107: 		return nil, errors.UnsupportedError("unknown cipher: " + strconv.Itoa(int(cipherFunc)))
		symmetrically_encrypted.go#L50: 		return nil, errors.UnsupportedError("unknown cipher: " + strconv.Itoa(int(c)))

	golang.org/x/crypto/openpgp/s2k
		s2k.go#L166: 		return nil, errors.UnsupportedError("hash for S2K function: " + strconv.Itoa(int(buf[1])))
		s2k.go#L169: 		return nil, errors.UnsupportedError("hash not available: " + strconv.Itoa(int(hash)))

	golang.org/x/net/html
		token.go#L58: 	return "Invalid(" + strconv.Itoa(int(t)) + ")"
		token.go#L117: 	return "Invalid(" + strconv.Itoa(int(t.Type)) + ")"

	golang.org/x/net/http2
		gotrack.go#L111: 		err = errors.New("invalid base " + strconv.Itoa(base))
		http2.go#L205: 	return strconv.Itoa(code)
		server.go#L2434: 			clen = strconv.Itoa(len(p))

	golang.org/x/net/internal/socks
		client.go#L72: 		return nil, errors.New("unexpected protocol version " + strconv.Itoa(int(b[0])))
		client.go#L113: 		return nil, errors.New("unexpected protocol version " + strconv.Itoa(int(b[0])))
		client.go#L136: 		return nil, errors.New("unknown address type " + strconv.Itoa(int(b[3])))
		socks.go#L30: 		return "socks " + strconv.Itoa(int(cmd))
		socks.go#L61: 		return "unknown code: " + strconv.Itoa(int(code))
		socks.go#L97: 	port := strconv.Itoa(a.Port)
		socks.go#L316: 	return errors.New("unsupported authentication method " + strconv.Itoa(int(auth)))

	golang.org/x/pkgsite/internal/fetch
		fetch.go#L123: 		dcensus.RecordWithTag(ctx, dcensus.KeyStatus, strconv.Itoa(fr.Status), fetchLatency.M(latency))

	golang.org/x/pkgsite/internal/frontend
		fetch.go#L595: 		tag.Upsert(keyFetchStatus, strconv.Itoa(status)),
		imports.go#L154: 		display = strconv.Itoa(numImportedBy)
		license.go#L102: 		ids[index[p]] = safehtml.IdentifierFromConstantPrefix("lic", strconv.Itoa(i))
		paginate.go#L38: 	newQuery.Set("page", strconv.Itoa(page))
		unit.go#L211: 		page.MetaDescription = metaDescription(strconv.Itoa(main.ImportedByCount))

	golang.org/x/pkgsite/internal/index
		index.go#L52: 		values.Set("limit", strconv.Itoa(limit))

	golang.org/x/pkgsite/internal/middleware
		requestlog.go#L32: 		msg.WriteString(strconv.Itoa(entry.HTTPRequest.Status) + " ")

	golang.org/x/pkgsite/internal/postgres
		requeue.go#L168: 			return strconv.Itoa(*p)

	golang.org/x/pkgsite/internal/source
		source.go#L113: 		"line":       strconv.Itoa(line),

	golang.org/x/pkgsite/internal/worker
		metrics.go#L50: 		[]tag.Mutator{tag.Upsert(keyEnqueueStatus, strconv.Itoa(status))},

	google.golang.org/api/storage/v1
		storage-gen.go#L68: var _ = strconv.Itoa

	google.golang.org/grpc/credentials/alts/internal/conn
		aeadrekey.go#L47: 	return "alts/conn: invalid key size " + strconv.Itoa(int(k))

	google.golang.org/grpc/internal/resolver/dns
		dns_resolver.go#L256: 			addr := ip + ":" + strconv.Itoa(int(s.Port))

	google.golang.org/grpc/internal/transport
		http2_client.go#L444: 		headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-previous-rpc-attempts", Value: strconv.Itoa(callHdr.PreviousAttempts)})
		http2_server.go#L865: 	headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-status", Value: strconv.Itoa(int(st.Code()))})

	google.golang.org/protobuf/internal/encoding/tag
		tag.go#L161: 	tag = append(tag, strconv.Itoa(int(fd.Number())))

	google.golang.org/protobuf/internal/impl
		api_export.go#L79: 	return strconv.Itoa(int(n))

	gopkg.in/yaml.v2
		decode.go#L124: 		where = "line " + strconv.Itoa(line) + ": "
		decode.go#L376: 		panic("internal error: unknown node kind: " + strconv.Itoa(n.kind))

	image
		geom.go#L20: 	return "(" + strconv.Itoa(p.X) + "," + strconv.Itoa(p.Y) + ")"

	io/ioutil
		tempfile.go#L37: 	return strconv.Itoa(int(1e9 + r%1e9))[1:]

	net/http
		h2_bundle.go#L2967: 		err = errors.New("invalid base " + strconv.Itoa(base))
		h2_bundle.go#L3276: 	return strconv.Itoa(code)
		h2_bundle.go#L5989: 			clen = strconv.Itoa(len(p))
		response.go#L252: 			text = "status code " + strconv.Itoa(r.StatusCode)
		response.go#L257: 		text = strings.TrimPrefix(text, strconv.Itoa(r.StatusCode)+" ")
		socks_bundle.go#L78: 		return nil, errors.New("unexpected protocol version " + strconv.Itoa(int(b[0])))
		socks_bundle.go#L119: 		return nil, errors.New("unexpected protocol version " + strconv.Itoa(int(b[0])))
		socks_bundle.go#L142: 		return nil, errors.New("unknown address type " + strconv.Itoa(int(b[3])))
		socks_bundle.go#L186: 		return "socks " + strconv.Itoa(int(cmd))
		socks_bundle.go#L217: 		return "unknown code: " + strconv.Itoa(int(code))
		socks_bundle.go#L253: 	port := strconv.Itoa(a.Port)
		socks_bundle.go#L472: 	return errors.New("unsupported authentication method " + strconv.Itoa(int(auth)))

	os/user
		user.go#L65: 	return "user: unknown userid " + strconv.Itoa(int(e))
		cgo_lookup_unix.go#L172: 		return nil, UnknownGroupIdError(strconv.Itoa(gid))
		cgo_lookup_unix.go#L179: 		Gid:  strconv.Itoa(int(grp.gr_gid)),
		listgroups_unix.go#L49: 		gids = append(gids, strconv.Itoa(int(g)))

	reflect
		type.go#L595: 	return "kind" + strconv.Itoa(int(k))
		type.go#L1049: 	return "ChanDir" + strconv.Itoa(int(d))
		type.go#L2388: 			panic("reflect.StructOf: field " + strconv.Itoa(i) + " has no name")
		type.go#L2391: 			panic("reflect.StructOf: field " + strconv.Itoa(i) + " has invalid name")
		type.go#L2394: 			panic("reflect.StructOf: field " + strconv.Itoa(i) + " has no type")
		type.go#L2842: 	s := "[" + strconv.Itoa(count) + "]" + typ.String()

	regexp/syntax
		prog.go#L296: 		pc := strconv.Itoa(j)
		regexp.go#L119: 		b.WriteString("<invalid op" + strconv.Itoa(int(re.Op)) + ">")
		regexp.go#L214: 			b.WriteString(strconv.Itoa(re.Min))
		regexp.go#L218: 					b.WriteString(strconv.Itoa(re.Max))