forked from golang/go
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/zstd: configure window size for single segment frames
For golang#62513
- Loading branch information
1 parent
5e9afab
commit 9bafe01
Showing
4 changed files
with
58 additions
and
9 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
This directory holds files for testing zstd.NewReader. | ||
|
||
Each one is a Zstandard compressed file named as hash.arbitrary-name.zst, | ||
where hash is the first eight hexadecimal digits of the SHA256 hash | ||
of the expected uncompressed content: | ||
|
||
zstd -d < 1890a371.gettysburg.txt-100x.zst | sha256sum | head -c 8 | ||
1890a371 | ||
|
||
The test uses hash value to verify decompression result. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters