const math.MaxInt64
37 uses
math (current package)
const.go#L50: MaxInt64 = 1<<63 - 1 // 9223372036854775807
math/big
float.go#L821: return math.MaxInt64, Below
float.go#L830: return math.MaxInt64, Below
encoding/json/jsontext
token.go#L22: maxInt64 = math.MaxInt64
github.com/jackc/pgx/v5/pgconn
pgconn.go#L402: pgConn.slowWriteTimer = time.AfterFunc(time.Duration(math.MaxInt64),
pgconn.go#L2364: pgConn.slowWriteTimer = time.AfterFunc(time.Duration(math.MaxInt64),
github.com/jackc/pgx/v5/pgtype
builtin_wrappers.go#L220: if uint64(w) > uint64(math.MaxInt64) {
builtin_wrappers.go#L273: if uint64(w) > uint64(math.MaxInt64) {
builtin_wrappers.go#L324: if w > math.MaxInt64 {
builtin_wrappers.go#L360: if w > math.MaxInt64 {
int.go#L1199: if n.Int64 > math.MaxInt64 {
int.go#L1243: if n > math.MaxInt64 {
int.go#L1341: if n.Int64 > math.MaxInt64 {
int.go#L1363: if n.Int64 > math.MaxInt64 {
uint64.go#L75: if src.Uint64 > math.MaxInt64 {
go.pact.im/x/httprange
bytes.go#L83: if off > math.MaxInt64-int64(len(p))+1 {
golang.org/x/net/trace
histogram.go#L299: upperBound = math.MaxInt64
google.golang.org/grpc
rpc_util.go#L131: return d.doWithMaxSize(r, math.MaxInt64)
rpc_util.go#L162: if maxMessageSize < math.MaxInt64 {
rpc_util.go#L1024: if limit := int64(maxReceiveMessageSize); limit < math.MaxInt64 {
google.golang.org/grpc/internal/serviceconfig
duration.go#L117: const maxSeconds = math.MaxInt64 / int64(time.Second)
duration.go#L118: const maxNanosAtMaxSeconds = math.MaxInt64 % int64(time.Second)
duration.go#L123: *d = Duration(math.MaxInt64)
google.golang.org/grpc/internal/transport
defaults.go#L31: infinity = time.Duration(math.MaxInt64)
http_util.go#L206: const maxHours = math.MaxInt64 / uint64(time.Hour)
http_util.go#L209: return time.Duration(math.MaxInt64), nil
google.golang.org/protobuf/types/known/durationpb
duration.pb.go#L184: return time.Duration(math.MaxInt64)
mime/multipart
formdata.go#L100: if maxFileMemoryBytes == math.MaxInt64 {
formdata.go#L105: maxMemoryBytes = math.MaxInt64
net/http
request.go#L1095: return readRequestLimit(b, math.MaxInt64)
request.go#L1152: mimeHeader, err := readMIMEHeader(tp, math.MaxInt64, maxHeaders)
response.go#L203: err = readTransfer(resp, r, math.MaxInt64)
transfer.go#L956: hdr, err := readMIMEHeader(textproto.NewReader(b.r), math.MaxInt64, b.maxTrailerHeaders)
net/http/internal/http2
config.go#L65: setDefault(&conf.PingTimeout, 1, math.MaxInt64, 15*time.Second)
net/textproto
reader.go#L171: lim = math.MaxInt64
reader.go#L508: return readMIMEHeader(r, math.MaxInt64, math.MaxInt64)