From dd3fb32ec7a400bd0c37c26cdcf1f2abcd523f3d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Feb 2022 20:30:09 +0100 Subject: Bump github.com/SevereCloud/vksdk/v2 from 2.13.0 to 2.13.1 (#1730) Bumps [github.com/SevereCloud/vksdk/v2](https://github.com/SevereCloud/vksdk) from 2.13.0 to 2.13.1. - [Release notes](https://github.com/SevereCloud/vksdk/releases) - [Commits](https://github.com/SevereCloud/vksdk/compare/v2.13.0...v2.13.1) --- updated-dependencies: - dependency-name: github.com/SevereCloud/vksdk/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- vendor/github.com/klauspost/compress/s2/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vendor/github.com/klauspost/compress/s2') diff --git a/vendor/github.com/klauspost/compress/s2/README.md b/vendor/github.com/klauspost/compress/s2/README.md index e6716aea..11979345 100644 --- a/vendor/github.com/klauspost/compress/s2/README.md +++ b/vendor/github.com/klauspost/compress/s2/README.md @@ -704,7 +704,7 @@ To automatically add an index to a stream, add `WriterAddIndex()` option to your Then the index will be added to the stream when `Close()` is called. ``` - // Add Index to stream... + // Add Index to stream... enc := s2.NewWriter(w, s2.WriterAddIndex()) io.Copy(enc, r) enc.Close() @@ -714,7 +714,7 @@ If you want to store the index separately, you can use `CloseIndex()` instead of This will return the index. Note that `CloseIndex()` should only be called once, and you shouldn't call `Close()`. ``` - // Get index for separate storage... + // Get index for separate storage... enc := s2.NewWriter(w) io.Copy(enc, r) index, err := enc.CloseIndex() @@ -894,7 +894,7 @@ for each entry { } // Compressed uses previous and our estimate. - entry[entryNum].CompressedOffset = entry[entryNum-1].CompressedOffset + CompressGuess + entry[entryNum].CompressedOffset = entry[entryNum-1].CompressedOffset + CompressGuess + cOff // Adjust compressed offset for next loop, integer truncating division must be used. CompressGuess += cOff/2 -- cgit v1.2.3