• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/contrib/zstd/lib/dictBuilder/

Lines Matching refs:DISPLAYLEVEL

72 #define DISPLAYLEVEL(l, ...) if (notificationLevel>=l) { DISPLAY(__VA_ARGS__); }    /* 0 : no display;   1: errors;   2: default;  3: details;  4: debug */
262 DISPLAYLEVEL(4, "\n");
263 DISPLAYLEVEL(4, "found %3u matches of length >= %i at pos %7u ", (U32)(end-start), MINMATCHLENGTH, (U32)pos);
264 DISPLAYLEVEL(4, "\n");
344 DISPLAYLEVEL(4, "Selected ref at position %u, of length %u : saves %u (ratio: %.2f) \n",
517 DISPLAYLEVEL(2, "\r%70s\r", ""); /* clean display line */
526 if (bufferSize > ZDICT_MAX_SAMPLES_SIZE) DISPLAYLEVEL(3, "sample set too large : reduced to %u MB ...\n", (U32)(ZDICT_MAX_SAMPLES_SIZE>>20));
530 DISPLAYLEVEL(2, "sorting %u files of total size %u MB ...\n", nbFiles, (U32)(bufferSize>>20));
547 DISPLAYLEVEL(2, "finding patterns ... \n");
548 DISPLAYLEVEL(3, "minimum ratio : %u \n", minRatio);
601 if (ZSTD_isError(errorCode)) { DISPLAYLEVEL(1, "warning : ZSTD_copyCCtx failed \n"); return; }
604 if (ZSTD_isError(cSize)) { DISPLAYLEVEL(3, "warning : could not compress sample size %u \n", (U32)srcSize); return; }
716 DISPLAYLEVEL(1, "Not enough memory \n");
731 DISPLAYLEVEL(1, "error : ZSTD_compressBegin_advanced() failed : %s \n", ZSTD_getErrorName(beginResult));
749 DISPLAYLEVEL(1, " HUF_buildCTable error \n");
753 DISPLAYLEVEL(2, "warning : pathological dataset : literals are not compressible : samples are noisy or too regular \n");
772 DISPLAYLEVEL(1, "FSE_normalizeCount error with offcodeCount \n");
781 DISPLAYLEVEL(1, "FSE_normalizeCount error with matchLengthCount \n");
790 DISPLAYLEVEL(1, "FSE_normalizeCount error with litLengthCount \n");
799 DISPLAYLEVEL(1, "HUF_writeCTable error \n");
810 DISPLAYLEVEL(1, "FSE_writeNCount error with offcodeNCount \n");
821 DISPLAYLEVEL(1, "FSE_writeNCount error with matchLengthNCount \n");
832 DISPLAYLEVEL(1, "FSE_writeNCount error with litlengthNCount \n");
842 DISPLAYLEVEL(1, "not enough space to write RepOffsets \n");
895 DISPLAYLEVEL(2, "\r%70s\r", ""); /* clean display line */
896 DISPLAYLEVEL(2, "statistics ... \n");
926 DISPLAYLEVEL(2, "\r%70s\r", ""); /* clean display line */
927 DISPLAYLEVEL(2, "statistics ... \n");
988 DISPLAYLEVEL(3, "\n %u segments found, of total size %u \n", dictList[0].pos-1, dictContentSize);
989 DISPLAYLEVEL(3, "list %u best segments \n", nb-1);
996 DISPLAYLEVEL(3, "%3u:%3u bytes at pos %8u, savings %7u bytes |",
999 DISPLAYLEVEL(3, "| \n");
1007 DISPLAYLEVEL(2, "! warning : selected content significantly smaller than requested (%u < %u) \n", dictContentSize, (U32)maxDictSize);
1009 DISPLAYLEVEL(2, "! consider increasing the number of samples (total size : %u MB)\n", (U32)(samplesBuffSize>>20));
1011 DISPLAYLEVEL(2, "! consider increasing selectivity to produce larger dictionary (-s%u) \n", selectivity+1);
1012 DISPLAYLEVEL(2, "! note : larger dictionaries are not necessarily better, test its efficiency on samples \n");
1019 DISPLAYLEVEL(2, "! note : calculated dictionary significantly larger than requested (%u > %u) \n", dictContentSize, (U32)maxDictSize);
1020 DISPLAYLEVEL(2, "! consider increasing dictionary size, or produce denser dictionary (-s%u) \n", proposedSelectivity);
1021 DISPLAYLEVEL(2, "! always test dictionary efficiency on real samples \n");