函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zstd\decompress.c Create Date:2022-07-27 08:04:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ZSTD_decodeSequence

函数原型:static seq_t ZSTD_decodeSequence(seqState_t *seqState)

返回类型:seq_t

参数:

类型参数名称
seqState_t *seqState
935  llCode等于FSE_peekSymbol( & stateLL)
936  mlCode等于FSE_peekSymbol( & stateML)
937  ofCode等于FSE_peekSymbol( & stateOffb)
939  llBits等于LL_bits[llCode]
940  mlBits等于ML_bits[mlCode]
941  ofBits等于ofCode
942  totalBits等于llBitsmlBitsofBits
944  static const U32 LL_base[36] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 20, 22, 24, 28, 32, 40, 48, 64, 0x80, 0x100, 0x200, 0x400, 0x800, 0x1000, 0x2000, 0x4000, 0x8000, 0x10000}
947  static const U32 ML_base[53] = {3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 37, 39, 41, 43, 47, 51, 59, 67, 83, 99, 0x83, 0x103, 0x203, 0x403, 0x803, 0x1003, 0x2003, 0x4003, 0x8003, 0x10003}
951  static const U32 OF_base[29] = {0, 1, 1, 5, 0xD, 0x1D, 0x3D, 0x7D, 0xFD, 0x1FD, 0x3FD, 0x7FD, 0xFFD, 0x1FFD, 0x3FFD, 0x7FFD, 0xFFFD, 0x1FFFD, 0x3FFFD, 0x7FFFD, 0xFFFFD, 0x1FFFFD, 0x3FFFFD, 0x7FFFFD, 0xFFFFFD, 0x1FFFFFD, 0x3FFFFFD, 0x7FFFFFD, 0xFFFFFFD}
958  如果非ofCodeoffset等于0
960  否则
966  如果ofCode小于等于1则
967  offset加等于llCode恒等于0
968  如果offset
969  temp等于如果offset恒等于3则prevOffset[0]减1否则prevOffset[offset]
970  temp加等于非temp
971  如果offset不等于1则prevOffset[2]等于prevOffset[1]
973  prevOffset[1]等于prevOffset[0]
974  prevOffset[0]等于offset等于temp
975  否则
976  offset等于prevOffset[0]
978  否则
979  prevOffset[2]等于prevOffset[1]
980  prevOffset[1]等于prevOffset[0]
981  prevOffset[0]等于offset
983  offset等于offset
986  matchLength等于ML_base[mlCode]加如果mlCode大于31则! BIT_readBitsFast() :* unsafe version; only works only if nbBits >= 1 否则0
987  如果-*************************************************************** Memory I/OmlBitsllBits大于24则BIT_reloadDStream( & DStream)
990  litLength等于LL_base[llCode]加如果llCode大于15则! BIT_readBitsFast() :* unsafe version; only works only if nbBits >= 1 否则0
991  如果-*************************************************************** Memory I/OtotalBits大于64减7减LLFSELogMLFSELogOffFSELogBIT_reloadDStream( & DStream)
995  FSE_updateState( & stateLL, & DStream)
996  FSE_updateState( & stateML, & DStream)
997  如果-*************************************************************** Memory I/OBIT_reloadDStream( & DStream)
999  FSE_updateState( & stateOffb, & DStream)
1001  match = NULL
1003  返回:seq
调用者
名称描述
ZSTD_decompressSequences