函数逻辑报告 |
Source Code:lib\list_sort.c |
Create Date:2022-07-27 07:17:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:list_sort - sort a list*@priv: private data, opaque to list_sort(), passed to @cmp*@head: the list to sort*@cmp: the elements comparison function* The comparison funtion @cmp must return > 0 if @a should sort after*@b ("@a > @b" if you want an ascending
函数原型:__attribute__((nonnull(2, 3))) void list_sort(void *priv, struct list_head *head, int (*cmp)(void *priv, struct list_head *a, struct list_head *b))
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
void * | priv | |
struct list_head * | head | |
int (* | cmp |
193 | count等于0 |
199 | 链表后项 = NULL |
219 | 循环 |
227 | 如果此条件成立可能性大(为编译器优化)(bits)则 |
240 | 链表后项 = NULL |
241 | count自加 |
247 | 循环 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |