MCPcopy
hub / github.com/prometheus/prometheus / Accept

Method Accept

storage/generic_test.go:282–282  ·  view source on GitHub ↗
(v string)

Source from the content-addressed store, hash-verified

280type FilterFunc func(string) (bool, float64)
281
282func (f FilterFunc) Accept(v string) (bool, float64) { return f(v) }
283
284func BenchmarkApplySearchHints(b *testing.B) {
285 const n = 100_000

Callers

nothing calls this directly

Calls 1

fFunction · 0.85

Tested by

no test coverage detected