MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / highest_equivalent_value

Function highest_equivalent_value

deps/hdr_histogram/hdr_histogram.c:230–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230static int64_t highest_equivalent_value(const struct hdr_histogram* h, int64_t value)
231{
232 return hdr_next_non_equivalent_value(h, value) - 1;
233}
234
235int64_t hdr_median_equivalent_value(const struct hdr_histogram *h, int64_t value)
236{

Callers 5

hdr_maxFunction · 0.85
hdr_value_at_percentileFunction · 0.85
move_nextFunction · 0.85
percentile_iter_nextFunction · 0.85

Calls 1

Tested by

no test coverage detected