Searched refs:AllocatorType (Results 1 – 2 of 2) sorted by relevance
245 using AllocatorType = typename Traits::AllocatorType; in do_slab_test() typedef392 static size_t MaxAllocs() { return AllocatorType::AllocsPerSlab * AllocatorType::max_slabs(); } in MaxAllocs()418 static size_t MaxAllocs() { return AllocatorType::AllocsPerSlab * AllocatorType::max_slabs(); } in MaxAllocs()450 return AllocatorType::AllocsPerSlab * AllocatorType::max_slabs(); in MaxAllocs()462 using AllocatorType = typename Traits::AllocatorType; in do_static_slab_test() typedef486 case 0: ptr = AllocatorType::New(); break; in do_static_slab_test()487 case 1: ptr = AllocatorType::New(i); break; in do_static_slab_test()540 ObjCounterHelper<AllocatorType, in do_static_slab_test()557 AllocatorType::obj_count(); in do_static_slab_test()560 AllocatorType::max_obj_count(); in do_static_slab_test()[all …]
743 using AllocatorType = internal::SlabAllocator<SATraits>;766 AllocatorType* slab_origin_ = nullptr;889 using AllocatorType = SlabAllocator<SATraits>;894 AllocatorType::ReturnToFreeList(reinterpret_cast<ObjType*>(ptr));
Completed in 10 milliseconds