| Function report | 
| Source Code: lib\assoc_array.c | Create Date:2022-07-28 06:54:28 | 
| 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_insert - Script insertion of an object into an associative array*@array: The array to insert into
Proto:struct assoc_array_edit *assoc_array_insert(struct assoc_array *array, const struct assoc_array_ops *ops, const void *index_key, void *object)
Type:struct assoc_array_edit
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct assoc_array * | array | |
| const struct assoc_array_ops * | ops | |
| const void * | index_key | |
| void * | object | 
| 981 | edit = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). | 
| 986 | leaf = assoc_array_leaf_to_ptr(object) | 
| 987 | adjust_count_by = 1 | 
| 992 | If Not Handle insertion into an empty tree. Then Go to enomem | 
| 994 | Return edit | 
| 1001 | If Not Handle insertion into a terminal node. Then Go to enomem | 
| 1004 | Return edit | 
| 1010 | If Not Handle insertion into the middle of a shortcut. Then Go to enomem | 
| 1012 | Return edit | 
| 1015 | enomem : | 
| 1017 | pr_devel("enomem\n") | 
| 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 |