函数逻辑报告 |
Source Code:lib\mpi\mpicoder.c |
Create Date:2022-07-27 08:17:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:mpi_write_to_sgl() - Funnction exports MPI to an sgl (msb first)* This function works in the same way as the mpi_read_buffer, but it* takes an sgl instead of u8 * buf.*@a: a multi precision integer*@sgl: scatterlist to write to. Needs to be at least
函数原型:int mpi_write_to_sgl(MPI a, struct scatterlist *sgl, unsigned nbytes, int *sign)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| MPI | a | |
| struct scatterlist * | sgl | |
| unsigned | nbytes | |
| int * | sign |
| 258 | n等于需要存储的数量极大值 |
| 263 | 如果sign则sign等于 indicates a negative number |
| 273 | 开始映射迭代一个SG名单 |
| 276 | p2等于 pointer to the mapped area |
| 279 | i等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsigned, nbytes - n, buf_len) |
| 285 | 如果非buf_len则 |
| 288 | p2等于 pointer to the mapped area |
| 294 | alimb等于如果 array with the limbs [i]则cpu_to_be32( array with the limbs [i])否则0 |
| 304 | 如果非buf_len先自减则 |
| 307 | p2等于 pointer to the mapped area |
| 313 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |