/freebsd/sys/contrib/zstd/programs/ |
H A D | dibio.c | 58 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro 169 DISPLAYLEVEL(2, "\r%79s\r", ""); in DiB_loadFiles() 170 DISPLAYLEVEL(4, "Loaded %d KB total training data, %d nb samples \n", in DiB_loadFiles() 279 DISPLAYLEVEL(3, "Sample file '%s' has zero size, skipping...\n", fileNamesTable[n]); in DiB_fileStats() 297 DISPLAYLEVEL(3, "Sample file '%s' is too large, limiting to %d KB", in DiB_fileStats() 328 DISPLAYLEVEL(3, "Shuffling input files\n"); in DiB_trainFromFiles() 356 DISPLAYLEVEL(2, "! Warning : some sample(s) are very large \n"); in DiB_trainFromFiles() 357 DISPLAYLEVEL(2, "! Note that dictionary is only useful for small samples. \n"); in DiB_trainFromFiles() 361 DISPLAYLEVEL(2, "! Warning : nb of samples too low for proper processing ! \n"); in DiB_trainFromFiles() 362 DISPLAYLEVEL(2, "! Please provide _one file per sample_. \n"); in DiB_trainFromFiles() [all …]
|
H A D | fileio.c | 135 DISPLAYLEVEL(5, "%s \n", #f); \ 617 DISPLAYLEVEL(4,"Using stdin for input \n"); in FIO_openSrcFile() 988 DISPLAYLEVEL(6, "FIO_createCResources \n"); in FIO_createCResources() 1623 DISPLAYLEVEL(2, "\r%79s\r", ""); in FIO_compressFilename_internal() 1982 DISPLAYLEVEL(2, "\r%79s\r", ""); in FIO_compressMultipleFilenames() 2607 DISPLAYLEVEL(2, "\r%79s\r", ""); in FIO_decompressFrames() 2792 DISPLAYLEVEL(1, in FIO_determineDstName() 2811 DISPLAYLEVEL(1, in FIO_determineDstName() 2947 DISPLAYLEVEL(1, __VA_ARGS__); \ 2948 DISPLAYLEVEL(1, " \n"); \ [all …]
|
H A D | zstdcli.c | 105 #define DISPLAYLEVEL(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } } macro 279 DISPLAYLEVEL(1, "Incorrect parameters \n"); in badusage() 526 DISPLAYLEVEL(4, "legacy: selectivity=%u\n", *selectivity); in parseLegacyParameters() 570 DISPLAYLEVEL(4, "invalid compression parameter \n"); in parseAdaptParameters() 575 DISPLAYLEVEL(4, "incoherent adaptation limits \n"); in parseAdaptParameters() 602 DISPLAYLEVEL(4, "invalid compression parameter \n"); in parseCompressionParameters() 1204 DISPLAYLEVEL(3, WELCOME_MESSAGE); in main() 1211 DISPLAYLEVEL(3, "Note: %d logical core(s) detected \n", nbWorkers); in main() 1345 DISPLAYLEVEL(1, "training mode not available \n"); in main() 1364 DISPLAYLEVEL(1, "stdin is a console, aborting\n"); in main() [all …]
|
H A D | benchzstd.c | 76 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro 92 DISPLAYLEVEL(1, "Error %i : ", errorNum); \ 93 DISPLAYLEVEL(1, __VA_ARGS__); \ 94 DISPLAYLEVEL(1, " \n"); \ 114 DISPLAYLEVEL(1, "Error %i : ", errorNum); \ 115 DISPLAYLEVEL(1, __VA_ARGS__); \ 116 DISPLAYLEVEL(1, " \n"); \ 674 DISPLAYLEVEL(2, "Note : switching to real-time priority \n"); in BMK_benchCLevel() 758 DISPLAYLEVEL(2, "Ignoring %s directory... \n", fileNamesTable[n]); in BMK_loadFiles() 763 DISPLAYLEVEL(2, "Cannot evaluate size of %s, ignoring ... \n", fileNamesTable[n]); in BMK_loadFiles() [all …]
|
/freebsd/sys/contrib/zstd/lib/dictBuilder/ |
H A D | zdict.c | 78 #undef DISPLAYLEVEL 309 DISPLAYLEVEL(4, "\n"); in ZDICT_analyzePos() 311 DISPLAYLEVEL(4, "\n"); in ZDICT_analyzePos() 595 DISPLAYLEVEL(2, "finding patterns ... \n"); in ZDICT_trainBuffer_legacy() 596 DISPLAYLEVEL(3, "minimum ratio : %u \n", minRatio); in ZDICT_trainBuffer_legacy() 776 DISPLAYLEVEL(1, "Not enough memory \n"); in ZDICT_analyzeEntropy() 791 DISPLAYLEVEL(4, "Offset Code Frequencies : \n"); in ZDICT_analyzeEntropy() 850 DISPLAYLEVEL(1, "HUF_writeCTable error \n"); in ZDICT_analyzeEntropy() 960 DISPLAYLEVEL(2, "statistics ... \n"); in ZDICT_finalizeDictionary() 1023 DISPLAYLEVEL(2, "statistics ... \n"); in ZDICT_addEntropyTablesFromBuffer_advanced() [all …]
|
H A D | fastcover.c | 67 #undef DISPLAYLEVEL 367 DISPLAYLEVEL(1, "Failed to allocate scratch buffers \n"); in FASTCOVER_ctx_init() 384 DISPLAYLEVEL(1, "Failed to allocate frequency table \n"); in FASTCOVER_ctx_init() 389 DISPLAYLEVEL(2, "Computing frequencies\n"); in FASTCOVER_ctx_init() 453 DISPLAYLEVEL(2, "\r%79s\r", ""); in FASTCOVER_buildDictionary() 503 DISPLAYLEVEL(1, "Failed to select dictionary\n"); in FASTCOVER_tryParameters() 570 DISPLAYLEVEL(1, "FASTCOVER parameters incorrect\n"); in ZDICT_trainFromBuffer_fastCover() 590 DISPLAYLEVEL(1, "Failed to initialize context\n"); in ZDICT_trainFromBuffer_fastCover() 596 DISPLAYLEVEL(2, "Building dictionary\n"); in ZDICT_trainFromBuffer_fastCover() 607 DISPLAYLEVEL(2, "Constructed dictionary of size %u\n", in ZDICT_trainFromBuffer_fastCover() [all …]
|
H A D | cover.c | 70 #undef DISPLAYLEVEL 595 DISPLAYLEVEL(1, "Failed to allocate scratch buffers\n"); in COVER_ctx_init() 610 DISPLAYLEVEL(2, "Constructing partial suffix array\n"); in COVER_ctx_init() 632 DISPLAYLEVEL(2, "Computing frequencies\n"); in COVER_ctx_init() 731 DISPLAYLEVEL(2, "\r%79s\r", ""); in COVER_buildDictionary() 748 DISPLAYLEVEL(1, "Cover parameters incorrect\n"); in ZDICT_trainFromBuffer_cover() 756 DISPLAYLEVEL(1, "dictBufferCapacity must be at least %u\n", in ZDICT_trainFromBuffer_cover() 775 DISPLAYLEVEL(2, "Building dictionary\n"); in ZDICT_trainFromBuffer_cover() 784 DISPLAYLEVEL(2, "Constructed dictionary of size %u\n", in ZDICT_trainFromBuffer_cover() 1105 DISPLAYLEVEL(1, "Failed to select dictionary\n"); in COVER_tryParameters() [all …]
|
/freebsd/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"); \ 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() 389 DISPLAYLEVEL(2, "%2s-%-17.17s :%10u ->%10u (%5.3f),%6.1f MB/s\r", in BMK_benchMem() 568 DISPLAYLEVEL(2, "%2i#\n", cLevel); in BMK_benchMem() 845 DISPLAYLEVEL(1, "Incorrect parameters\n"); in badusage() [all …]
|