cmake: run tests in parallel; misc/podman: add 30-rebuild-stubs.sh
This commit is contained in:
+6
-4
@@ -1031,14 +1031,16 @@ void Packer::compressWithFilters(byte *i_ptr,
|
||||
assert(orig_ft.id == 0);
|
||||
|
||||
// prepare methods and filters
|
||||
int methods[256];
|
||||
constexpr int MAX_METHODS = 8;
|
||||
constexpr int MAX_FILTERS = 16;
|
||||
int methods[MAX_METHODS];
|
||||
int nmethods = prepareMethods(methods, ph.method, getCompressionMethods(M_ALL, ph.level));
|
||||
assert(nmethods > 0);
|
||||
assert(nmethods < 256);
|
||||
int filters[256];
|
||||
assert(nmethods < MAX_METHODS);
|
||||
int filters[MAX_FILTERS];
|
||||
int nfilters = prepareFilters(filters, filter_strategy, getFilters());
|
||||
assert(nfilters > 0);
|
||||
assert(nfilters < 256);
|
||||
assert(nfilters < MAX_FILTERS);
|
||||
#if 0
|
||||
printf("compressWithFilters: m(%d):", nmethods);
|
||||
for (int i = 0; i < nmethods; i++)
|
||||
|
||||
Reference in New Issue
Block a user