函数逻辑报告 |
Source Code:lib\mpi\mpicoder.c |
Create Date:2022-07-27 08:17:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:mpi_read_buffer() - read MPI to a bufer provided by user (msb first)*@a: a multi precision integer*@buf: bufer to which the output will be written to
函数原型:int mpi_read_buffer(MPI a, uint8_t *buf, unsigned buf_len, unsigned *nbytes, int *sign)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| MPI | a | |
| uint8_t * | buf | |
| unsigned | buf_len | |
| unsigned * | nbytes | |
| int * | sign |
| 154 | n等于需要存储的数量极大值 |
| 160 | 如果sign则sign等于 indicates a negative number |
| 163 | lzeros等于count_lzeros(a) |
| 187 | 返回:0 |
| 名称 | 描述 |
|---|---|
| mpi_get_buffer | mpi_get_buffer() - Returns an allocated buffer with the MPI (msb first).* Caller must free the return string.* This function does return a 0 byte buffer with nbytes set to zero if the* value of A is zero.*@a: a multi precision integer. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |