Home
last modified time | relevance | path

Searched refs:fastCoverParams (Results 1 – 5 of 5) sorted by relevance

/external/zstd/programs/
Ddibio.c273 ZDICT_fastCover_params_t* fastCoverParams, int optimize) in DiB_trainFromFiles() argument
277 fastCoverParams ? fastCoverParams->zParams.notificationLevel : in DiB_trainFromFiles()
340 assert(fastCoverParams != NULL); in DiB_trainFromFiles()
344 fastCoverParams); in DiB_trainFromFiles()
346 unsigned splitPercentage = (unsigned)(fastCoverParams->splitPoint * 100); in DiB_trainFromFiles()
347 … DISPLAYLEVEL(2, "k=%u\nd=%u\nf=%u\nsteps=%u\nsplit=%u\naccel=%u\n", fastCoverParams->k, in DiB_trainFromFiles()
348fastCoverParams->d, fastCoverParams->f, fastCoverParams->steps, splitPercentage, in DiB_trainFromFiles()
349 fastCoverParams->accel); in DiB_trainFromFiles()
353 … sampleSizes, fs.nbSamples, *fastCoverParams); in DiB_trainFromFiles()
Ddibio.h37 ZDICT_fastCover_params_t* fastCoverParams, int optimize);
Dzstdcli.c746 ZDICT_fastCover_params_t fastCoverParams = defaultFastCoverParams(); in main() local
869 if (*argument == 0) { memset(&fastCoverParams, 0, sizeof(fastCoverParams)); } in main()
871 …else if (!parseFastCoverParameters(argument, &fastCoverParams)) { badusage(programName); CLEAN_RET… in main()
1217 int const optimize = !fastCoverParams.k || !fastCoverParams.d; in main()
1218 fastCoverParams.nbThreads = (unsigned)nbWorkers; in main()
1219 fastCoverParams.zParams = zParams; in main()
1220 …mes->fileNames, (unsigned)filenames->tableSize, blockSize, NULL, NULL, &fastCoverParams, optimize); in main()
/external/zstd/lib/dictBuilder/
Dfastcover.c510 FASTCOVER_convertToCoverParams(ZDICT_fastCover_params_t fastCoverParams, in FASTCOVER_convertToCoverParams() argument
513 coverParams->k = fastCoverParams.k; in FASTCOVER_convertToCoverParams()
514 coverParams->d = fastCoverParams.d; in FASTCOVER_convertToCoverParams()
515 coverParams->steps = fastCoverParams.steps; in FASTCOVER_convertToCoverParams()
516 coverParams->nbThreads = fastCoverParams.nbThreads; in FASTCOVER_convertToCoverParams()
517 coverParams->splitPoint = fastCoverParams.splitPoint; in FASTCOVER_convertToCoverParams()
518 coverParams->zParams = fastCoverParams.zParams; in FASTCOVER_convertToCoverParams()
519 coverParams->shrinkDict = fastCoverParams.shrinkDict; in FASTCOVER_convertToCoverParams()
525 ZDICT_fastCover_params_t* fastCoverParams, in FASTCOVER_convertToFastCoverParams() argument
528 fastCoverParams->k = coverParams.k; in FASTCOVER_convertToFastCoverParams()
[all …]
/external/zstd/tests/
Dfuzzer.c1822 { ZDICT_fastCover_params_t fastCoverParams; in basicUnitTests() local
1823 memset(&fastCoverParams, 0, sizeof(fastCoverParams)); in basicUnitTests()
1824 fastCoverParams.steps = 8; in basicUnitTests()
1825 fastCoverParams.nbThreads = 4; in basicUnitTests()
1829 &fastCoverParams); in basicUnitTests()
1836 { ZDICT_fastCover_params_t fastCoverParams; in basicUnitTests() local
1837 memset(&fastCoverParams, 0, sizeof(fastCoverParams)); in basicUnitTests()
1838 fastCoverParams.steps = 8; in basicUnitTests()
1839 fastCoverParams.nbThreads = 4; in basicUnitTests()
1840 fastCoverParams.shrinkDict = 1; in basicUnitTests()
[all …]