函数逻辑报告 |
Source Code:lib\xarray.c |
Create Date:2022-07-27 07:10:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:xas_create() - Create a slot to store an entry in.*@xas: XArray operation state.*@allow_root: %true if we can store the entry in the root directly* Most users will not need to call this function directly, as it is called* by xas_store()
函数原型:static void *xas_create(struct xa_state *xas, bool allow_root)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct xa_state * | xas | |
bool | allow_root |
646 | xa_node = NULL |
647 | 如果非entry且xa_zero_busy(xa)则entry等于XA_ZERO_ENTRY |
649 | shift等于xas_expand adds nodes to the head of the tree until it has reached* sufficient height to be able to contain @xas->xa_index |
650 | 如果shift小于0则返回:NULL |
657 | 返回:NULL |
658 | 否则如果node则 |
664 | 否则 |
672 | 如果非entry则 |
676 | 如果xa_track_free(xa)则node_mark_all(node, XA_FREE_MARK) |
679 | 否则如果Private 则 |
681 | 否则 |
682 | 退出 |
684 | entry等于xas_descend(xas, node) |
688 | 返回:entry |
名称 | 描述 |
---|---|
xas_create_range | xas_create_range() - Ensure that stores to this range will succeed*@xas: XArray operation state.* Creates all of the slots in the range covered by @xas. Sets @xas to* create single-index entries and positions it at the beginning of the* range |
xas_store | xas_store() - Store this entry in the XArray |
xa_store_range | xa_store_range() - Store this entry at a range of indices in the XArray |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |