14 references to Add
Aspire.Dashboard (1)
Components\Controls\Chart\ChartDataCalculator.cs (1)
444? HistogramBuckets.Add(ref currentBucketCounts, ref explicitBounds, histogramValue.Values,
Aspire.Dashboard.Tests (13)
ChartDataCalculatorTests.cs (7)
758Assert.True(HistogramBuckets.Add(ref counts, ref bounds, [1, 2, 2, 0], [10, 50, 100], [])); 771Assert.True(HistogramBuckets.Add(ref counts, ref bounds, [4, 5, 6, 7], [10, 50, 100], [])); 786Assert.True(HistogramBuckets.Add(ref counts, ref bounds, incoming, [10, 100], previous)); 800Assert.True(HistogramBuckets.Add(ref counts, ref bounds, [5, 6, 7], incomingBounds, [])); 812Assert.True(HistogramBuckets.Add(ref counts, ref bounds, [5, 6, 7, 8], [10, 75, 100], [1, 2, 3, 4])); 825Assert.True(HistogramBuckets.Add(ref counts, ref bounds, [3, 4], [20], [])); 840Assert.False(HistogramBuckets.Add(ref counts, ref bounds, [4, 5, 6], [20, 200], [4, 5, 6]));
HistogramAllocationTests.cs (6)
55HistogramBuckets.Add(ref counts, ref bounds, incoming, originalBounds, previous); 62added = HistogramBuckets.Add(ref counts, ref bounds, incoming, originalBounds, previous); 84HistogramBuckets.Add(ref counts, ref bounds, incoming, incomingBounds, []); 90HistogramBuckets.Add(ref counts, ref bounds, incoming, incomingBounds, []); 109HistogramBuckets.Add(ref counts, ref bounds, incoming, incomingBounds, incoming); 116added = HistogramBuckets.Add(ref counts, ref bounds, incoming, incomingBounds, incoming);