const golang.org/x/mod/zip.MaxLICENSE

6 uses

	golang.org/x/mod/zip (current package)
		zip.go#L77: 	MaxLICENSE = 16 << 20
		zip.go#L166: 	errLICENSESize     = fmt.Errorf("LICENSE file too large (max size is %d bytes)", MaxLICENSE)
		zip.go#L306: 		if p == "LICENSE" && size > MaxLICENSE {
		zip.go#L461: 		if name == "LICENSE" && sz > MaxLICENSE {
		zip.go#L462: 			addError(zf, fmt.Errorf("LICENSE file too large (max size is %d bytes)", MaxLICENSE))

	golang.org/x/pkgsite/internal/licenses
		licenses.go#L56: var maxLicenseSize uint64 = modzip.MaxLICENSE