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)
513Assert.True(HistogramBuckets.Add(ref counts, ref bounds, [1, 2, 2, 0], [10, 50, 100], [])); 526Assert.True(HistogramBuckets.Add(ref counts, ref bounds, [4, 5, 6, 7], [10, 50, 100], [])); 541Assert.True(HistogramBuckets.Add(ref counts, ref bounds, incoming, [10, 100], previous)); 555Assert.True(HistogramBuckets.Add(ref counts, ref bounds, [5, 6, 7], incomingBounds, [])); 567Assert.True(HistogramBuckets.Add(ref counts, ref bounds, [5, 6, 7, 8], [10, 75, 100], [1, 2, 3, 4])); 580Assert.True(HistogramBuckets.Add(ref counts, ref bounds, [3, 4], [20], [])); 595Assert.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);