| /f-stack/freebsd/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", ""); in DiB_loadFiles() 143 DISPLAYLEVEL(4, "loaded : %u KB \n", (unsigned)(pos >> 10)) in DiB_loadFiles() 253 DISPLAYLEVEL(4, "Preparing to load : %u KB \n", (unsigned)(fs.totalSizeToLoad >> 10)); in DiB_fileStats() 294 DISPLAYLEVEL(2, "! Warning : some sample(s) are very large \n"); in DiB_trainFromFiles() 295 DISPLAYLEVEL(2, "! Note that dictionary is only useful for small samples. \n"); in DiB_trainFromFiles() 299 DISPLAYLEVEL(2, "! Warning : nb of samples too low for proper processing ! \n"); in DiB_trainFromFiles() 300 DISPLAYLEVEL(2, "! Please provide _one file per sample_. \n"); in DiB_trainFromFiles() 305 … DISPLAYLEVEL(2, "! Warning : data size of samples too small for target dictionary size \n"); in DiB_trainFromFiles() 306 DISPLAYLEVEL(2, "! Samples should be about 100x larger than target dictionary size \n"); in DiB_trainFromFiles() [all …]
|
| H A D | fileio.c | 122 DISPLAYLEVEL(5, "%s \n", #f); \ 594 DISPLAYLEVEL(4,"Using stdin for input \n"); in FIO_openSrcFile() 932 DISPLAYLEVEL(6, "FIO_createCResources \n"); in FIO_createCResources() 1546 DISPLAYLEVEL(2, "\r%79s\r", ""); in FIO_compressFilename_internal() 1852 DISPLAYLEVEL(2, "\r%79s\r", ""); in FIO_compressMultipleFilenames() 2473 DISPLAYLEVEL(2, "\r%79s\r", ""); in FIO_decompressFrames() 2652 DISPLAYLEVEL(1, in FIO_determineDstName() 2671 DISPLAYLEVEL(1, in FIO_determineDstName() 2807 DISPLAYLEVEL(1, __VA_ARGS__); \ 2808 DISPLAYLEVEL(1, " \n"); \ [all …]
|
| H A D | zstdcli.c | 102 #define DISPLAYLEVEL(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } } macro 247 DISPLAYLEVEL(1, "Incorrect parameters \n"); in badusage() 477 DISPLAYLEVEL(4, "legacy: selectivity=%u\n", *selectivity); in parseLegacyParameters() 521 DISPLAYLEVEL(4, "invalid compression parameter \n"); in parseAdaptParameters() 526 DISPLAYLEVEL(4, "incoherent adaptation limits \n"); in parseAdaptParameters() 553 DISPLAYLEVEL(4, "invalid compression parameter \n"); in parseCompressionParameters() 1096 DISPLAYLEVEL(3, WELCOME_MESSAGE); in main() 1102 DISPLAYLEVEL(3, "Note: %d physical core(s) detected \n", nbWorkers); in main() 1230 DISPLAYLEVEL(1, "training mode not available \n"); in main() 1247 DISPLAYLEVEL(1, "stdin is a console, aborting\n"); in main() [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 */ in BMK_benchMemAdvancedNoAlloc() 460 DISPLAYLEVEL(2, "%2s-%-17.17s :%10u ->%10u (%5.*f),%6.*f MB/s\r", in BMK_benchMemAdvancedNoAlloc() 550 DISPLAYLEVEL(2, "%2i#\n", cLevel); in BMK_benchMemAdvancedNoAlloc() [all …]
|
| /f-stack/freebsd/contrib/zstd/lib/dictBuilder/ |
| H A D | zdict.c | 73 #undef DISPLAYLEVEL 284 DISPLAYLEVEL(4, "\n"); in ZDICT_analyzePos() 286 DISPLAYLEVEL(4, "\n"); in ZDICT_analyzePos() 570 DISPLAYLEVEL(2, "finding patterns ... \n"); in ZDICT_trainBuffer_legacy() 571 DISPLAYLEVEL(3, "minimum ratio : %u \n", minRatio); in ZDICT_trainBuffer_legacy() 751 DISPLAYLEVEL(1, "Not enough memory \n"); in ZDICT_analyzeEntropy() 768 DISPLAYLEVEL(1, " HUF_buildCTable error \n"); in ZDICT_analyzeEntropy() 818 DISPLAYLEVEL(1, "HUF_writeCTable error \n"); in ZDICT_analyzeEntropy() 915 DISPLAYLEVEL(2, "statistics ... \n"); in ZDICT_finalizeDictionary() 947 DISPLAYLEVEL(2, "statistics ... \n"); in ZDICT_addEntropyTablesFromBuffer_advanced() [all …]
|
| H A D | fastcover.c | 59 #undef DISPLAYLEVEL 359 DISPLAYLEVEL(1, "Failed to allocate scratch buffers \n"); in FASTCOVER_ctx_init() 376 DISPLAYLEVEL(1, "Failed to allocate frequency table \n"); in FASTCOVER_ctx_init() 381 DISPLAYLEVEL(2, "Computing frequencies\n"); in FASTCOVER_ctx_init() 445 DISPLAYLEVEL(2, "\r%79s\r", ""); in FASTCOVER_buildDictionary() 495 DISPLAYLEVEL(1, "Failed to select dictionary\n"); in FASTCOVER_tryParameters() 562 DISPLAYLEVEL(1, "FASTCOVER parameters incorrect\n"); in ZDICT_trainFromBuffer_fastCover() 582 DISPLAYLEVEL(1, "Failed to initialize context\n"); in ZDICT_trainFromBuffer_fastCover() 588 DISPLAYLEVEL(2, "Building dictionary\n"); in ZDICT_trainFromBuffer_fastCover() 599 DISPLAYLEVEL(2, "Constructed dictionary of size %u\n", in ZDICT_trainFromBuffer_fastCover() [all …]
|
| H A D | cover.c | 62 #undef DISPLAYLEVEL 587 DISPLAYLEVEL(1, "Failed to allocate scratch buffers\n"); in COVER_ctx_init() 602 DISPLAYLEVEL(2, "Constructing partial suffix array\n"); in COVER_ctx_init() 624 DISPLAYLEVEL(2, "Computing frequencies\n"); in COVER_ctx_init() 723 DISPLAYLEVEL(2, "\r%79s\r", ""); in COVER_buildDictionary() 740 DISPLAYLEVEL(1, "Cover parameters incorrect\n"); in ZDICT_trainFromBuffer_cover() 748 DISPLAYLEVEL(1, "dictBufferCapacity must be at least %u\n", in ZDICT_trainFromBuffer_cover() 767 DISPLAYLEVEL(2, "Building dictionary\n"); in ZDICT_trainFromBuffer_cover() 776 DISPLAYLEVEL(2, "Constructed dictionary of size %u\n", in ZDICT_trainFromBuffer_cover() 1096 DISPLAYLEVEL(1, "Failed to select dictionary\n"); in COVER_tryParameters() [all …]
|
| /f-stack/freebsd/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"); \ 125 DISPLAYLEVEL(2, "using blocks of size %u KB \n", (unsigned)(blockSize>>10)); in BMK_SetBlockSize() 213 DISPLAYLEVEL(2, "\r%79s\r", ""); in BMK_benchMem() 220 DISPLAYLEVEL(2, "\rcooling down ... \r"); in BMK_benchMem() 374 DISPLAYLEVEL(2, "%2s-%-17.17s :%10u ->%10u (%5.3f),%6.1f MB/s\r", in BMK_benchMem() 553 DISPLAYLEVEL(2, "%2i#\n", cLevel); in BMK_benchMem() 830 DISPLAYLEVEL(1, "Incorrect parameters\n"); in badusage() [all …]
|