Home
last modified time | relevance | path

Searched refs:count (Results 1 – 12 of 12) sorted by relevance

/TaskScheduler/Scheduler/Include/
H A DMTArrayView.h36 size_t count; variable
43 count = 0; in ArrayView()
48 , count(instanceCount) in ArrayView()
50 MT_ASSERT(count == 0 || data, "Invalid data array"); in ArrayView()
56 count = 0; in ~ArrayView()
73 return count; in Size()
78 return count == 0; in IsEmpty()
H A DMTStaticVector.h37 uint32 count; variable
69 : count(0) in StaticVector()
74 : count(_count) in count() function
76 MT_ASSERT(count <= CAPACITY, "Too big size"); in count()
77 for (uint32 i = 0; i < count; i++) in count()
85 for (uint32 i = 0; i < count; i++) in ~StaticVector()
105 MT_ASSERT(count < CAPACITY, "Can't add element"); in PushBack()
106 uint32 lastElementIndex = count; in PushBack()
107 count++; in PushBack()
113 return count; in Size()
[all …]
H A DMTTaskBucket.h38 size_t count; member
41 , count(_count) in TaskBucket()
H A DMTTaskQueue.h101 size_t count = ((end & MASK) - (begin & MASK)) & MASK; in Size() local
102 return count; in Size()
237 bool Add(const T* itemArray, size_t count) in Add() argument
246 if (!queue.HasSpace(count)) in Add()
253 for(size_t i = 0; i < count; i++) in Add()
/TaskScheduler/ThirdParty/Squish/
H A Drangefit.cpp47 int const count = m_colours->GetCount(); in RangeFit() local
52 Sym3x3 covariance = ComputeWeightedCovariance( count, values, weights ); in RangeFit()
60 if( count > 0 ) in RangeFit()
67 for( int i = 1; i < count; ++i ) in RangeFit()
100 int const count = m_colours->GetCount(); in Compress3() local
112 for( int i = 0; i < count; ++i ) in Compress3()
152 int const count = m_colours->GetCount(); in Compress4() local
165 for( int i = 0; i < count; ++i ) in Compress4()
H A Dclusterfit.cpp51 int const count = m_colours->GetCount(); in ClusterFit() local
70 for( int i = 0; i < count; ++i ) in ConstructOrdering()
77 for( int i = 0; i < count; ++i ) in ConstructOrdering()
91 for( int i = 0; i < count; ++i ) in ConstructOrdering()
107 for( int i = 0; i < count; ++i ) in ConstructOrdering()
147 for( int i = 0; i < count; ++i ) in Compress3()
199 if( j == count ) in Compress3()
235 for( int m = bestj; m < count; ++m ) in Compress3()
278 for( int i = 0; i < count; ++i ) in Compress4()
335 if( k == count ) in Compress4()
[all …]
/TaskScheduler/ThirdParty/UnitTest++/UnitTest++/
H A DChecks.h60 int const count, TestDetails const& details) in CheckArrayEqual() argument
63 for (int i = 0; i < count; ++i) in CheckArrayEqual()
72 for (int expectedIndex = 0; expectedIndex < count; ++expectedIndex) in CheckArrayEqual()
77 for (int actualIndex = 0; actualIndex < count; ++actualIndex) in CheckArrayEqual()
87 bool ArrayAreClose(Expected const& expected, Actual const& actual, int const count, Tolerance const… in ArrayAreClose() argument
90 for (int i = 0; i < count; ++i) in ArrayAreClose()
97 int const count, Tolerance const& tolerance, TestDetails const& details) in CheckArrayClose() argument
99 bool equal = ArrayAreClose(expected, actual, count, tolerance); in CheckArrayClose()
106 for (int expectedIndex = 0; expectedIndex < count; ++expectedIndex) in CheckArrayClose()
110 for (int actualIndex = 0; actualIndex < count; ++actualIndex) in CheckArrayClose()
H A DCheckMacros.h98 #define CHECK_ARRAY_EQUAL(expected, actual, count) \ argument
102 …UnitTest::CheckArrayEqual(*UnitTest::CurrentTest::Results(), expected, actual, count, UnitTest::Te…
118 #define CHECK_ARRAY_CLOSE(expected, actual, count, tolerance) \ argument
122 …UnitTest::CheckArrayClose(*UnitTest::CurrentTest::Results(), expected, actual, count, tolerance, U…
/TaskScheduler/SchedulerTests/Tests/
H A DAtomicTests.cpp171 uint32 count = 0; in SUITE() local
172 while (count < 10000000) in SUITE()
184 count++; in SUITE()
/TaskScheduler/Scheduler/Include/Scopes/
H A DMTScopes.h168 int32 count = top.Exchange(0); in ~PersistentScopeDescriptorStorage() local
169 for (int32 i = 0; i < count; i++) in ~PersistentScopeDescriptorStorage()
375 int32 count; variable
398 int32 index = count; in AllocObject()
400 count++; in AllocObject()
415 count = 0; in StrongScopeStack()
484 for(int32 i = 0; i < count; i++) in Reset()
498 count = 0; in Reset()
/TaskScheduler/ThirdParty/UnitTest++/tests/
H A DTestTestRunner.cpp20 , count(count_) in MockTest()
28 for (int i=0; i < count; ++i) in RunImpl()
43 int const count; member
/TaskScheduler/Scheduler/Source/
H A DMTScheduler.cpp652 size_t count = 0; in RunTasksImpl() local
656 for (size_t taskIndex = 0; taskIndex < bucket.count; taskIndex++) in RunTasksImpl()
667 count += bucket.count; in RunTasksImpl()
673 parentFiber->childrenFibersCount.AddFetch((int)count); in RunTasksImpl()
689 allGroups.Add((uint32)count); in RunTasksImpl()
705 …MT_ASSERT(bucket.count < (internal::TASK_BUFFER_CAPACITY - 1), "Sanity check failed. Too many task… in RunTasksImpl()
707 bool res = context.queue.Add(bucket.tasks, bucket.count); in RunTasksImpl()