Home
last modified time | relevance | path

Searched refs:nbChunks (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/lib/zstd/compress/
Dzstd_lazy.c979 ZSTD_row_getSSEMask(int nbChunks, const BYTE* const src, const BYTE tag, const U32 head) in ZSTD_row_getSSEMask() argument
984 assert(nbChunks == 1 || nbChunks == 2 || nbChunks == 4); in ZSTD_row_getSSEMask()
985 for (i=0; i<nbChunks; i++) { in ZSTD_row_getSSEMask()
990 if (nbChunks == 1) return ZSTD_rotateRight_U16((U16)matches[0], head); in ZSTD_row_getSSEMask()
991 if (nbChunks == 2) return ZSTD_rotateRight_U32((U32)matches[1] << 16 | (U32)matches[0], head); in ZSTD_row_getSSEMask()
992 assert(nbChunks == 4); in ZSTD_row_getSSEMask()
Dzstd_ldm.c513 size_t const nbChunks = (srcSize / kMaxChunkSize) + ((srcSize % kMaxChunkSize) != 0); in ZSTD_ldm_generateSequences() local
527 for (chunk = 0; chunk < nbChunks && sequences->size < sequences->capacity; ++chunk) { in ZSTD_ldm_generateSequences()