Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zstd\huf_compress.c Create Date:2022-07-28 07:02:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:HUF_compressCTable_internal

Proto:static size_t HUF_compressCTable_internal(BYTE *const ostart, BYTE *op, BYTE *const oend, const void *src, size_t srcSize, unsigned singleStream, const HUF_CElt *CTable)

Type:size_t

Parameter:

TypeParameterName
BYTE *constostart
BYTE *op
BYTE *constoend
const void *src
size_tsrcSize
unsignedsingleStream
const HUF_CElt *CTable
636  cSize = If singleStream Then HUF_compress1X_usingCTable(op, oend - op, src, srcSize, CTable) Else HUF_compress4X_usingCTable(op, oend - op, src, srcSize, CTable)
638  If Error Management Then
639  Return cSize
641  If cSize == 0 Then
642  Return 0
644  op += cSize
646  If op - ostart >= srcSize - 1 Then
647  Return 0
649  Return op - ostart
Caller
NameDescribe
HUF_compress_internal`workSpace` must a table of at least 1024 unsigned