| Function report | 
| Source Code: lib\lru_cache.c | Create Date:2022-07-28 07:16:50 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:lc_prepare_for_change
Proto:static struct lc_element *lc_prepare_for_change(struct lru_cache *lc, unsigned new_number)
Type:struct lc_element
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct lru_cache * | lc | |
| unsigned | new_number | 
| 326 | If Not list_empty - tests whether a list is empty*@head: the list to test. Then n = next | 
| 328 | Else if Not list_empty - tests whether a list is empty*@head: the list to test. Then n = prev | 
| 330 | Else Return NULL | 
| 336 | r pending changes = new_number | 
| 337 | If Not hlist_unhashed( & colision) Then __hlist_del( & colision) | 
| 339 | hlist_add_head( & colision, lc_hash_slot(lc, new_number)) | 
| 342 | Return e | 
| Name | Describe | 
|---|---|
| __lc_get | 
| 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 |