Function report |
Source Code:lib\xarray.c |
Create Date:2022-07-28 06:13:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static void xas_free_nodes(struct xa_state *xas, struct xa_node *top)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct xa_state * | xas | |
| struct xa_node * | top |
| 521 | offset = 0 |
| 524 | cycle |
| 527 | If Bits remaining in each slot && Private Then |
| 534 | offset++ |
| 535 | When offset == XA_CHUNK_SIZE cycle |
| 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) |
| Name | Describe |
|---|---|
| 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. |
| 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 |