Lines Matching refs:table
1275 HUF_CElt* table, in HUF_optimalTableLog() argument
1301 …{ size_t maxBits = HUF_buildCTable_wksp(table, count, maxSymbolValue, optLogGuess, workSpace, wk… in HUF_optimalTableLog()
1306 …hSize = HUF_writeCTable_wksp(dst, dstSize, table, maxSymbolValue, (U32)maxBits, workSpace, wkspSiz… in HUF_optimalTableLog()
1311 newSize = HUF_estimateCompressedSize(table, count, maxSymbolValue) + hSize; in HUF_optimalTableLog()
1338 …HUF_compress_tables_t* const table = (HUF_compress_tables_t*)HUF_alignUpWorkspace(workSpace, &wksp… in HUF_compress_internal() local
1344 HUF_STATIC_ASSERT(sizeof(*table) + HUF_WORKSPACE_MAX_ALIGNMENT <= HUF_WORKSPACE_SIZE); in HUF_compress_internal()
1347 if (wkspSize < sizeof(*table)) return ERROR(workSpace_tooSmall); in HUF_compress_internal()
1369 …CHECK_V_F(largestBegin, HIST_count_simple (table->count, &maxSymbolValueBegin, (const BYTE*)src, S… in HUF_compress_internal()
1373 …CHECK_V_F(largestEnd, HIST_count_simple (table->count, &maxSymbolValueEnd, (const BYTE*)src + srcS… in HUF_compress_internal()
1380 …_F(largest, HIST_count_wksp (table->count, &maxSymbolValue, (const BYTE*)src, srcSize, table->wksp… in HUF_compress_internal()
1384 … DEBUGLOG(6, "histogram detail completed (%zu symbols)", showU32(table->count, maxSymbolValue+1)); in HUF_compress_internal()
1389 && !HUF_validateCTable(oldHufTable, table->count, maxSymbolValue)) { in HUF_compress_internal()
1400 …imalTableLog(huffLog, srcSize, maxSymbolValue, &table->wksps, sizeof(table->wksps), table->CTable,… in HUF_compress_internal()
1401 { size_t const maxBits = HUF_buildCTable_wksp(table->CTable, table->count, in HUF_compress_internal()
1403 … &table->wksps.buildCTable_wksp, sizeof(table->wksps.buildCTable_wksp)); in HUF_compress_internal()
1406 …DEBUGLOG(6, "bit distribution completed (%zu symbols)", showCTableBits(table->CTable + 1, maxSymbo… in HUF_compress_internal()
1410 { CHECK_V_F(hSize, HUF_writeCTable_wksp(op, dstSize, table->CTable, maxSymbolValue, huffLog, in HUF_compress_internal()
1411 … &table->wksps.writeCTable_wksp, sizeof(table->wksps.writeCTable_wksp)) ); in HUF_compress_internal()
1414 … size_t const oldSize = HUF_estimateCompressedSize(oldHufTable, table->count, maxSymbolValue); in HUF_compress_internal()
1415 … size_t const newSize = HUF_estimateCompressedSize(table->CTable, table->count, maxSymbolValue); in HUF_compress_internal()
1427 ZSTD_memcpy(oldHufTable, table->CTable, sizeof(table->CTable)); /* Save new table */ in HUF_compress_internal()
1431 nbStreams, table->CTable, flags); in HUF_compress_internal()