| 函数逻辑报告 | 
| Source Code: lib\genalloc.c | Create Date:2022-07-27 07:54:14 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:gen_pool_set_algo - set the allocation algorithm*@pool: pool to change allocation algorithm*@algo: custom algorithm function*@data: additional data used by @algo* Call @algo for each memory allocation in the pool
函数原型:void gen_pool_set_algo(struct gen_pool *pool, genpool_algo_t algo, void *data)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct gen_pool * | pool | |
| genpool_algo_t | algo | |
| void * | data | 
| 624 | allocation function 等于algo | 
| 625 | 如果非 allocation function 则 allocation function 等于gen_pool_first_fit | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |