vendor: Update golang.org/cznic/...
This commit is contained in:
2
vendor/github.com/cznic/zappy/encode.go
generated
vendored
2
vendor/github.com/cznic/zappy/encode.go
generated
vendored
@@ -33,5 +33,5 @@ func emitLiteral(dst, lit []byte) (n int) {
|
||||
// MaxEncodedLen returns the maximum length of a zappy block, given its
|
||||
// uncompressed length.
|
||||
func MaxEncodedLen(srcLen int) int {
|
||||
return 10 + srcLen
|
||||
return 10 + srcLen + (srcLen+1)/2
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user