MCPcopy Create free account
hub / github.com/F-Stack/f-stack / test_app_create

Function test_app_create

dpdk/app/test/test_dispatcher.c:69–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67};
68
69static struct test_app *
70test_app_create(void)
71{
72 int i;
73 struct test_app *app;
74
75 app = calloc(1, sizeof(struct test_app));
76
77 if (app == NULL)
78 return NULL;
79
80 for (i = 0; i < NUM_QUEUES; i++)
81 app->queues[i].queue_id = i;
82
83 return app;
84}
85
86static void
87test_app_free(struct test_app *app)

Callers 1

test_setupFunction · 0.85

Calls 1

callocFunction · 0.85

Tested by

no test coverage detected