10 references to Partitioner
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenCapturing.cs (1)
444Parallel.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 188return Partitioner.Create(CreateRanges(fromInclusive, toExclusive, rangeSize), EnumerablePartitionerOptions.NoBuffering); // chunk one range at a time 204return Partitioner.Create(CreateRanges(fromInclusive, toExclusive, rangeSize), EnumerablePartitionerOptions.NoBuffering); // chunk one range at a time 242return Partitioner.Create(CreateRanges(fromInclusive, toExclusive, rangeSize), EnumerablePartitionerOptions.NoBuffering); // chunk one range at a time 258return 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)
1673return PartitionerForEachWorker<TSource, TLocal>(Partitioner.Create(source), parallelOptions, body, bodyWithState,