Function report |
Source Code:lib\mpi\mpiutil.c |
Create Date:2022-07-28 07:19:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Resize the array of A to NLIMBS. the additional space is cleared* (set to 0) [done by m_realloc()]
Proto:int mpi_resize(MPI a, unsigned nlimbs)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
MPI | a | |
unsigned | nlimbs |
90 | If nlimbs <= array size (# of allocated limbs) Then Return 0 |
93 | If array with the limbs Then |
94 | p = kmalloc_array - allocate memory for an array.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
99 | array with the limbs = p |
100 | Else |
101 | array with the limbs = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
102 | If Not array with the limbs Then Return -ENOMEM |
106 | Return 0 |
Name | Describe |
---|---|
mpi_powm | RES = BASE ^ EXP mod MOD |
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 |