Function report |
Source Code:lib\sort.c |
Create Date:2022-07-28 06:19:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sort_r - sort an array of elements*@base: pointer to data to sort*@num: number of elements*@size: size of each element*@cmp_func: pointer to comparison function*@swap_func: pointer to swap function or NULL*@priv: third argument passed to comparison
Proto:void sort_r(void *base, size_t num, size_t size, cmp_r_func_t cmp_func, swap_func_t swap_func, const void *priv)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | base | |
| size_t | num | |
| size_t | size | |
| cmp_r_func_t | cmp_func | |
| swap_func_t | swap_func | |
| const void * | priv |
| 208 | If Not a Then Return |
| 211 | If Not swap_func Then |
| 216 | Else swap_func = SWAP_BYTES |
| 227 | cycle |
| 232 | Else if n -= size Then The function pointer is last to make tail calls most efficient if the* compiler decides not to inline this function. |
| 234 | Else Break |
| Name | Describe |
|---|---|
| sort |
| 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 |