MCPcopy
hub / github.com/lindb/lindb / getDataFloatArray

Function getDataFloatArray

aggregation/function/quantile_test.go:37–45  ·  view source on GitHub ↗
(array *collections.FloatArray)

Source from the content-addressed store, hash-verified

35}
36
37func getDataFloatArray(array *collections.FloatArray) []float64 {
38 var data []float64
39 itr := array.NewIterator()
40 for itr.HasNext() {
41 _, v := itr.Next()
42 data = append(data, v)
43 }
44 return data
45}
46
47func Test_Buckets(t *testing.T) {
48 bkt0 := buckets{}

Callers 2

Test_QuantileCallFunction · 0.85

Calls 3

HasNextMethod · 0.95
NextMethod · 0.95
NewIteratorMethod · 0.65

Tested by

no test coverage detected