/freebsd-13-stable/sys/contrib/zstd/programs/ |
H A D | dibio.c | 58 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro 141 DISPLAYLEVEL(2, "\r%79s\r", ""); 143 DISPLAYLEVEL(4, "loaded : %u KB \n", (unsigned)(pos >> 10)) 253 DISPLAYLEVEL(4, "Preparing to load : %u KB \n", (unsigned)(fs.totalSizeToLoad >> 10)); 294 DISPLAYLEVEL(2, "! Warning : some sample(s) are very large \n"); 295 DISPLAYLEVEL(2, "! Note that dictionary is only useful for small samples. \n"); 296 DISPLAYLEVEL(2, "! As a consequence, only the first %u bytes of each sample are loaded \n", SAMPLESIZE_MAX); 299 DISPLAYLEVEL(2, "! Warning : nb of samples too low for proper processing ! \n"); 300 DISPLAYLEVEL(2, "! Please provide _one file per sample_. \n"); 301 DISPLAYLEVEL( [all...] |
H A D | fileio.c | 90 #define DISPLAYLEVEL(l, ...) { if (g_display_prefs.displayLevel>=l) { DISPLAY(__VA_ARGS__); } } macro 111 DISPLAYLEVEL(1, "zstd: "); \ 112 DISPLAYLEVEL(5, "Error defined at %s, line %i : \n", __FILE__, __LINE__); \ 113 DISPLAYLEVEL(1, "error %i : ", error); \ 114 DISPLAYLEVEL(1, __VA_ARGS__); \ 115 DISPLAYLEVEL(1, " \n"); \ 122 DISPLAYLEVEL(5, "%s \n", #f); \ 442 if (nbWorkers > 0) DISPLAYLEVEL(2, "Note : multi-threading is disabled \n"); 451 DISPLAYLEVEL(2, "Setting block size is useless in single-thread mode \n"); 457 DISPLAYLEVEL( [all...] |
H A D | zstdcli.c | 102 #define DISPLAYLEVEL(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } } macro 247 DISPLAYLEVEL(1, "Incorrect parameters \n"); 422 DISPLAYLEVEL(4, "cover: k=%u\nd=%u\nsteps=%u\nsplit=%u\nshrink%u\n", params->k, params->d, params->steps, (unsigned)(params->splitPoint * 100), params->shrinkDictMaxRegression); 462 DISPLAYLEVEL(4, "cover: k=%u\nd=%u\nf=%u\nsteps=%u\nsplit=%u\naccel=%u\nshrink=%u\n", params->k, params->d, params->f, params->steps, (unsigned)(params->splitPoint * 100), params->accel, params->shrinkDictMaxRegression); 477 DISPLAYLEVEL(4, "legacy: selectivity=%u\n", *selectivity); 521 DISPLAYLEVEL(4, "invalid compression parameter \n"); 526 DISPLAYLEVEL(4, "incoherent adaptation limits \n"); 553 DISPLAYLEVEL(4, "invalid compression parameter \n"); 557 DISPLAYLEVEL(4, "windowLog=%d, chainLog=%d, hashLog=%d, searchLog=%d \n", params->windowLog, params->chainLog, params->hashLog, params->searchLog); 558 DISPLAYLEVEL( [all...] |
H A D | benchzstd.c | 71 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro 93 DISPLAYLEVEL(1, "Error %i : ", errorNum); \ 94 DISPLAYLEVEL(1, __VA_ARGS__); \ 95 DISPLAYLEVEL(1, " \n"); \ 115 DISPLAYLEVEL(1, "Error %i : ", errorNum); \ 116 DISPLAYLEVEL(1, __VA_ARGS__); \ 117 DISPLAYLEVEL(1, " \n"); \ 438 DISPLAYLEVEL(2, "\r%70s\r", ""); /* blank line */ 439 DISPLAYLEVEL(2, "%2s-%-17.17s :%10u ->\r", marks[markNb], displayName, (unsigned)srcSize); 460 DISPLAYLEVEL( [all...] |
/freebsd-13-stable/sys/contrib/zstd/lib/dictBuilder/ |
H A D | fastcover.c | 59 #undef DISPLAYLEVEL macro 60 #define DISPLAYLEVEL(l, ...) LOCALDISPLAYLEVEL(g_displayLevel, l, __VA_ARGS__) macro 322 DISPLAYLEVEL(1, "Total samples size is too large (%u MB), maximum size is %u MB\n", 329 DISPLAYLEVEL(1, "Total number of training samples is %u and is invalid\n", nbTrainSamples); 335 DISPLAYLEVEL(1, "Total number of testing samples is %u and is invalid.\n", nbTestSamples); 341 DISPLAYLEVEL(2, "Training on %u samples of total size %u\n", nbTrainSamples, 343 DISPLAYLEVEL(2, "Testing on %u samples of total size %u\n", nbTestSamples, 359 DISPLAYLEVEL(1, "Failed to allocate scratch buffers \n"); 376 DISPLAYLEVEL(1, "Failed to allocate frequency table \n"); 381 DISPLAYLEVEL( [all...] |
H A D | zdict.c | 73 #undef DISPLAYLEVEL macro 74 #define DISPLAYLEVEL(l, ...) if (notificationLevel>=l) { DISPLAY(__VA_ARGS__); } /* 0 : no display; 1: errors; 2: default; 3: details; 4: debug */ macro 284 DISPLAYLEVEL(4, "\n"); 285 DISPLAYLEVEL(4, "found %3u matches of length >= %i at pos %7u ", (unsigned)(end-start), MINMATCHLENGTH, (unsigned)pos); 286 DISPLAYLEVEL(4, "\n"); 366 DISPLAYLEVEL(4, "Selected dict at position %u, of length %u : saves %u (ratio: %.2f) \n", 540 DISPLAYLEVEL(2, "\r%70s\r", ""); /* clean display line */ 549 if (bufferSize > ZDICT_MAX_SAMPLES_SIZE) DISPLAYLEVEL(3, "sample set too large : reduced to %u MB ...\n", (unsigned)(ZDICT_MAX_SAMPLES_SIZE>>20)); 553 DISPLAYLEVEL(2, "sorting %u files of total size %u MB ...\n", nbFiles, (unsigned)(bufferSize>>20)); 570 DISPLAYLEVEL( [all...] |
H A D | cover.c | 62 #undef DISPLAYLEVEL macro 63 #define DISPLAYLEVEL(l, ...) LOCALDISPLAYLEVEL(g_displayLevel, l, __VA_ARGS__) macro 554 DISPLAYLEVEL(1, "Total samples size is too large (%u MB), maximum size is %u MB\n", 560 DISPLAYLEVEL(1, "Total number of training samples is %u and is invalid.", nbTrainSamples); 565 DISPLAYLEVEL(1, "Total number of testing samples is %u and is invalid.", nbTestSamples); 570 DISPLAYLEVEL(2, "Training on %u samples of total size %u\n", nbTrainSamples, 572 DISPLAYLEVEL(2, "Testing on %u samples of total size %u\n", nbTestSamples, 587 DISPLAYLEVEL(1, "Failed to allocate scratch buffers\n"); 602 DISPLAYLEVEL(2, "Constructing partial suffix array\n"); 624 DISPLAYLEVEL( [all...] |
/freebsd-13-stable/sys/contrib/zstd/zlibWrapper/examples/ |
H A D | zwrapbench.c | 76 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro 98 DISPLAYLEVEL(1, "Error %i : ", error); \ 99 DISPLAYLEVEL(1, __VA_ARGS__); \ 100 DISPLAYLEVEL(1, "\n"); \ 119 DISPLAYLEVEL(3, "- test >= %u seconds per compression / decompression -\n", g_nbIterations); 125 DISPLAYLEVEL(2, "using blocks of size %u KB \n", (unsigned)(blockSize>>10)); 213 DISPLAYLEVEL(2, "\r%79s\r", ""); 220 DISPLAYLEVEL(2, "\rcooling down ... \r"); 226 DISPLAYLEVEL(2, "%2s-%-17.17s :%10u ->\r", marks[markNb], displayName, (unsigned)srcSize); 374 DISPLAYLEVEL( [all...] |