const math.MaxInt32
57 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#L135: 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#L323: if ret64 > math.MaxInt32 {
github.com/andybalholm/brotli/flate
huffman_code.go#L57: func maxNode() literalNode { return literalNode{math.MaxUint16, math.MaxInt32} }
huffman_code.go#L167: levels[level].nextPairFreq = math.MaxInt32
huffman_code.go#L177: if l.nextPairFreq == math.MaxInt32 && l.nextCharFreq == math.MaxInt32 {
huffman_code.go#L183: levels[level+1].nextPairFreq = math.MaxInt32
github.com/andybalholm/brotli/matchfinder
zdfast.go#L38: if int(z.current) >= int(math.MaxInt32)-2*z.MaxDistance-len(z.history) {
zfast.go#L44: if int(z.current) >= int(math.MaxInt32)-2*z.MaxDistance-len(z.history) {
github.com/go-faster/jx
dec_int.gen.go#L677: if val > math.MaxInt32+1 {
dec_int.gen.go#L686: if val > math.MaxInt32 {
github.com/klauspost/compress/flate
deflate.go#L55: skipNever = math.MaxInt32
deflate.go#L142: d.blockStart = math.MaxInt32
huffman_bit_writer.go#L577: var size = math.MaxInt32
huffman_bit_writer.go#L1037: if estBits < math.MaxInt32 {
huffman_code.go#L157: return math.MaxInt32
huffman_code.go#L224: levels[level].nextPairFreq = math.MaxInt32
huffman_code.go#L234: if l.nextPairFreq == math.MaxInt32 && l.nextCharFreq == math.MaxInt32 {
huffman_code.go#L240: levels[level+1].nextPairFreq = math.MaxInt32
huffman_code.go#L256: l.nextCharFreq = math.MaxInt32
github.com/klauspost/compress/zstd
dict.go#L233: enc := encoder(&bestFastEncoder{fastBase: fastBase{maxMatchOff: int32(maxMatchLen), bufferReset: math.MaxInt32 - int32(maxMatchLen*2), lowMem: false}})
encoder.go#L651: } else if size < math.MaxInt32 {
encoder_options.go#L54: return &fastEncoderDict{fastEncoder: fastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}}
encoder_options.go#L56: return &fastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}
encoder_options.go#L60: return &doubleFastEncoderDict{fastEncoderDict: fastEncoderDict{fastEncoder: fastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}}}
encoder_options.go#L62: return &doubleFastEncoder{fastEncoder: fastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}}
encoder_options.go#L65: return &betterFastEncoderDict{betterFastEncoder: betterFastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}}
encoder_options.go#L67: return &betterFastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}
encoder_options.go#L69: return &bestFastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}
fse_predefined.go#L61: if base > math.MaxInt32 {
net/http
h2_bundle.go#L1124: http2setDefault(&conf.MaxUploadBufferPerConnection, http2initialWindowSize, math.MaxInt32, 1<<20)
h2_bundle.go#L1126: http2setDefault(&conf.MaxUploadBufferPerConnection, http2initialWindowSize, math.MaxInt32, http2transportDefaultConnFlow)
h2_bundle.go#L1129: http2setDefault(&conf.MaxUploadBufferPerStream, 1, math.MaxInt32, 1<<20)
h2_bundle.go#L1131: http2setDefault(&conf.MaxUploadBufferPerStream, 1, math.MaxInt32, http2transportDefaultStreamFlow)
h2_bundle.go#L8366: int64(cc.nextStreamID)+2*int64(cc.pendingRequests) < math.MaxInt32 &&
h2_bundle.go#L10171: if s.Val > math.MaxInt32 {
h2_bundle.go#L11475: ws.writeThrottleLimit = math.MaxInt32
h2_bundle.go#L11803: limit := int32(math.MaxInt32)
h2_bundle.go#L11818: ws.writeThrottleLimit = math.MaxInt32
h2_bundle.go#L12019: if wr, ok := q.consume(math.MaxInt32); ok {
h2_bundle.go#L12108: if wr, ok := q.consume(math.MaxInt32); ok {
h2_bundle.go#L12216: if wr, ok := q.consume(math.MaxInt32); ok {
vendor/golang.org/x/net/idna
punycode.go#L175: if p > math.MaxInt32-int64(a) {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |