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