Commit Graph

139 Commits (c54154da9e35cab25232314cf69ab9d78447f9a5)

Author SHA1 Message Date
klauspost 44ba449195 Test that streaming examples builds 2015-10-27 13:57:35 +01:00
klauspost 1d573f2541 Add streaming API examples. 2015-10-27 13:56:36 +01:00
klauspost 7d91d8d953 Create separate read/write errors. 2015-10-27 11:11:50 +01:00
klauspost ff9a5aff03 Remove StreamError for shard size mismatches
Since the result is pretty random (especially on concurrent reads),
we just return the plan ErrShardSize.
2015-10-27 10:54:08 +01:00
klauspost e78a382960 Add specific error for streams, to help identify the faulty stream. 2015-10-27 10:36:29 +01:00
klauspost 0500314cc5 Add concurrent reads/writes to streaming interface. 2015-10-26 15:59:02 +01:00
klauspost 4bc47caf71 Add streaming API tests. 2015-10-26 14:32:07 +01:00
klauspost 8940ce33cc Return ErrShardNoData if there is no data in stream. 2015-10-26 14:31:10 +01:00
Klaus Post 32af654e33 Trim output shards to be equal size to input shards on last read. 2015-10-24 12:42:04 +02:00
klauspost 3fada41987 Add streaming API 2015-10-23 16:14:55 +02:00
klauspost 5794aae2a9 Add Go 1.5 as test target. 2015-09-18 14:39:07 +02:00
Klaus Post ed82bead6a Merge pull request #8 from lukechampine/join
Fix Split panic
2015-08-09 21:00:52 +02:00
lukechampine 86bd0f239b seed RNG in TestSplitJoin 2015-08-08 18:20:40 -04:00
lukechampine 295bf27a3d fix Split panic 2015-08-08 16:38:55 -04:00
Klaus Post 42c84420f0 Merge pull request #7 from lukechampine/join
Improve test coverage
2015-08-08 20:02:56 +02:00
lukechampine 458f451fc2 add codeSomeShardsP test 2015-08-08 13:52:00 -04:00
lukechampine 0bd572bc5b tweak Split/Join functions 2015-08-08 13:51:12 -04:00
lukechampine bb7bd0036a fully test Split/Join functions 2015-08-08 13:51:11 -04:00
lukechampine 64b705bbf6 fully test Reconstruct function
Well, I can't figure out how to trigger the Invert error.
It may not be possible; need more domain knowledge to be sure.
2015-08-08 13:50:18 -04:00
lukechampine cf985d4451 remove unreachable checkShards case
this case would be caught by shardSize anyway
2015-08-08 13:50:18 -04:00
lukechampine f81ea8daaf fully test Verify function 2015-08-08 13:50:18 -04:00
lukechampine 0238782585 fully test Encode function 2015-08-08 13:50:18 -04:00
lukechampine 10fbe96890 use slice literal 2015-08-06 22:56:32 -04:00
lukechampine 640ab74d9d fully test the New function 2015-08-06 22:47:11 -04:00
lukechampine 5784cfa7ff remove impossible errors 2015-08-06 22:46:27 -04:00
Klaus Post 1b1eb861ea Merge pull request #5 from klauspost/add-travis-tests
Add more Travis CI tests.
2015-06-25 13:31:08 +02:00
klauspost 1a24b22a1a Remove running the executables for now. 2015-06-25 13:24:32 +02:00
klauspost 70e444ba0c Add more Travis CI tests. 2015-06-25 13:18:12 +02:00
klauspost cfcc65d387 Merge branch 'master' of https://github.com/klauspost/reedsolomon 2015-06-24 16:57:59 +02:00
klauspost dc9cd67c8c PSHUFB is S(upplemental)-SSE3, not plain SSE3. 2015-06-24 16:57:38 +02:00
Klaus Post aac3caed38 Merge pull request #2 from pjkundert/fix-dataShards
Correct reference to dataShards
2015-06-23 20:56:26 +02:00
Perry Kundert 2206637dc6 Correct reference to dataShards 2015-06-23 10:49:15 -06:00
klauspost d31049df42 Add another example that shows that sets can be xor'ed and still remain valid. 2015-06-23 14:35:16 +02:00
klauspost 8ebf356efb The number of data shards must be below 257. Check that and update documentation. 2015-06-23 13:39:57 +02:00
klauspost 5c2ef3ae72 Always check/return errors. 2015-06-23 12:16:26 +02:00
klauspost 888c57c889 Merge branch 'master' of https://github.com/klauspost/reedsolomon 2015-06-23 11:19:16 +02:00
klauspost 7381e0b7b5 - Only run multiple goroutines if size is bigger than splitsize.
- Update docs
2015-06-23 11:18:29 +02:00
Klaus Post 6350190f56 Update README.md 2015-06-22 18:36:27 +02:00
klauspost 6861078d3b Add more information to example. 2015-06-22 15:52:10 +02:00
klauspost 0cb21eccc5 Rename example function. 2015-06-22 15:48:52 +02:00
Klaus Post 2e004190cc Update README.md 2015-06-22 15:47:16 +02:00
klauspost 99a598f7cd Merge branch 'master' of https://github.com/klauspost/reedsolomon 2015-06-22 15:44:43 +02:00
klauspost 7794948a5b Add split/merge example. 2015-06-22 15:44:22 +02:00
Klaus Post b52b6b42b1 Update README.md 2015-06-22 15:18:35 +02:00
Klaus Post 9eb924a6c3 Update README.md 2015-06-22 15:16:01 +02:00
Klaus Post 4cd5506bcf Update README.md 2015-06-22 15:15:12 +02:00
Klaus Post 95bed75738 Update README.md 2015-06-22 15:14:22 +02:00
klauspost 83703c37ac Add package documentation and clarify interface docs. 2015-06-22 15:12:05 +02:00
klauspost 0af140f0cf Data shards, not parity shards. 2015-06-22 14:59:24 +02:00
Klaus Post 80b3249f9c Update README.md 2015-06-22 14:56:21 +02:00