mirror of
https://github.com/containers/skopeo.git
synced 2025-09-23 10:59:25 +00:00
Bump github.com/containers/storage from 1.20.1 to 1.20.2
Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.20.1 to 1.20.2. - [Release notes](https://github.com/containers/storage/releases) - [Changelog](https://github.com/containers/storage/blob/master/docs/containers-storage-changes.md) - [Commits](https://github.com/containers/storage/compare/v1.20.1...v1.20.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
committed by
Daniel J Walsh
parent
c6b488a82c
commit
4eaaf31249
9
vendor/github.com/klauspost/compress/zstd/bytereader.go
generated
vendored
9
vendor/github.com/klauspost/compress/zstd/bytereader.go
generated
vendored
@@ -4,6 +4,8 @@
|
||||
|
||||
package zstd
|
||||
|
||||
import "encoding/binary"
|
||||
|
||||
// byteReader provides a byte reader that reads
|
||||
// little endian values from a byte stream.
|
||||
// The input stream is manually advanced.
|
||||
@@ -55,12 +57,7 @@ func (b byteReader) Uint32() uint32 {
|
||||
}
|
||||
return v
|
||||
}
|
||||
b2 := b.b[b.off : b.off+4 : b.off+4]
|
||||
v3 := uint32(b2[3])
|
||||
v2 := uint32(b2[2])
|
||||
v1 := uint32(b2[1])
|
||||
v0 := uint32(b2[0])
|
||||
return v0 | (v1 << 8) | (v2 << 16) | (v3 << 24)
|
||||
return binary.LittleEndian.Uint32(b.b[b.off : b.off+4])
|
||||
}
|
||||
|
||||
// unread returns the unread portion of the input.
|
||||
|
Reference in New Issue
Block a user