函数逻辑报告 |
Source Code:lib\objagg.c |
Create Date:2022-07-27 08:22:37 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:bjagg_create - creates a new objagg instance*@ops: user-specific callbacks*@objagg_hints: hints, can be NULL*@priv: pointer to a private data passed to the ops* Note: all locking must be provided by the caller
函数原型:struct objagg *objagg_create(const struct objagg_ops *ops, struct objagg_hints *objagg_hints, void *priv)
返回类型:struct objagg
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const struct objagg_ops * | ops | |
| struct objagg_hints * | objagg_hints | |
| void * | priv |
| 520 | 如果WARN_ON(!ops || !root_create || !root_destroy || !delta_check || !delta_create || !delta_destroy)则返回:错误号 |
| 529 | 如果objagg_hints则 |
| 530 | hints等于objagg_hints |
| 531 | refcount自加 |
| 534 | 初始化链表头 |
| 537 | key_offset等于offsetof(structobjagg_obj, obj) |
| 538 | head_offset等于offsetof(structobjagg_obj, ht_node) |
| 540 | err等于hashtable_init - initialize a new hash table*@ht: hash table to be initialized*@params: configuration parameters* Initializes a new hash table based on the provided configuration* parameters |
| 541 | 如果err则转到:err_rhashtable_init |
| 547 | 返回:objagg |
| 549 | err_rhashtable_init : |
| 551 | 返回:错误号 |
| 名称 | 描述 |
|---|---|
| test_delta | |
| test_hints_case | |
| test_nodelta |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |