1 write to m_bufferIndex
System.Core (1)
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (1)
237
m_bufferIndex
= new Shared<int>(-1);
12 references to m_bufferIndex
System.Core (12)
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (12)
246
if (m_count == 0 ||
m_bufferIndex
.Value >= m_buffer.Count - 1)
252
++
m_bufferIndex
.Value;
253
currentElement = m_buffer[
m_bufferIndex
.Value].First;
254
currentKey = m_buffer[
m_bufferIndex
.Value].Second;
258
|| m_keyComparer.Compare(m_buffer[
m_bufferIndex
.Value].Second, m_sharedIndices.MaxValue) <= 0;
278
if (
m_bufferIndex
.Value < m_buffer.Count - 1)
280
for (
m_bufferIndex
.Value++;
m_bufferIndex
.Value < m_buffer.Count;
m_bufferIndex
.Value++)
284
if (m_keyComparer.Compare(m_buffer[
m_bufferIndex
.Value].Second, minKey) > 0)
286
currentElement = m_buffer[
m_bufferIndex
.Value].First;
287
currentKey = m_buffer[
m_bufferIndex
.Value].Second;