const math.MaxInt32
56 uses
math (current package)
const.go#L48: MaxInt32 = 1<<31 - 1 // 2147483647
logb.go#L40: return MaxInt32
logb.go#L42: return MaxInt32
math/big
float.go#L97: MaxExp = math.MaxInt32 // largest supported exponent
compress/flate
deflate.go#L58: skipNever = math.MaxInt32
deflate.go#L133: d.blockStart = math.MaxInt32
deflatefast.go#L23: bufferReset = math.MaxInt32 - maxStoreBlockSize*2
huffman_code.go#L57: func maxNode() literalNode { return literalNode{math.MaxUint16, math.MaxInt32} }
huffman_code.go#L168: levels[level].nextPairFreq = math.MaxInt32
huffman_code.go#L178: if l.nextPairFreq == math.MaxInt32 && l.nextCharFreq == math.MaxInt32 {
huffman_code.go#L184: levels[level+1].nextPairFreq = math.MaxInt32
crypto/internal/sysrand
rand_getrandom.go#L28: maxSize := math.MaxInt32
crypto/x509
oid.go#L238: if ret64 > math.MaxInt32 {
encoding/asn1
asn1.go#L322: if ret64 > math.MaxInt32 {
github.com/kr/text
wrap.go#L58: cost[i] = math.MaxInt32
go.pact.im/x/clock/fakeclock
fakeclock.go#L61: t := time.Unix(math.MaxInt32, 0)
golang.org/x/net/http2
config.go#L101: setDefault(&conf.MaxUploadBufferPerConnection, initialWindowSize, math.MaxInt32, 1<<20)
config.go#L103: setDefault(&conf.MaxUploadBufferPerConnection, initialWindowSize, math.MaxInt32, transportDefaultConnFlow)
config.go#L106: setDefault(&conf.MaxUploadBufferPerStream, 1, math.MaxInt32, 1<<20)
config.go#L108: setDefault(&conf.MaxUploadBufferPerStream, 1, math.MaxInt32, transportDefaultStreamFlow)
transport.go#L1088: int64(cc.nextStreamID)+2*int64(cc.pendingRequests) < math.MaxInt32 &&
transport.go#L2874: if s.Val > math.MaxInt32 {
writesched_priority.go#L79: ws.writeThrottleLimit = math.MaxInt32
writesched_priority.go#L406: limit := int32(math.MaxInt32)
writesched_priority.go#L421: ws.writeThrottleLimit = math.MaxInt32
writesched_random.go#L68: if wr, ok := q.consume(math.MaxInt32); ok {
writesched_roundrobin.go#L109: if wr, ok := q.consume(math.MaxInt32); ok {
golang.org/x/net/idna
punycode.go#L175: if p > math.MaxInt32-int64(a) {
google.golang.org/grpc
clientconn.go#L102: defaultClientMaxSendMessageSize = math.MaxInt32
server.go#L60: defaultServerMaxSendMessageSize = math.MaxInt32
google.golang.org/grpc/internal/idle
idle.go#L80: activeCallsCount: -math.MaxInt32,
idle.go#L151: if !atomic.CompareAndSwapInt32(&m.activeCallsCount, 0, -math.MaxInt32) {
idle.go#L164: if atomic.LoadInt32(&m.activeCallsCount) != -math.MaxInt32 {
idle.go#L166: atomic.AddInt32(&m.activeCallsCount, math.MaxInt32)
idle.go#L173: atomic.AddInt32(&m.activeCallsCount, math.MaxInt32)
idle.go#L242: atomic.AddInt32(&m.activeCallsCount, math.MaxInt32)
google.golang.org/grpc/internal/transport
defaults.go#L42: maxWindowSize = math.MaxInt32
defaults.go#L55: var MaxStreamID = uint32(math.MaxInt32 * 3 / 4)
flowcontrol.go#L143: if n > uint32(math.MaxInt32) {
flowcontrol.go#L144: n = uint32(math.MaxInt32)
google.golang.org/protobuf/encoding/protowire
wire.go#L503: if x>>3 > uint64(math.MaxInt32) {
google.golang.org/protobuf/internal/encoding/messageset
messageset.go#L135: if v < 1 || v > math.MaxInt32 {
google.golang.org/protobuf/internal/impl
encode.go#L119: if size > (math.MaxInt32 - 1) {
net/http
h2_bundle.go#L1126: http2setDefault(&conf.MaxUploadBufferPerConnection, http2initialWindowSize, math.MaxInt32, 1<<20)
h2_bundle.go#L1128: http2setDefault(&conf.MaxUploadBufferPerConnection, http2initialWindowSize, math.MaxInt32, http2transportDefaultConnFlow)
h2_bundle.go#L1131: http2setDefault(&conf.MaxUploadBufferPerStream, 1, math.MaxInt32, 1<<20)
h2_bundle.go#L1133: http2setDefault(&conf.MaxUploadBufferPerStream, 1, math.MaxInt32, http2transportDefaultStreamFlow)
h2_bundle.go#L8510: int64(cc.nextStreamID)+2*int64(cc.pendingRequests) < math.MaxInt32 &&
h2_bundle.go#L10552: if s.Val > math.MaxInt32 {
h2_bundle.go#L11681: ws.writeThrottleLimit = math.MaxInt32
h2_bundle.go#L12010: limit := int32(math.MaxInt32)
h2_bundle.go#L12025: ws.writeThrottleLimit = math.MaxInt32
h2_bundle.go#L12116: if wr, ok := q.consume(math.MaxInt32); ok {
h2_bundle.go#L12224: if wr, ok := q.consume(math.MaxInt32); ok {
vendor/golang.org/x/net/idna
punycode.go#L175: if p > math.MaxInt32-int64(a) {