函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:xz_crc32_init

函数原型:void xz_crc32_init(void)

返回类型:void

参数:

32  poly等于There are multiple 16-bit CRC polynomials in common use, but this is* *the* standard CRC-32 polynomial, first popularized by Ethernet.* x^32+x^26+x^23+x^22+x^16+x^12+x^11+x^10+x^8+x^7+x^5+x^4+x^2+x^1+x^0
38 i小于256循环
39  r等于i
40 j小于8循环r等于r右移1位按位异或poly按位与r按位与1的值减1的差的反
43  xz_crc32_table[i]等于r
46  返回
调用者
名称描述
unxzThis function implements the API defined in .* This wrapper will automatically choose single-call or multi-call mode* of the native XZ decoder API. The single-call mode can be used only when