MCPcopy
hub / github.com/prometheus/prometheus / highVarianceInt

Function highVarianceInt

util/testrecord/record.go:206–211  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

204var HistCounts = []int{10, 100, 1000}
205
206func highVarianceInt(i int) int64 {
207 if i%2 == 0 {
208 return math.MinInt32
209 }
210 return math.MaxInt32
211}
212
213func highVarianceFloat(i int) float64 {
214 if i%2 == 0 {

Callers 2

GenTestRefSamplesCaseFunction · 0.85
applyHistSTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…