Home
last modified time | relevance | path

Searched defs:StaticUnmanagedTestTraits (Results 1 – 1 of 1) sorted by relevance

/system/utest/fbl/
A Dslab_allocator_tests.cpp375 struct StaticUnmanagedTestTraits { struct
377 using PtrType = ObjType*;
378 using AllocTraits = fbl::StaticSlabAllocatorTraits<PtrType, 1024, LockType, ENABLE_OBJ_COUNT>;
379 using AllocatorType = fbl::SlabAllocator<AllocTraits>;
380 using RefList = fbl::DoublyLinkedList<PtrType>;
382 class ObjType : public TestBase,
392 static size_t MaxAllocs() { return AllocatorType::AllocsPerSlab * AllocatorType::max_slabs(); } in MaxAllocs()
394 static constexpr size_t MaxSlabs = 4;
395 static constexpr bool IsManaged = false;

Completed in 5 milliseconds