14 references to Add
Aspire.Dashboard (1)
Components\Controls\Chart\ChartDataCalculator.cs (1)
286
? HistogramBuckets.
Add
(ref currentBucketCounts, ref explicitBounds, histogramValue.Values,
Aspire.Dashboard.Tests (13)
ChartDataCalculatorTests.cs (7)
513
Assert.True(HistogramBuckets.
Add
(ref counts, ref bounds, [1, 2, 2, 0], [10, 50, 100], []));
526
Assert.True(HistogramBuckets.
Add
(ref counts, ref bounds, [4, 5, 6, 7], [10, 50, 100], []));
541
Assert.True(HistogramBuckets.
Add
(ref counts, ref bounds, incoming, [10, 100], previous));
555
Assert.True(HistogramBuckets.
Add
(ref counts, ref bounds, [5, 6, 7], incomingBounds, []));
567
Assert.True(HistogramBuckets.
Add
(ref counts, ref bounds, [5, 6, 7, 8], [10, 75, 100], [1, 2, 3, 4]));
580
Assert.True(HistogramBuckets.
Add
(ref counts, ref bounds, [3, 4], [20], []));
595
Assert.False(HistogramBuckets.
Add
(ref counts, ref bounds, [4, 5, 6], [20, 200], [4, 5, 6]));
HistogramAllocationTests.cs (6)
55
HistogramBuckets.
Add
(ref counts, ref bounds, incoming, originalBounds, previous);
62
added = HistogramBuckets.
Add
(ref counts, ref bounds, incoming, originalBounds, previous);
84
HistogramBuckets.
Add
(ref counts, ref bounds, incoming, incomingBounds, []);
90
HistogramBuckets.
Add
(ref counts, ref bounds, incoming, incomingBounds, []);
109
HistogramBuckets.
Add
(ref counts, ref bounds, incoming, incomingBounds, incoming);
116
added = HistogramBuckets.
Add
(ref counts, ref bounds, incoming, incomingBounds, incoming);