Searched refs:alloc_size (Results 1 – 3 of 3) sorted by relevance
53 const int alloc_size = 1024; in TestBootstrapLeak() local59 array[i] = a.allocate( alloc_size ); in TestBootstrapLeak()61 RunThread( minimalAllocFree(), alloc_size ); // for threading library to take some memory in TestBootstrapLeak()77 RunThread( minimalAllocFree(), alloc_size ); in TestBootstrapLeak()88 a.deallocate( array[i], alloc_size ); in TestBootstrapLeak()
824 inline void multiThreadAlloc(size_t alloc_size) { in multiThreadAlloc() argument826 ptrs[i] = scalable_malloc( alloc_size ); in multiThreadAlloc()
82 std::size_t alloc_size = cache_capacity * sizeof(task_dispatcher*); in init() local83 my_co_scheduler_cache = (task_dispatcher**)cache_aligned_allocate(alloc_size); in init()84 std::memset( my_co_scheduler_cache, 0, alloc_size ); in init()