diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-11-22 16:21:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-22 16:21:19 +0100 |
commit | e4b805441b84017bdd313d412a4138e4fb41f3d3 (patch) | |
tree | bf4088f29a62893822c2696a43f2bebac52d8168 /vendor/github.com/klauspost/compress/huff0/huff0.go | |
parent | 22e7d7d86f945620bbc1bdd3aa9c4a9d3248fa1f (diff) | |
parent | 866391bb574f885549f5cf3cec965dc224cb84b3 (diff) | |
download | podman-e4b805441b84017bdd313d412a4138e4fb41f3d3.tar.gz podman-e4b805441b84017bdd313d412a4138e4fb41f3d3.tar.bz2 podman-e4b805441b84017bdd313d412a4138e4fb41f3d3.zip |
Merge pull request #4538 from containers/dependabot/go_modules/github.com/containers/storage-1.14.0
build(deps): bump github.com/containers/storage from 1.13.5 to 1.14.0
Diffstat (limited to 'vendor/github.com/klauspost/compress/huff0/huff0.go')
-rw-r--r-- | vendor/github.com/klauspost/compress/huff0/huff0.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/github.com/klauspost/compress/huff0/huff0.go b/vendor/github.com/klauspost/compress/huff0/huff0.go index 6f823f94d..6bc23bbf0 100644 --- a/vendor/github.com/klauspost/compress/huff0/huff0.go +++ b/vendor/github.com/klauspost/compress/huff0/huff0.go @@ -89,6 +89,12 @@ type Scratch struct { // Reuse will specify the reuse policy Reuse ReusePolicy + // WantLogLess allows to specify a log 2 reduction that should at least be achieved, + // otherwise the block will be returned as incompressible. + // The reduction should then at least be (input size >> WantLogLess) + // If WantLogLess == 0 any improvement will do. + WantLogLess uint8 + // MaxDecodedSize will set the maximum allowed output size. // This value will automatically be set to BlockSizeMax if not set. // Decoders will return ErrMaxDecodedSizeExceeded is this limit is exceeded. |