8 references to Scheduling
System.Linq.Parallel (8)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (2)
110
this(index,
Scheduling
.DEFAULT_BOUNDED_BUFFER_CAPACITY, chunkSize, cancellationToken, consumerEvent)
116
if (chunkSize == 0) chunkSize =
Scheduling
.GetDefaultChunkSize<T>();
System\Linq\Parallel\Partitioning\PartitionedDataSource.cs (2)
97
maxChunkSize =
Scheduling
.GetDefaultChunkSize<T>();
573
_chunkBuffer = new T[
Scheduling
.GetDefaultChunkSize<T>()]; // Pre-allocate the array at the maximum size.
System\Linq\Parallel\QueryOperators\QuerySettings.cs (2)
177
settings.DegreeOfParallelism ??=
Scheduling
.GetDefaultDegreeOfParallelism();
187
Debug.Assert(settings.DegreeOfParallelism.Value >= 1 && settings.DegreeOfParallelism <=
Scheduling
.MAX_SUPPORTED_DOP);
System\Linq\Parallel\QueryOperators\ScanQueryOperator.cs (1)
31
: base(
Scheduling
.DefaultPreserveOrder, QuerySettings.Empty)
System\Linq\ParallelEnumerable.cs (1)
298
ArgumentOutOfRangeException.ThrowIfGreaterThan(degreeOfParallelism,
Scheduling
.MAX_SUPPORTED_DOP);