1 write to _producerHeap
System.Linq.Parallel (1)
System\Linq\Parallel\Merging\OrderPreservingPipeliningMergeHelper.cs (1)
255
_producerHeap
= new FixedMaxHeap<Producer<TKey>>(partitionCount, producerComparer);
8 references to _producerHeap
System.Linq.Parallel (8)
System\Linq\Parallel\Merging\OrderPreservingPipeliningMergeHelper.cs (8)
267
int producerToYield =
_producerHeap
.MaxValue.ProducerIndex;
294
_producerHeap
.Insert(new Producer<TKey>(element.First, producer));
310
if (
_producerHeap
.Count == 0)
321
int lastProducer =
_producerHeap
.MaxValue.ProducerIndex;
329
_producerHeap
.ReplaceMax(new Producer<TKey>(element.First, lastProducer));
340
_producerHeap
.RemoveMax();
344
return
_producerHeap
.Count > 0;
380
_producerHeap
.Clear();