Function report |
Source Code:lib\lru_cache.c |
Create Date:2022-07-28 07:16:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lc_element_by_index*@lc: the lru cache to operate on*@i: the index of the element to return
Proto:struct lc_element *lc_element_by_index(struct lru_cache *lc, unsigned i)
Type:struct lc_element
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct lru_cache * | lc | |
| unsigned | i |
| 581 | BUG_ON(i >= number of elements (indices) ) |
| 582 | BUG_ON(lc_element[i] == NULL) |
| 583 | BUG_ON(ack "pointer" into lc_cache->element[index],* for paranoia, and for "lc_element_to_index" != i) |
| 584 | Return lc_element[i] |
| Name | Describe |
|---|---|
| lc_set | lc_set - associate index with label*@lc: the lru cache to operate on*@enr: the label to set*@index: the element index to associate label with.* Used to initialize the active set to some previously recorded state. |
| lc_seq_dump_details | lc_dump - Dump a complete LRU cache to seq in textual form |
| 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 |