MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / TEST_P

Function TEST_P

deps/memkind/src/test/bat_tests.cpp:276–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274};
275
276TEST_P(MemtypePolicyTest, memkind_heap_mgmt)
277{
278 HugePageOrganizer huge_page_organizer(8);
279 auto params = GetParam();
280 auto flags = get_flags(params);
281 MemkindAllocator allocator(get_memtype(GetParam()), get_policy(GetParam()),
282 flags);
283 get_function(GetParam())(&allocator, get_size(GetParam()));
284}
285
286INSTANTIATE_TEST_CASE_P(DEFAULT,
287 MemtypePolicyTest,

Callers

nothing calls this directly

Calls 9

get_flagsFunction · 0.85
get_memtypeFunction · 0.85
get_policyFunction · 0.85
get_functionFunction · 0.85
get_sizeFunction · 0.85
get_hbw_policyFunction · 0.85
BasicAllocTestClass · 0.85
memalignMethod · 0.45

Tested by

no test coverage detected