func strconv.FormatInt
63 uses
strconv (current package)
number.go#L209: func FormatInt(i int64, base int) string {
compress/flate
inflate.go#L36: return "flate: corrupt input before offset " + strconv.FormatInt(int64(e), 10)
inflate.go#L53: return "flate: read error at offset " + strconv.FormatInt(e.Offset, 10) + ": " + e.Err.Error()
inflate.go#L65: return "flate: write error at offset " + strconv.FormatInt(e.Offset, 10) + ": " + e.Err.Error()
crypto/tls
common_string.go#L71: return "SignatureScheme(" + strconv.FormatInt(int64(i), 10) + ")"
common_string.go#L113: return "CurveID(" + strconv.FormatInt(int64(i), 10) + ")"
common_string.go#L134: return "ClientAuthType(" + strconv.FormatInt(int64(i), 10) + ")"
crypto/x509
x509_string.go#L57: return "KeyUsage(" + strconv.FormatInt(int64(i), 10) + ")"
x509_string.go#L87: return "ExtKeyUsage(" + strconv.FormatInt(int64(i), 10) + ")"
database/sql
convert.go#L567: return strconv.FormatInt(rv.Int(), 10)
encoding/base32
base32.go#L296: return "illegal base32 data at input byte " + strconv.FormatInt(int64(e), 10)
encoding/base64
base64.go#L299: return "illegal base64 data at input byte " + strconv.FormatInt(int64(e), 10)
encoding/json/jsontext
token.go#L314: return strconv.FormatInt(int64(t.num), 10), nil
encoding/json/v2
errors.go#L426: sb.WriteString(strconv.FormatInt(e.ByteOffset, 10))
encoding/xml
marshal.go#L797: return strconv.FormatInt(val.Int(), 10), nil, nil
flag
flag.go#L195: func (i *int64Value) String() string { return strconv.FormatInt(int64(*i), 10) }
github.com/jackc/pgx/v5
tx.go#L209: _, err := tx.conn.Exec(ctx, "savepoint sp_"+strconv.FormatInt(tx.savepointNum, 10))
tx.go#L350: _, err := sp.Exec(ctx, "release savepoint sp_"+strconv.FormatInt(sp.savepointNum, 10))
tx.go#L363: _, err := sp.Exec(ctx, "rollback to savepoint sp_"+strconv.FormatInt(sp.savepointNum, 10))
github.com/jackc/pgx/v5/pgconn
config.go#L241: address = filepath.Join(host, ".s.PGSQL.") + strconv.FormatInt(int64(port), 10)
github.com/jackc/pgx/v5/pgproto3
trace.go#L384: t.buf.WriteString(strconv.FormatInt(int64(encodedLen), 10))
github.com/jackc/pgx/v5/pgtype
int.go#L103: return []byte(strconv.FormatInt(int64(src.Int16), 10)), nil
int.go#L595: return s.ScanText(Text{String: strconv.FormatInt(n, 10), Valid: true})
int.go#L678: return []byte(strconv.FormatInt(int64(src.Int32), 10)), nil
int.go#L1181: return s.ScanText(Text{String: strconv.FormatInt(n, 10), Valid: true})
int.go#L1264: return []byte(strconv.FormatInt(int64(src.Int64), 10)), nil
int.go#L1789: return s.ScanText(Text{String: strconv.FormatInt(n, 10), Valid: true})
go/constant
kind_string.go#L26: return "Kind(" + strconv.FormatInt(int64(i), 10) + ")"
value.go#L185: func (x int64Val) String() string { return strconv.FormatInt(int64(x), 10) }
go/types
typestring.go#L140: w.string(strconv.FormatInt(t.len, 10))
golang.org/x/net/internal/httpcommon
request.go#L217: f("content-length", strconv.FormatInt(req.ActualContentLength, 10))
golang.org/x/text/width
kind_string.go#L25: return "Kind(" + strconv.FormatInt(int64(i), 10) + ")"
golang.org/x/tools/internal/pkgbits
syncmarker_string.go#L89: return "SyncMarker(" + strconv.FormatInt(int64(i+1), 10) + ")"
golang.org/x/tools/internal/typesinternal
errorcode_string.go#L177: return "ErrorCode(" + strconv.FormatInt(int64(i), 10) + ")"
google.golang.org/grpc/codes
code_string.go#L68: return "Code(" + strconv.FormatInt(int64(c), 10) + ")"
code_string.go#L109: return "CODE(" + strconv.FormatInt(int64(c), 10) + ")"
google.golang.org/grpc/internal/grpcutil
encode_duration.go#L46: return strconv.FormatInt(d, 10) + "n"
encode_duration.go#L49: return strconv.FormatInt(d, 10) + "u"
encode_duration.go#L52: return strconv.FormatInt(d, 10) + "m"
encode_duration.go#L55: return strconv.FormatInt(d, 10) + "S"
encode_duration.go#L58: return strconv.FormatInt(d, 10) + "M"
encode_duration.go#L61: return strconv.FormatInt(div(t, time.Hour), 10) + "H"
google.golang.org/protobuf/encoding/prototext
encode.go#L311: e.WriteName(strconv.FormatInt(int64(num), dec))
google.golang.org/protobuf/internal/encoding/defval
default.go#L139: return strconv.FormatInt(int64(v.Enum()), 10), nil
default.go#L144: return strconv.FormatInt(v.Int(), 10), nil
html/template
attr_string.go#L27: return "attr(" + strconv.FormatInt(int64(i), 10) + ")"
delim_string.go#L24: return "delim(" + strconv.FormatInt(int64(i), 10) + ")"
element_string.go#L26: return "element(" + strconv.FormatInt(int64(i), 10) + ")"
jsctx_string.go#L23: return "jsCtx(" + strconv.FormatInt(int64(i), 10) + ")"
state_string.go#L51: return "state(" + strconv.FormatInt(int64(i), 10) + ")"
urlpart_string.go#L24: return "urlPart(" + strconv.FormatInt(int64(i), 10) + ")"
internal/profile
merge.go#L257: lines[i*2+1] = strconv.FormatInt(line.Line, 16)
internal/types/errors
code_string.go#L197: return "Code(" + strconv.FormatInt(int64(i), 10) + ")"
math/big
accuracy_string.go#L23: return "Accuracy(" + strconv.FormatInt(int64(i), 10) + ")"
roundingmode_string.go#L26: return "RoundingMode(" + strconv.FormatInt(int64(i), 10) + ")"
net/http
fs.go#L426: w.Header().Set("Content-Length", strconv.FormatInt(sendSize, 10))
transfer.go#L303: if _, err := io.WriteString(w, strconv.FormatInt(t.ContentLength, 10)+"\r\n"); err != nil {
transfer.go#L307: trace.WroteHeaderField("Content-Length", []string{strconv.FormatInt(t.ContentLength, 10)})
net/http/internal/httpcommon
httpcommon.go#L368: f("content-length", strconv.FormatInt(req.ActualContentLength, 10))
os/exec
exec.go#L1201: buf.WriteString(strconv.FormatInt(w.skipped, 10))
regexp/syntax
op_string.go#L50: return "Op(" + strconv.FormatInt(int64(i), 10) + ")"
regexp.go#L423: s := strconv.FormatInt(int64(r), 16)
regexp.go#L431: b.WriteString(strconv.FormatInt(int64(r), 16))