Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 2 of 2) sorted by relevance

/TaskScheduler/Scheduler/Include/
H A DMTQueueMPMC.h98 cell = &buffer[pos & MASK]; in TryPush()
105 uint32 nowPos = enqueuePos.CompareAndSwap(pos, pos + 1); in TryPush()
106 if (nowPos == pos) in TryPush()
111 pos = nowPos; in TryPush()
120 pos = enqueuePos.LoadRelaxed(); in TryPush()
127 cell->sequence.Store(pos + 1); in TryPush()
139 cell = &buffer[pos & MASK]; in TryPop()
146 uint32 nowPos = dequeuePos.CompareAndSwap(pos, pos + 1); in TryPop()
147 if (nowPos == pos) in TryPop()
152 pos = nowPos; in TryPop()
[all …]
/TaskScheduler/ThirdParty/UnitTest++/UnitTest++/
H A DXmlTestReporter.cpp18 for (size_t pos = str.find(c); pos != string::npos; pos = str.find(c, pos + 1)) in ReplaceChar() local
19 str.replace(pos, 1, replacement); in ReplaceChar()