Home
last modified time | relevance | path

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

/system/utest/fbl/
A Dslab_allocator_tests.cpp428 struct StaticRefPtrTestTraits { struct
430 using PtrType = fbl::RefPtr<ObjType>;
431 using AllocTraits = fbl::StaticSlabAllocatorTraits<PtrType, 1024, LockType, ENABLE_OBJ_COUNT>;
432 using AllocatorType = fbl::SlabAllocator<AllocTraits>;
433 using RefList = fbl::DoublyLinkedList<PtrType>;
435 class ObjType : public TestBase,
446 static constexpr size_t MaxSlabs = 4;
447 static constexpr bool IsManaged = false;
449 static size_t MaxAllocs() { in MaxAllocs()

Completed in 4 milliseconds