函数逻辑报告 |
Source Code:lib\bch.c |
Create Date:2022-07-27 07:57:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:compute_error_locator_polynomial
函数原型:static int compute_error_locator_polynomial(struct bch_control *bch, const unsigned int *syn)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct bch_control * | bch | |
| const unsigned int * | syn |
| 395 | pp等于负1 |
| 397 | memset(pelp, 0, given its degree, compute a polynomial size in bytes (2 * t)) |
| 398 | memset(elp, 0, given its degree, compute a polynomial size in bytes (2 * t)) |
| 400 | polynomial degree 等于0 |
| 401 | polynomial terms [0]等于1 |
| 402 | polynomial degree 等于0 |
| 403 | polynomial terms [0]等于1 |
| 406 | 以i小于t且polynomial degree 小于等于t循环 |
| 407 | 如果d则 |
| 409 | gf_poly_copy(elp_copy, elp) |
| 412 | 以j小于等于polynomial degree 循环 |
| 413 | 如果polynomial terms [j]则 |
| 419 | tmp等于polynomial degree 加k |
| 420 | 如果tmp大于polynomial degree 则 |
| 434 | dbg("elp=%s\n", gf_poly_str(elp)) |
| 435 | 返回:如果polynomial degree 大于t则负1否则polynomial degree |
| 名称 | 描述 |
|---|---|
| decode_bch | decode_bch - decode received codeword and find bit error locations*@bch: BCH control structure*@data: received data, ignored if @calc_ecc is provided*@len: data length in bytes, must always be provided*@recv_ecc: received ecc, if NULL then assume it was |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |