函数逻辑报告 |
Source Code:lib\xarray.c |
Create Date:2022-07-27 07:10:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:xas_free_nodes() - Free this node and all nodes that it references*@xas: Array operation state.*@top: Node to free* This node has been removed from the tree. We must now free it and all* of its subnodes
函数原型:static void xas_free_nodes(struct xa_state *xas, struct xa_node *top)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct xa_state * | xas | |
struct xa_node * | top |
521 | offset等于0 |
524 | 循环 |
527 | 如果Bits remaining in each slot 且Private 则 |
534 | offset自加 |
535 | 当offset恒等于XA_CHUNK_SIZE循环 |
539 | offset等于Slot offset in parent 加1 |
540 | Total entry count 等于0 |
541 | Value entry count 等于0 |
542 | xas_update(xas, node) |
543 | xa_node_free(node) |
名称 | 描述 |
---|---|
xas_store | xas_store() - Store this entry in the XArray |
xa_destroy | xa_destroy() - Free all internal data structures.*@xa: XArray.* After calling this function, the XArray is empty and has freed all memory* allocated for its internal data structures. You are responsible for* freeing the objects referenced by the XArray. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |