Nigel Tao
|
bb00731b7e
Ensure that Decode doesn't write past the decoded length.
|
9 years ago |
Nigel Tao
|
343d0f4579
Add a snappytool command that uses the C++ library.
|
9 years ago |
Nigel Tao
|
f1ae40350d
Update .gitignore.
|
9 years ago |
Nigel Tao
|
6d15e7ca47
Move benchmark data files to testdata/bench.
|
9 years ago |
Nigel Tao
|
a64ab7d6ec
Add TestDecodeLengthOffset.
|
9 years ago |
Nigel Tao
|
b95e9b379b
Merge overlapping test cases in TestInvalidVarint and TestDecode.
|
9 years ago |
Nigel Tao
|
939eddc12b
Add some more TestDecode cases.
|
9 years ago |
Nigel Tao
|
e292361195
Catch overflow when incrementing src pointers.
|
9 years ago |
Nigel Tao
|
bf2ded9d81
Use 64K blocks when encoding long inputs.
|
9 years ago |
Nigel Tao
|
d1d908a252
Fix heuristic match skipping.
|
9 years ago |
Nigel Tao
|
c2359a1bd0
Catch MaxEncodedLen overflow.
|
9 years ago |
Nigel Tao
|
cc71ae7cc5
Change the encoder's hash table values from int to int32.
|
9 years ago |
Nigel Tao
|
51195a16b0
Add some length/offset tests where offset < length.
|
9 years ago |
Nigel Tao
|
7e6c06b922
Reject zero offsets in a length/offset pair.
|
9 years ago |
Nigel Tao
|
5979233c5d
Run go fmt.
|
9 years ago |
Nigel Tao
|
6ad2a85e2f
Catch overflow when incrementing dst pointer.
|
9 years ago |
Nigel Tao
|
5096ca2afa
Improve Decode test coverage.
|
9 years ago |
Nigel Tao
|
fd4a55a040
Add a .gitignore file for the downloaded testdata.
|
9 years ago |
Nigel Tao
|
07070fd417
Catch overflow when incrementing src pointers.
|
9 years ago |
Nigel Tao
|
799c780093
Reduce the number of Write calls to the underlying io.Writer.
|
9 years ago |
Nigel Tao
|
0fd139378b
Add NewBufferedWriter, and Flush and Close methods.
|
9 years ago |
Nigel Tao
|
75a5f0a185
Add some shorter benchmarks.
|
9 years ago |
Nigel Tao
|
4e2aa98ebb
Skip multiple bytes if the last match was >= 32 bytes prior.
|
9 years ago |
Nigel Tao
|
99f5c1a34c
Add a sizeLimit to the benchmarks.
|
9 years ago |
Nigel Tao
|
92d8f39f9c
A+C: remove Klaus Post <klauspost@gmail.com>.
|
9 years ago |
Nigel Tao
|
a3e588b9ea
A+C: add Klaus Post <klauspost@gmail.com>.
|
9 years ago |
Nigel Tao
|
894fd4616c
Use a less unusual looking random number seed when testing.
|
9 years ago |
Nigel Tao
|
7269ba46dc
Add BenchmarkRandomEncode.
|
9 years ago |
Nigel Tao
|
1963d05804
Merge pull request #22 from rhcarvalho/patch-1
|
10 years ago |
Nigel Tao
|
45146e5b8d
A+C: add Rodolfo Carvalho <rhcarvalho@gmail.com>.
|
10 years ago |