1 write to m_currentChunkSize
mscorlib (1)
system\collections\concurrent\PartitionerStatic.cs (1)
441
m_currentChunkSize
= new SharedInt(0);
17 references to m_currentChunkSize
mscorlib (17)
system\collections\concurrent\PartitionerStatic.cs (17)
439
Contract.Assert(
m_currentChunkSize
== null);
445
if (m_localOffset.Value <
m_currentChunkSize
.Value - 1)
457
Contract.Assert(m_localOffset.Value ==
m_currentChunkSize
.Value - 1 ||
m_currentChunkSize
.Value == 0);
461
if (
m_currentChunkSize
.Value == 0) //first time grabbing from source enumerator
467
requestedChunkSize =
m_currentChunkSize
.Value;
471
requestedChunkSize = Math.Min(
m_currentChunkSize
.Value * 2, m_maxChunkSize);
482
Contract.Assert(
m_currentChunkSize
.Value <= requestedChunkSize &&
m_currentChunkSize
.Value > 0);
962
return m_enumerable.GrabChunk(m_localList, requestedChunkSize, ref
m_currentChunkSize
.Value);
992
if (
m_currentChunkSize
== null)
997
Contract.Assert(m_localOffset.Value >= 0 && m_localOffset.Value <
m_currentChunkSize
.Value);
1163
m_currentChunkSize
.Value = (int)(newSharedIndex - oldSharedIndex);
1271
if (
m_currentChunkSize
== null)
1276
Contract.Assert(m_localOffset.Value >= 0 && m_localOffset.Value <
m_currentChunkSize
.Value);
1355
if (
m_currentChunkSize
== null)
1360
Contract.Assert(m_localOffset.Value >= 0 && m_localOffset.Value <
m_currentChunkSize
.Value);