diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-03-22 12:10:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-22 12:10:27 +0100 |
commit | b726d75f20822b4a23a679acd94696b924a6a374 (patch) | |
tree | 218a39354834d34a53fdeaa6b5be472c70a5bd23 /vendor/github.com/klauspost/compress/huff0/bitreader.go | |
parent | e034db16bf68c06c1ecf63addd033fcbd83090e3 (diff) | |
parent | 63bf3991ef14959983ecd86c406bd941c908157b (diff) | |
download | podman-b726d75f20822b4a23a679acd94696b924a6a374.tar.gz podman-b726d75f20822b4a23a679acd94696b924a6a374.tar.bz2 podman-b726d75f20822b4a23a679acd94696b924a6a374.zip |
Merge pull request #13536 from dcermak/storage-autodetect-mount_program
Storage autodetect mount program
Diffstat (limited to 'vendor/github.com/klauspost/compress/huff0/bitreader.go')
-rw-r--r-- | vendor/github.com/klauspost/compress/huff0/bitreader.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/github.com/klauspost/compress/huff0/bitreader.go b/vendor/github.com/klauspost/compress/huff0/bitreader.go index 03562db16..451160edd 100644 --- a/vendor/github.com/klauspost/compress/huff0/bitreader.go +++ b/vendor/github.com/klauspost/compress/huff0/bitreader.go @@ -165,6 +165,11 @@ func (b *bitReaderShifted) peekBitsFast(n uint8) uint16 { return uint16(b.value >> ((64 - n) & 63)) } +// peekTopBits(n) is equvialent to peekBitFast(64 - n) +func (b *bitReaderShifted) peekTopBits(n uint8) uint16 { + return uint16(b.value >> n) +} + func (b *bitReaderShifted) advance(n uint8) { b.bitsRead += n b.value <<= n & 63 |