Nigel Tao
|
4f2f9a13dd
Write the encoder's extendMatch in asm.
|
9 年 前 |
Nigel Tao
|
bd94318f58
Add some more encoder tests.
|
9 年 前 |
Nigel Tao
|
70f093abd7
Use a more compressible golden input for the tests.
|
9 年 前 |
Nigel Tao
|
9bc0b5ad10
Make heuristic match skipping more aggressive.
|
9 年 前 |
Nigel Tao
|
a2aa89c177
Add a TestSameEncodingAsCppShortCopies test.
|
9 年 前 |
Nigel Tao
|
3675542200
Don't allow EOF in the middle of a framing chunk.
|
9 年 前 |
Nigel Tao
|
0e8b256be2
Fix a too-long uncompressed frame chunk causing a panic.
|
9 年 前 |
Nigel Tao
|
aca045a2df
Clarify when goEncoderShouldMatchCppEncoder.
|
9 年 前 |
Nigel Tao
|
8939696c22
Use the same encoding algorithm as C++ snappy.
|
9 年 前 |
Nigel Tao
|
d1f56d2222
Encode copies of length 65, 66 or 67 as 5 bytes, not 6.
|
9 年 前 |
Nigel Tao
|
427fb6fc07
Optimize asm for decoding copy fragments some more.
|
9 年 前 |
Nigel Tao
|
03ee571cd3
Use more than one 'not present' byte value to catch Decode overruns.
|
9 年 前 |
Nigel Tao
|
12528fe033
Make TestDecodeLengthOffset test values above 16.
|
9 年 前 |
Nigel Tao
|
bb00731b7e
Ensure that Decode doesn't write past the decoded length.
|
9 年 前 |
Nigel Tao
|
343d0f4579
Add a snappytool command that uses the C++ library.
|
9 年 前 |
Nigel Tao
|
f1ae40350d
Update .gitignore.
|
9 年 前 |
Nigel Tao
|
6d15e7ca47
Move benchmark data files to testdata/bench.
|
9 年 前 |
Nigel Tao
|
a64ab7d6ec
Add TestDecodeLengthOffset.
|
9 年 前 |
Nigel Tao
|
b95e9b379b
Merge overlapping test cases in TestInvalidVarint and TestDecode.
|
9 年 前 |
Nigel Tao
|
939eddc12b
Add some more TestDecode cases.
|
9 年 前 |
Nigel Tao
|
bf2ded9d81
Use 64K blocks when encoding long inputs.
|
9 年 前 |
Nigel Tao
|
d1d908a252
Fix heuristic match skipping.
|
9 年 前 |
Nigel Tao
|
51195a16b0
Add some length/offset tests where offset < length.
|
9 年 前 |
Nigel Tao
|
7e6c06b922
Reject zero offsets in a length/offset pair.
|
9 年 前 |
Nigel Tao
|
5979233c5d
Run go fmt.
|
9 年 前 |
Nigel Tao
|
5096ca2afa
Improve Decode test coverage.
|
9 年 前 |
Nigel Tao
|
fd4a55a040
Add a .gitignore file for the downloaded testdata.
|
9 年 前 |
Nigel Tao
|
799c780093
Reduce the number of Write calls to the underlying io.Writer.
|
9 年 前 |
Nigel Tao
|
0fd139378b
Add NewBufferedWriter, and Flush and Close methods.
|
9 年 前 |
Nigel Tao
|
75a5f0a185
Add some shorter benchmarks.
|
9 年 前 |