函数逻辑报告 |
Source Code:lib\assoc_array.c |
Create Date:2022-07-27 07:51:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:assoc_array_find - Find an object by index key*@array: The associative array to search
函数原型:void *assoc_array_find(const struct assoc_array *array, const struct assoc_array_ops *ops, const void *index_key)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct assoc_array * | array | |
const struct assoc_array_ops * | ops | |
const void * | index_key |
314 | 如果Navigate through the internal tree looking for the closest node to the key.不等于assoc_array_walk_found_terminal_node则返回:NULL |
323 | 以slot小于Number of slots per node 循环 |
325 | 如果ptr且assoc_array_ptr_is_leaf(ptr)则 |
330 | leaf等于assoc_array_ptr_to_leaf(ptr) |
331 | 如果compare_object(leaf, index_key)则返回:leaf |
336 | 返回:NULL |
名称 | 描述 |
---|---|
find_key_to_update | Search the given keyring for a key that might be updated.* The caller must guarantee that the keyring is a keyring and that the* permission is granted to modify the keyring as no check is made here. The |
search_keyring | Search inside a keyring for a key. We can search by walking to it* directly based on its index-key or we can iterate over the entire* tree looking for it, based on the match function. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |