Project Name File Name Usage Source Code Link
PexFaultLocalization ParallelBreadthFirstSearchAlgorithm.cs Parallel.For( 0, this.vertexQueue.Count, this.CreateLocal, (i, local) => this.VisitLevel(local), this.OnLocalFinalized ) Link To Source File
QuickGraph ParallelBreadthFirstSearchAlgorithm.cs Parallel.For( 0, this.vertexQueue.Count, this.CreateLocal, (i, local) => this.VisitLevel(local), this.OnLocalFinalized ) Link To Source File
DynamicScript ScriptActionBase.cs Parallel.For(0, clonedCache.Length, () => 0, delegate(int i, ParallelLoopState ls, int j) { if (clonedCache[i] == null) clonedCache[i] = arguments[j++]; return j; }, j => { }) Link To Source File
snippets DataParallelism.cs // Use type parameter to make subtotal a long, not an int Parallel.For(0, nums.Length, () => 0, (j, loop, subtotal) => { subtotal += nums[j]; return subtotal; }, (x) => Interlocked.Add(ref total, x) ) Link To Source File
vcap-dotnet DiskUsage.cs Parallel.For( 0, subdirEntries.Length, () => 0, (i, loop, subtotal) => { subtotal += GetDirectorySize(subdirEntries[i], true, objects, objectsLock); return subtotal; }, (x) => { Interlocked.Add(ref size, (long)x); }) Link To Source File