Lines Matching refs:sequences
1880 /* sequences storage */
2299 const seqDef* const sequences = seqStorePtr->sequencesStart;
2303 U32 const nbSeq = (U32)(seqStorePtr->sequences - seqStorePtr->sequencesStart);
2307 U32 const llv = sequences[u].litLength;
2308 U32 const mlv = sequences[u].mlBase;
2310 ofCodeTable[u] = (BYTE)ZSTD_highbit32(sequences[u].offBase);
2342 * and size of the sequences statistics
2478 * compresses both literals and sequences
2497 const seqDef* const sequences = seqStorePtr->sequencesStart;
2498 const size_t nbSeq = seqStorePtr->sequences - seqStorePtr->sequencesStart;
2516 size_t const numSequences = seqStorePtr->sequences - seqStorePtr->sequencesStart;
2518 /* Base suspicion of uncompressibility on ratio of literals to sequences */
2557 /* build stats for sequences */
2574 sequences, nbSeq,
2717 ssPtr->sequences = ssPtr->sequencesStart;
2757 /* select and store sequences */
2808 size_t seqStoreSeqSize = seqStore->sequences - seqStoreSeqs;
2888 size_t ZSTD_mergeBlockDelimiters(ZSTD_Sequence* sequences, size_t seqsSize) {
2892 if (sequences[in].offset == 0 && sequences[in].matchLength == 0) {
2894 sequences[in+1].litLength += sequences[in].litLength;
2897 sequences[out] = sequences[in];
2935 size_t const nbSeqs = (size_t)(seqStore->sequences - seqStore->sequencesStart);
3078 * Builds entropy for the sequences.
3090 size_t const nbSeq = seqStorePtr->sequences - seqStorePtr->sequencesStart;
3208 /* Returns the size estimate for the sequences section (header + content) of a block */
3270 (size_t)(seqStore->sequences - seqStore->sequencesStart),
3278 size_t const nbSeqs = seqStore->sequences - seqStore->sequencesStart;
3293 size_t const nbSeqs = seqStore->sequences - seqStore->sequencesStart;
3317 resultSeqStore->sequences = originalSeqStore->sequencesStart + startIdx;
3330 resultSeqStore->sequences = originalSeqStore->sequencesStart + endIdx;
3333 if (endIdx == (size_t)(originalSeqStore->sequences - originalSeqStore->sequencesStart)) {
3423 ZSTD_seqStore_resolveOffCodes(dRep, cRep, seqStore, (U32)(seqStore->sequences - seqStore->sequencesStart));
3483 * Estimates the cost of seqStore prior to split, and estimates the cost of splitting the sequences in half.
3487 * Note: The recursion depth is capped by a heuristic minimum number of sequences, defined by MIN_SEQUENCES_BLOCK_SPLITTING.
3507 DEBUGLOG(6, "ZSTD_deriveBlockSplitsHelper: Too few sequences");
3537 DEBUGLOG(4, "ZSTD_deriveBlockSplits: Too few sequences to split");
3538 /* Refuse to try and split anything with less than 4 sequences */
3663 nbSeq = (U32)(zc->seqStore.sequences - zc->seqStore.sequencesStart);
3699 /* encode sequences and literals */
5555 size_t posInSrc; /* Number of bytes given by sequences provided so far */
5596 * ZSTD_Sequence, storing the sequences it finds, until it reaches a block delimiter.
5654 * This function will attempt to scan through blockSize bytes represented by the sequences
5655 * in inSeqs, storing any (partial) sequences.
5796 /* Compress, block-by-block, all of the sequences given.
5861 FORWARD_IF_ERROR(compressedSeqsSize, "Compressing sequences of block failed");
5862 DEBUGLOG(4, "Compressed sequences size: %zu", compressedSeqsSize);
5935 /* cSize includes block header size and compressed sequences size */