14 references to For
Microsoft.CodeAnalysis (2)
InternalUtilities\RoslynParallel.cs (2)
17
/// <inheritdoc cref="Parallel.
For
(int, int, ParallelOptions, Action{int})"/>
24
return Parallel.
For
(fromInclusive, toExclusive, parallelOptions, errorHandlingBody);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
src\Compilers\Core\Portable\InternalUtilities\RoslynParallel.cs (2)
17
/// <inheritdoc cref="Parallel.
For
(int, int, ParallelOptions, Action{int})"/>
24
return Parallel.
For
(fromInclusive, toExclusive, parallelOptions, errorHandlingBody);
Microsoft.ML.FastTree (4)
Dataset\Dataset.cs (2)
267
Parallel.
For
(0, NumFlocks, new ParallelOptions { MaxDegreeOfParallelism = BlockingThreadPool.NumThreads },
317
Parallel.
For
(0, NumFlocks, new ParallelOptions { MaxDegreeOfParallelism = BlockingThreadPool.NumThreads },
Training\ScoreTracker.cs (2)
105
Parallel.
For
(0, tree.NumLeaves, new ParallelOptions { MaxDegreeOfParallelism = BlockingThreadPool.NumThreads }, (leaf) =>
203
Parallel.
For
(0, tree.NumLeaves, new ParallelOptions { MaxDegreeOfParallelism = BlockingThreadPool.NumThreads },
Microsoft.ML.StandardTrainers (4)
Standard\MulticlassClassification\PairwiseCouplingTrainer.cs (1)
475
Parallel.
For
(0, maps.Length, parallelOptions, i =>
Standard\SdcaBinary.cs (3)
638
Parallel.
For
(0, checkFrequency, pOptions,
652
Parallel.
For
(0, residue, pOptions,
2193
Parallel.
For
(0, _options.NumberOfIterations, pOptions, i => trainingTasks[i](rands[i], pch));
Microsoft.ML.Sweeper (1)
ConfigRunner.cs (1)
202
Parallel.
For
(0, sweeps.Length, _parallelOptions, j =>
Microsoft.ML.Sweeper.Tests (1)
TestSweeper.cs (1)
331
var r = Task.Run(() => Parallel.
For
(0, sweeps, options, async (int i) =>