mirror of https://github.com/status-im/leopard.git
Fixes
This commit is contained in:
parent
94bf94771e
commit
412fef86c0
|
@ -964,7 +964,7 @@ void ReedSolomonEncode(
|
|||
const unsigned range = width << 1;
|
||||
|
||||
#ifdef LEO_SCHEDULE_OPT
|
||||
const unsigned stop = ((last_count + width - 1) >> shift) << shift;
|
||||
const unsigned stop = ((last_count + range - 1) >> shift) << shift;
|
||||
for (unsigned j = width; j < stop; j += range)
|
||||
#else
|
||||
for (unsigned j = width; j < m; j += range)
|
||||
|
|
|
@ -46,10 +46,10 @@ struct TestParameters
|
|||
unsigned recovery_count = 100; // under 65536 - original_count
|
||||
#else
|
||||
unsigned original_count = 3; // under 65536
|
||||
unsigned recovery_count = 2; // under 65536 - original_count
|
||||
unsigned recovery_count = 3; // under 65536 - original_count
|
||||
#endif
|
||||
unsigned buffer_bytes = 64000; // multiple of 64 bytes
|
||||
unsigned loss_count = 2; // some fraction of original_count
|
||||
unsigned loss_count = 3; // some fraction of original_count
|
||||
unsigned seed = 0;
|
||||
bool multithreaded = true;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue