Function report | 
Source Code:lib\test_parman.c | 
Create Date:2022-07-28 06:34:16 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:test_parman_resize
Proto:static int test_parman_resize(void *priv, unsigned long new_count)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| void * | priv | |
| unsigned long | new_count | 
| 94 | test_parman = priv | 
| 100 | If new_count == 0 Then Return 0 | 
| 102 | If Not prio_array Then Return -ENOMEM | 
| 104 | old_count = prio_array_limit | 
| 105 | If new_count > old_count Then memset( & prio_array[old_count], 0, ITEM_PTRS_SIZE(new_count - old_count)) | 
| 108 | prio_array = prio_array | 
| 109 | prio_array_limit = new_count | 
| 110 | Return 0 | 
| Name | Describe | 
|---|---|
| test_parman_create | |
| test_parman_destroy | 
| 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  |