Searched refs:numThreads (Results 1 – 7 of 7) sorted by relevance
113 int numThreads = 10; variable114 auto barrier = new Barrier( numThreads );134 for ( int i = 0; i < numThreads; ++i )139 assert( numReady == numThreads && numPassed == numThreads );
322 int numThreads = 10; variable333 for (int i = 0; i < numThreads; ++i)342 assert(numRunning == numThreads);
403 int numThreads = 10; variable420 for (int i = 0; i < numThreads; ++i)424 assert(lockCount == numThreads * numTries);
647 enum numThreads = 100; variable648 shared SharedAscendingPageAllocator a = SharedAscendingPageAllocator(pageSize * numThreads);659 foreach (i; 0 .. numThreads)931 enum numThreads = 100; variable933 ulong[numThreads] ptrVals;935 shared SharedAscendingPageAllocator a = SharedAscendingPageAllocator(pageSize * numThreads);952 foreach (i; 0 .. numThreads)959 foreach (i; 0 .. numThreads - 1)972 enum numThreads = 100; variable973 void[][numThreads] buf;[all …]
1281 enum numThreads = 100; in testAlloc() local1282 void[][numThreads] buf; in testAlloc()1297 foreach (i; 0 .. numThreads) in testAlloc()1303 sort!((a, b) => a.ptr < b.ptr)(buf[0 .. numThreads]); in testAlloc()1304 foreach (i; 0 .. numThreads - 1) in testAlloc()1311 foreach (i; 0 .. numThreads) in testAlloc()1314 assert(a.deallocate(buf[numThreads - 1 - i])); in testAlloc()1346 enum numThreads = 100; in testAlloc() local1347 void[][2 * numThreads] buf; in testAlloc()1371 foreach (i; 0 .. numThreads) in testAlloc()[all …]
534 enum numThreads = 8; variable562 foreach (i; 0 .. numThreads)593 enum numThreads = 10; variable595 enum totalAllocs = maxIter * numThreads;625 foreach (i; 0 .. numThreads)
1680 enum numThreads = 10;1681 void[][numThreads] buf;1698 foreach (i; 0 .. numThreads)1706 sort!((a, b) => a.ptr < b.ptr)(buf[0 .. numThreads]);1707 foreach (i; 0 .. numThreads - 1)1713 foreach (i; 0 .. numThreads)