Nigel Tao
|
b95e9b379b
Merge overlapping test cases in TestInvalidVarint and TestDecode.
|
9 роки тому |
Nigel Tao
|
939eddc12b
Add some more TestDecode cases.
|
9 роки тому |
Nigel Tao
|
e292361195
Catch overflow when incrementing src pointers.
|
9 роки тому |
Nigel Tao
|
bf2ded9d81
Use 64K blocks when encoding long inputs.
|
9 роки тому |
Nigel Tao
|
d1d908a252
Fix heuristic match skipping.
|
9 роки тому |
Nigel Tao
|
c2359a1bd0
Catch MaxEncodedLen overflow.
|
9 роки тому |
Nigel Tao
|
cc71ae7cc5
Change the encoder's hash table values from int to int32.
|
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
|
6ad2a85e2f
Catch overflow when incrementing dst pointer.
|
9 роки тому |
Nigel Tao
|
5096ca2afa
Improve Decode test coverage.
|
9 роки тому |
Nigel Tao
|
fd4a55a040
Add a .gitignore file for the downloaded testdata.
|
9 роки тому |
Nigel Tao
|
07070fd417
Catch overflow when incrementing src pointers.
|
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 роки тому |
Nigel Tao
|
4e2aa98ebb
Skip multiple bytes if the last match was >= 32 bytes prior.
|
9 роки тому |
Nigel Tao
|
99f5c1a34c
Add a sizeLimit to the benchmarks.
|
9 роки тому |
Nigel Tao
|
92d8f39f9c
A+C: remove Klaus Post <klauspost@gmail.com>.
|
9 роки тому |
Nigel Tao
|
a3e588b9ea
A+C: add Klaus Post <klauspost@gmail.com>.
|
9 роки тому |
Nigel Tao
|
894fd4616c
Use a less unusual looking random number seed when testing.
|
9 роки тому |
Nigel Tao
|
7269ba46dc
Add BenchmarkRandomEncode.
|
9 роки тому |
Nigel Tao
|
1963d05804
Merge pull request #22 from rhcarvalho/patch-1
|
10 роки тому |
Nigel Tao
|
45146e5b8d
A+C: add Rodolfo Carvalho <rhcarvalho@gmail.com>.
|
10 роки тому |
Rodolfo Carvalho
|
405fe506d8
Fix typo in godoc
|
10 роки тому |
Nigel Tao
|
723cc1e459
Merge pull request #16 from dgryski/uint32-fix
|
10 роки тому |
Damian Gryski
|
f5466f1dff
Fix max block size check
|
10 роки тому |
Nigel Tao
|
0c7f8a7704
Merge pull request #18 from dgryski/github-move
|
10 роки тому |
Nigel Tao
|
cbff9e9065
Merge pull request #17 from dgryski/golint-fixes
|
10 роки тому |