Function report |
Source Code:lib\reed_solomon\test_rslib.c |
Create Date:2022-07-28 06:59:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alloc_ws
Proto:static struct wspace *alloc_ws(struct rs_codec *rs)
Type:struct wspace
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rs_codec * | rs |
| 114 | ws = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 115 | If Not ws Then Return NULL |
| 118 | sent codeword = kmalloc_array - allocate memory for an array.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
| 120 | If Not sent codeword Then Go to err |
| 123 | received word = sent codeword + nn |
| 124 | syndrome = received word + nn |
| 125 | correction buffer = syndrome + nroots |
| 127 | errlocs = kmalloc_array - allocate memory for an array.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
| 132 | Return ws |
| 134 | err : |
| 136 | Return NULL |
| Name | Describe |
|---|---|
| run_exercise |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |