Home | History | Annotate | Download | only in compress

Lines Matching defs:splits

4118 /* Helper function to perform the recursive search for block splits.
4128 * Furthermore, the number of splits is capped by ZSTD_MAX_NB_BLOCK_SPLITS.
4133 ZSTD_deriveBlockSplitsHelper(seqStoreSplits* splits, size_t startIdx, size_t endIdx,
4146 if (endIdx - startIdx < MIN_SEQUENCES_BLOCK_SPLITTING || splits->idx >= ZSTD_MAX_NB_BLOCK_SPLITS) {
4163 ZSTD_deriveBlockSplitsHelper(splits, startIdx, midIdx, zc, origSeqStore);
4164 splits->splitLocations[splits->idx] = (U32)midIdx;
4165 splits->idx++;
4166 ZSTD_deriveBlockSplitsHelper(splits, midIdx, endIdx, zc, origSeqStore);
4173 * @return: number of splits made (which equals the size of the partition table - 1).
4177 seqStoreSplits splits;
4178 splits.splitLocations = partitions;
4179 splits.idx = 0;
4185 ZSTD_deriveBlockSplitsHelper(&splits, 0, nbSeq, zc, &zc->seqStore);
4186 splits.splitLocations[splits.idx] = nbSeq;
4187 DEBUGLOG(5, "ZSTD_deriveBlockSplits: final nb partitions: %zu", splits.idx+1);
4188 return splits.idx;
4244 DEBUGLOG(5, "ZSTD_compressBlock_splitBlock_internal: No splits");