Home
last modified time | relevance | path

Searched refs:totalSizeToLoad (Results 1 – 6 of 6) sorted by relevance

/external/zstd/programs/
Ddibio.c228 U64 totalSizeToLoad; member
249 fs.totalSizeToLoad += cappedChunkSize * nbSamples; in DiB_fileStats()
253 DISPLAYLEVEL(4, "Preparing to load : %u KB \n", (unsigned)(fs.totalSizeToLoad >> 10)); in DiB_fileStats()
285 size_t const maxMem = DiB_findMaxMem(fs.totalSizeToLoad * memMult) / memMult; in DiB_trainFromFiles()
286 size_t loadedSize = (size_t) MIN ((unsigned long long)maxMem, fs.totalSizeToLoad); in DiB_trainFromFiles()
304 if (fs.totalSizeToLoad < (unsigned long long)maxDictSize * 8) { in DiB_trainFromFiles()
310 if (loadedSize < fs.totalSizeToLoad) in DiB_trainFromFiles()
Dbenchzstd.c796 U64 const totalSizeToLoad = UTIL_getTotalFileSize(fileNamesTable, nbFiles); in BMK_benchFilesAdvanced() local
839 benchedSize = BMK_findMaxMem(totalSizeToLoad * 3) / 3; in BMK_benchFilesAdvanced()
840 if ((U64)benchedSize > totalSizeToLoad) benchedSize = (size_t)totalSizeToLoad; in BMK_benchFilesAdvanced()
841 if (benchedSize < totalSizeToLoad) in BMK_benchFilesAdvanced()
/external/lz4/programs/
Dbench.c464 U64 const totalSizeToLoad = UTIL_getTotalFileSize(fileNamesTable, nbFiles); in BMK_benchFileTable() local
470 benchedSize = BMK_findMaxMem(totalSizeToLoad * 3) / 3; in BMK_benchFileTable()
472 if ((U64)benchedSize > totalSizeToLoad) benchedSize = (size_t)totalSizeToLoad; in BMK_benchFileTable()
477 if (benchedSize < totalSizeToLoad) in BMK_benchFileTable()
/external/zstd/zlibWrapper/examples/
Dzwrapbench.c719 U64 const totalSizeToLoad = UTIL_getTotalFileSize(fileNamesTable, nbFiles); in BMK_benchFileTable() local
737 benchedSize = BMK_findMaxMem(totalSizeToLoad * 3) / 3; in BMK_benchFileTable()
738 if ((U64)benchedSize > totalSizeToLoad) benchedSize = (size_t)totalSizeToLoad; in BMK_benchFileTable()
739 if (benchedSize < totalSizeToLoad) in BMK_benchFileTable()
/external/zstd/contrib/largeNbDicts/
DlargeNbDicts.c390 U64 const totalSizeToLoad = UTIL_getTotalFileSize(fileNamesTable, nbFiles); in createBufferCollection_fromFiles() local
391 assert(totalSizeToLoad != UTIL_FILESIZE_UNKNOWN); in createBufferCollection_fromFiles()
392 assert(totalSizeToLoad <= BENCH_SIZE_MAX); in createBufferCollection_fromFiles()
393 size_t const loadedSize = (size_t)totalSizeToLoad; in createBufferCollection_fromFiles()
/external/zstd/tests/
Dparamgrill.c1243 size_t totalSizeToLoad = (size_t)UTIL_getTotalFileSize(fileNamesTable, (U32)nbFiles); in createBuffers() local
1244 size_t benchedSize = MIN(BMK_findMaxMem(totalSizeToLoad * 3) / 3, totalSizeToLoad); in createBuffers()
1249 if(!totalSizeToLoad || !benchedSize) { in createBuffers()