const math.MaxUint16

23 uses

	math (current package)
		const.go#L54: 	MaxUint16 = 1<<16 - 1           // 65535

	compress/flate
		huffman_code.go#L57: func maxNode() literalNode { return literalNode{math.MaxUint16, math.MaxInt32} }

	github.com/jackc/pgx/v5/pgconn
		config.go#L913: 	if port < 1 || port > math.MaxUint16 {
		pgconn.go#L1268: 	if len(paramValues) > math.MaxUint16 {
		pgconn.go#L1269: 		result.concludeCommand(CommandTag{}, fmt.Errorf("extended protocol limited to %v parameters", math.MaxUint16))

	github.com/jackc/pgx/v5/pgproto3
		bind.go#L121: 	if len(src.ParameterFormatCodes) > math.MaxUint16 {
		bind.go#L129: 	if len(src.Parameters) > math.MaxUint16 {
		bind.go#L143: 	if len(src.ResultFormatCodes) > math.MaxUint16 {
		copy_both_response.go#L51: 	if len(src.ColumnFormatCodes) > math.MaxUint16 {
		copy_in_response.go#L52: 	if len(src.ColumnFormatCodes) > math.MaxUint16 {
		copy_out_response.go#L52: 	if len(src.ColumnFormatCodes) > math.MaxUint16 {
		data_row.go#L68: 	if len(src.Values) > math.MaxUint16 {
		function_call.go#L101: 	if len(src.ArgFormatCodes) > math.MaxUint16 {
		function_call.go#L109: 	if len(src.Arguments) > math.MaxUint16 {
		parameter_description.go#L47: 	if len(src.ParameterOIDs) > math.MaxUint16 {
		parse.go#L65: 	if len(src.ParameterOIDs) > math.MaxUint16 {
		row_description.go#L106: 	if len(src.Fields) > math.MaxUint16 {

	github.com/jackc/pgx/v5/pgtype
		builtin_wrappers.go#L165: 	if v.Int64 > math.MaxUint16 {
		int.go#L969: 	if n > math.MaxUint16 {
		int.go#L1543: 	if n > 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

	net/netip
		netip.go#L258: 			if acc > math.MaxUint16 {