const math.MaxUint16
12 uses
math (current package)
const.go#L49: MaxUint16 = 1<<16 - 1
compress/flate
huffman_code.go#L57: func maxNode() literalNode { return literalNode{math.MaxUint16, math.MaxInt32} }
encoding/gob
dec_helpers.go#L386: if math.MaxUint16 < x {
decode.go#L275: if math.MaxUint16 < v {
github.com/jackc/pgconn
config.go#L661: if port < 1 || port > math.MaxUint16 {
pgconn.go#L1051: if len(paramValues) > math.MaxUint16 {
pgconn.go#L1052: result.concludeCommand(nil, fmt.Errorf("extended protocol limited to %v parameters", math.MaxUint16))
github.com/jackc/pgtype
convert.go#L264: } else if srcVal > math.MaxUint16 {
numeric.go#L41: var bigMaxUint16 *big.Int = big.NewInt(math.MaxUint16)
golang.org/x/pkgsite/internal/queue
queue.go#L191: hash := hasher.Sum32() % math.MaxUint16
google.golang.org/protobuf/internal/encoding/text
encode.go#L148: if r <= math.MaxUint16 {
google.golang.org/protobuf/internal/impl
legacy_export.go#L67: const maxBlockSize = math.MaxUint16
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |