diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-01-28 14:39:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-28 14:39:31 -0500 |
commit | 2ee034c1e6ddd9918b97ddea2fd3e6388ec8f60b (patch) | |
tree | 77d46e8e793088ae9dbd0c74999d31e26951a629 /vendor/github.com/ulikunitz/xz/lzma/lengthcodec.go | |
parent | a4c255a939cf340978efd9cb070951029237c8cf (diff) | |
parent | 75c3b33899954e7a0925426b38fd1084d521c3a0 (diff) | |
download | podman-2ee034c1e6ddd9918b97ddea2fd3e6388ec8f60b.tar.gz podman-2ee034c1e6ddd9918b97ddea2fd3e6388ec8f60b.tar.bz2 podman-2ee034c1e6ddd9918b97ddea2fd3e6388ec8f60b.zip |
Merge pull request #9140 from containers/dependabot/go_modules/github.com/containers/image/v5-5.10.0
Bump github.com/containers/image/v5 from 5.9.0 to 5.10.0
Diffstat (limited to 'vendor/github.com/ulikunitz/xz/lzma/lengthcodec.go')
-rw-r--r-- | vendor/github.com/ulikunitz/xz/lzma/lengthcodec.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/vendor/github.com/ulikunitz/xz/lzma/lengthcodec.go b/vendor/github.com/ulikunitz/xz/lzma/lengthcodec.go index 927395bd8..35b064064 100644 --- a/vendor/github.com/ulikunitz/xz/lzma/lengthcodec.go +++ b/vendor/github.com/ulikunitz/xz/lzma/lengthcodec.go @@ -56,19 +56,6 @@ func (lc *lengthCodec) init() { lc.high = makeTreeCodec(8) } -// lBits gives the number of bits used for the encoding of the l value -// provided to the range encoder. -func lBits(l uint32) int { - switch { - case l < 8: - return 4 - case l < 16: - return 5 - default: - return 10 - } -} - // Encode encodes the length offset. The length offset l can be compute by // subtracting minMatchLen (2) from the actual length. // |