Function report |
Source Code:lib\kunit\test-test.c |
Create Date:2022-07-28 06:39:12 |
| 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_test_init
Proto:static int kunit_resource_test_init(struct kunit *test)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kunit * | test |
| 296 | ctx = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 303 | kunit_init_test( & test, "test_test_context") |
| 305 | Return 0 |
| 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 |