const unicode/utf8.UTFMax

25 uses

	unicode/utf8 (current package)
		utf8.go#L19: 	UTFMax    = 4            // maximum number of bytes of a UTF-8 encoded Unicode character.
		utf8.go#L260: 	lim := end - UTFMax
		utf8.go#L300: 	lim := end - UTFMax

	bufio
		bufio.go#L306: 	for b.r+utf8.UTFMax > b.w && !utf8.FullRune(b.buf[b.r:b.w]) && b.err == nil && b.w-b.r < len(b.buf) {
		bufio.go#L728: 	if n < utf8.UTFMax {
		bufio.go#L733: 		if n < utf8.UTFMax {

	bytes
		buffer.go#L306: 	m, ok := b.tryGrowByReslice(utf8.UTFMax)
		buffer.go#L308: 		m = b.grow(utf8.UTFMax)
		bytes.go#L176: 		var b [utf8.UTFMax]byte

	encoding/json
		decode.go#L1208: 	b := make([]byte, len(s)+2*utf8.UTFMax)
		decode.go#L1214: 		if w >= len(b)-2*utf8.UTFMax {
		decode.go#L1215: 			nb := make([]byte, (len(b)+utf8.UTFMax)*2)
		encode.go#L999: 		if n > utf8.UTFMax {
		encode.go#L1000: 			n = utf8.UTFMax

	fmt
		format.go#L145: 		width := 2 + prec + 2 + utf8.UTFMax + 1
		scan.go#L306: 	buf      [utf8.UTFMax]byte // used only inside ReadRune
		scan.go#L308: 	pendBuf  [utf8.UTFMax]byte // bytes left over

	strconv
		quote.go#L69: 	var runeTmp [utf8.UTFMax]byte
		quote.go#L474: 					var arr [utf8.UTFMax]byte

	strings
		strings.go#L504: 		b.Grow(len(s) + utf8.UTFMax)

	vendor/golang.org/x/text/unicode/norm
		composition.go#L17: 	maxByteBufferSize = utf8.UTFMax * maxBufferSize // 128
		composition.go#L199: 	rb.nbyte += utf8.UTFMax
		composition.go#L281: 	rb.nbyte += utf8.UTFMax
		normalize.go#L602: 	var buf [maxBufferSize * utf8.UTFMax]byte
		transform.go#L44: 	if len(rb.out) < rb.nrune*utf8.UTFMax {