Home
last modified time | relevance | path

Searched refs:samplesSizes (Results 1 – 8 of 8) sorted by relevance

/external/zstd/lib/dictBuilder/
Dzdict.h62 const size_t* samplesSizes, unsigned nbSamples);
108 … const void* samplesBuffer, const size_t* samplesSizes, unsigned nbSamples,
177 const void *samplesBuffer, const size_t *samplesSizes, unsigned nbSamples,
199 const void* samplesBuffer, const size_t* samplesSizes, unsigned nbSamples,
220 const size_t *samplesSizes, unsigned nbSamples,
243 const size_t* samplesSizes, unsigned nbSamples,
268 const void *samplesBuffer, const size_t *samplesSizes, unsigned nbSamples,
296 … const void* samplesBuffer, const size_t* samplesSizes, unsigned nbSamples);
Dcover.c215 const size_t *samplesSizes; member
236 size_t COVER_sum(const size_t *samplesSizes, unsigned nbSamples) { in COVER_sum() argument
240 sum += samplesSizes[i]; in COVER_sum()
542 const size_t *samplesSizes, unsigned nbSamples, in COVER_ctx_init() argument
545 const size_t totalSamplesSize = COVER_sum(samplesSizes, nbSamples); in COVER_ctx_init()
549 …const size_t trainingSamplesSize = splitPoint < 1.0 ? COVER_sum(samplesSizes, nbTrainSamples) : to… in COVER_ctx_init()
550 …const size_t testSamplesSize = splitPoint < 1.0 ? COVER_sum(samplesSizes + nbTrainSamples, nbTestS… in COVER_ctx_init()
575 ctx->samplesSizes = samplesSizes; in COVER_ctx_init()
599 ctx->offsets[i] = ctx->offsets[i - 1] + samplesSizes[i - 1]; in COVER_ctx_init()
729 const void *samplesBuffer, const size_t *samplesSizes, unsigned nbSamples, in ZDICT_trainFromBuffer_cover() argument
[all …]
Dfastcover.c122 const size_t *samplesSizes; member
307 const size_t* samplesSizes, unsigned nbSamples, in FASTCOVER_ctx_init() argument
312 const size_t totalSamplesSize = COVER_sum(samplesSizes, nbSamples); in FASTCOVER_ctx_init()
316 …const size_t trainingSamplesSize = splitPoint < 1.0 ? COVER_sum(samplesSizes, nbTrainSamples) : to… in FASTCOVER_ctx_init()
317 …const size_t testSamplesSize = splitPoint < 1.0 ? COVER_sum(samplesSizes + nbTrainSamples, nbTestS… in FASTCOVER_ctx_init()
347 ctx->samplesSizes = samplesSizes; in FASTCOVER_ctx_init()
369 ctx->offsets[i] = ctx->offsets[i - 1] + samplesSizes[i - 1]; in FASTCOVER_ctx_init()
491 …ctx->samples, ctx->samplesSizes, nbFinalizeSamples, ctx->nbTrainSamples, ctx->nbSamples, parameter… in FASTCOVER_tryParameters()
543 const size_t* samplesSizes, unsigned nbSamples, in ZDICT_trainFromBuffer_fastCover() argument
578 size_t const initVal = FASTCOVER_ctx_init(&ctx, samplesBuffer, samplesSizes, nbSamples, in ZDICT_trainFromBuffer_fastCover()
[all …]
Dcover.h93 const size_t *samplesSizes, const BYTE *samples,
101 size_t COVER_sum(const size_t *samplesSizes, unsigned nbSamples) ;
156 …size_t dictContentSize, const BYTE* samplesBuffer, const size_t* samplesSizes, unsigned nbFinalize…
Dzdict.c889 const void* samplesBuffer, const size_t* samplesSizes, in ZDICT_finalizeDictionary() argument
918 samplesBuffer, samplesSizes, nbSamples, in ZDICT_finalizeDictionary()
938 const void* samplesBuffer, const size_t* samplesSizes, unsigned nbSamples, in ZDICT_addEntropyTablesFromBuffer_advanced() argument
950 samplesBuffer, samplesSizes, nbSamples, in ZDICT_addEntropyTablesFromBuffer_advanced()
973 … const void* samplesBuffer, const size_t* samplesSizes, unsigned nbSamples,
981 … const void* samplesBuffer, const size_t* samplesSizes, unsigned nbSamples, in ZDICT_trainFromBuffer_unsafe_legacy() argument
989 size_t const samplesBuffSize = ZDICT_totalSampleSize(samplesSizes, nbSamples); in ZDICT_trainFromBuffer_unsafe_legacy()
1004 samplesSizes, nbSamples, in ZDICT_trainFromBuffer_unsafe_legacy()
1072 samplesBuffer, samplesSizes, nbSamples, in ZDICT_trainFromBuffer_unsafe_legacy()
1086 … const void* samplesBuffer, const size_t* samplesSizes, unsigned nbSamples, in ZDICT_trainFromBuffer_legacy() argument
[all …]
/external/zstd/tests/fuzz/
Dzstd_helpers.c112 size_t* const samplesSizes = (size_t*)FUZZ_malloc(sizeof(size_t) * nbSamples); in FUZZ_train() local
124 samplesSizes[sample] = toCopy; in FUZZ_train()
135 samples, samplesSizes, nbSamples, params); in FUZZ_train()
141 free(samplesSizes); in FUZZ_train()
/external/zstd/tests/
Dfuzzer.c1762 size_t* const samplesSizes = (size_t*) malloc(nbSamples * sizeof(size_t)); in basicUnitTests() local
1767 if (dictBuffer==NULL || samplesSizes==NULL) { in basicUnitTests()
1769 free(samplesSizes); in basicUnitTests()
1776 { U32 u; for (u=0; u<nbSamples; u++) samplesSizes[u] = sampleUnitSize; } in basicUnitTests()
1778 decodedBuffer, samplesSizes, nbSamples); in basicUnitTests()
1784 { U32 u; for (u=0; u<nbSamples; u++) samplesSizes[u] = sampleUnitSize; } in basicUnitTests()
1786 CNBuffer, samplesSizes, nbSamples); in basicUnitTests()
1791 { U32 u; for (u=0; u<nbSamples; u++) samplesSizes[u] = sampleUnitSize; } in basicUnitTests()
1798 CNBuffer, samplesSizes, nbSamples/8, /* less samples for faster tests */ in basicUnitTests()
1805 { U32 u; for (u=0; u<nbSamples; u++) samplesSizes[u] = sampleUnitSize; } in basicUnitTests()
[all …]
/external/zstd/programs/
Ddibio.c266 … const void* samplesBuffer, const size_t* samplesSizes, unsigned nbSamples,