summaryrefslogtreecommitdiff
path: root/src/python/test
Commit message (Collapse)AuthorAgeFilesLines
* c_eclib: Add decode routine for rs_vand_isa_lisa-l_integrationTushar Gohad2014-05-301-5/+15
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Call out bytes input for encode() APITushar Gohad2014-04-201-13/+14
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* The last 1% to bring up to Python 3 compatibility.Kevin Greenan2014-04-191-13/+5
|
* Expect binary data, use 'y#' for PyArg_* conversionsTushar Gohad2014-04-181-1/+1
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Rename 'type', 'sum' variables (meant to be intrinsics)Tushar Gohad2014-04-181-38/+40
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Write testdata as string and read as binary (Python3)Tushar Gohad2014-04-181-3/+3
| | | | | | .. to avoid encode() with Python3 Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Use str.ascii_letters for Python3 compatibilityTushar Gohad2014-04-131-1/+1
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Fix open() calls to include explicit 'b' hints + cleanupTushar Gohad2014-04-081-32/+26
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Make print()s simpler for 3.x compatibility (take2)Tushar Gohad2014-03-191-46/+21
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Make print()s simpler for 3.x compatibilityTushar Gohad2014-03-191-22/+22
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* PEP8 indent fixesTushar Gohad2014-03-191-234/+302
| | | | | | next up .. Python 3.x updates Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* Added support for CRC32. It currently will be computed by default and I ↵Kevin Greenan2014-02-081-3/+3
| | | | | | | | | | | | | have disabled the Alg. Sig. checks for RS Vanermonde. I am going to open up another bug to allow clients to select CRC32 or Alg. Sigs. Note that algebraic signatures are supported for everything except for Cauchy RS. CRC32 works for everything. Also, the current tests pass, but I need to re-run all of the valgrind checks to make sure the new C code (there is quite a bit) did not introduce regressions.
* Made the python interface more intuitive...Kevin Greenan2013-10-021-20/+20
|
* Added BSD licenseKevin Greenan2013-10-011-1/+25
|
* Fixed a few issues with the unit tests...Kevin Greenan2013-10-011-0/+3
|
* A bunch of re-org:Kevin Greenan2013-09-291-2/+2
| | | | | | | | 1.) Created top-level test directory including unit tests and a memory-check test (valgrind) 2.) Created stand-alone library for the XOR codes 3.) Removed common.[ch], which is unnecessary 4.) Exposed all of the XOR codes to the Swift interface 5.) Distributing Swift EC interface as a separate package
* XOR codes are fully wired into the python interface, including the unit tests!Kevin Greenan2013-09-231-4/+10
|
* There are no "major" memory leaks (did a valgrind mem check).Kevin Greenan2013-09-211-4/+6
|
* Added semi-generic code to do fragment alignment... Need to make it "more ↵Kevin Greenan2013-09-191-13/+15
| | | | generic"
* XOR code encode and decode is now wired into pyeclib.c and is being testedKevin Greenan2013-09-181-7/+24
| | | | | | via the 'low-level' python test script. Tests currently pass.
* Did some refactoring and took care of a few TODOsKevin Greenan2013-09-141-4/+1
|
* Wired RS into the main Swift interface... Unit test is acting up...Kevin Greenan2013-09-131-2/+2
|
* Built single-data-disk reconstruction into PyECLib for RS.Kevin Greenan2013-09-121-0/+48
|
* Auxillary functions are working, but resulted in some more TODOs.Kevin Greenan2013-09-091-6/+54
| | | | Removed TODOS file, since everythign is being tracked via bugs in BitBucket.
* Finished writing get_required_fragments for Reed-Solomon. Added a unit test ↵Kevin Greenan2013-08-311-3/+36
| | | | | | for get_required_fragments. Added some notes in pyeclib.c related to cleanup.
* Cauchy Reed-Solomon is working... Still need to add more restrictions dueKevin Greenan2013-08-271-17/+17
| | | | | | to the goofy alignment needed with Cauchy. Added unit tests for both RS and Cauchy.
* More housekeeping before diving in...Kevin Greenan2013-08-1711-10/+144
| | | | | | Also fixed some memory leaks. Former-commit-id: f87c4ceb50000b59f8a1a5db0c7d798f135f8ba7
* Cleaning up the pyeclib test and added a list of TODOs for this library.ZKevin Greenan2013-08-171-1/+1
| | | Former-commit-id: 814fbdc12bdf7b29b0fa656a106b1c2ca687d27a
* Big push...Kevin Greenan2013-07-3010-0/+10
Former-commit-id: 79050663353e746b0fe6c3e60c8014221dac59cb