Home
last modified time | relevance | path

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

/system/utest/fbl/
A Dslab_allocator_tests.cpp401 struct StaticUniquePtrTestTraits { struct
403 using PtrType = fbl::unique_ptr<ObjType>;
404 using AllocTraits = fbl::StaticSlabAllocatorTraits<PtrType, 1024, LockType, ENABLE_OBJ_COUNT>;
405 using AllocatorType = fbl::SlabAllocator<AllocTraits>;
406 using RefList = fbl::DoublyLinkedList<PtrType>;
408 class ObjType : public TestBase,
418 static size_t MaxAllocs() { return AllocatorType::AllocsPerSlab * AllocatorType::max_slabs(); } in MaxAllocs()
420 static constexpr size_t MaxSlabs = 4;
421 static constexpr bool IsManaged = false;

Completed in 5 milliseconds