2 overrides of SourceCount
System.Collections.Concurrent (2)
System\Collections\Concurrent\PartitionerStatic.cs (2)
1204
protected override int
SourceCount
1290
protected override int
SourceCount
2 references to SourceCount
System.Collections.Concurrent (2)
System\Collections\Concurrent\PartitionerStatic.cs (2)
1101
long newSharedIndex = Math.Min(
SourceCount
- 1, oldSharedIndex + requestedChunkSize);
1132
return Volatile.Read(ref _sharedIndex.Value) >=
SourceCount
- 1;