Function report |
Source Code:lib\assoc_array.c |
Create Date:2022-07-28 06:54:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:assoc_array_find - Find an object by index key*@array: The associative array to search
Proto:void *assoc_array_find(const struct assoc_array *array, const struct assoc_array_ops *ops, const void *index_key)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct assoc_array * | array | |
| const struct assoc_array_ops * | ops | |
| const void * | index_key |
| 314 | If Navigate through the internal tree looking for the closest node to the key. != assoc_array_walk_found_terminal_node Then Return NULL |
| 323 | When slot < Number of slots per node cycle |
| 325 | If ptr && assoc_array_ptr_is_leaf(ptr) Then |
| 330 | leaf = assoc_array_ptr_to_leaf(ptr) |
| 331 | If compare_object(leaf, index_key) Then Return leaf |
| 336 | Return NULL |
| Name | Describe |
|---|---|
| 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 |
| 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 |