10 references to Partitioner
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenCapturing.cs (1)
444
Parallel.ForEach(
Partitioner
.Create(0, methods.Count, PartitionSize), (range, state) =>
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
83
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Concurrent.
Partitioner
))]
netstandard (1)
netstandard.cs (1)
101
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Concurrent.
Partitioner
))]
System.Collections.Concurrent (6)
System\Collections\Concurrent\PartitionerStatic.cs (6)
62
/// The static methods on <see cref="
Partitioner
"/> are all thread-safe and may be used concurrently
188
return
Partitioner
.Create(CreateRanges(fromInclusive, toExclusive, rangeSize), EnumerablePartitionerOptions.NoBuffering); // chunk one range at a time
204
return
Partitioner
.Create(CreateRanges(fromInclusive, toExclusive, rangeSize), EnumerablePartitionerOptions.NoBuffering); // chunk one range at a time
242
return
Partitioner
.Create(CreateRanges(fromInclusive, toExclusive, rangeSize), EnumerablePartitionerOptions.NoBuffering); // chunk one range at a time
258
return
Partitioner
.Create(CreateRanges(fromInclusive, toExclusive, rangeSize), EnumerablePartitionerOptions.NoBuffering); // chunk one range at a time
584
_fillBuffer = new KeyValuePair<long, TSource>[fillBufferMultiplier *
Partitioner
.GetDefaultChunkSize<TSource>()];
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\Parallel.cs (1)
1673
return PartitionerForEachWorker<TSource, TLocal>(
Partitioner
.Create(source), parallelOptions, body, bodyWithState,