Function report |
Source Code:lib\kunit\test.c |
Create Date:2022-07-28 06:38:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kunit_resource_remove
Proto:static struct kunit_resource *kunit_resource_remove(struct kunit *test, kunit_resource_match_t match, kunit_resource_free_t free, void *match_data)
Type:struct kunit_resource
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kunit * | test | |
| kunit_resource_match_t | match | |
| kunit_resource_free_t | free | |
| void * | match_data |
| 379 | spin_lock( & Guards all mutable test state. ) |
| 380 | resource = kunit_resource_find(test, match, free, match_data) |
| 381 | If resource Then deletes entry from list |
| 385 | Return resource |
| Name | Describe |
|---|---|
| kunit_resource_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 |