MCPcopy
hub / github.com/prometheus/client_golang / maxInt

Function maxInt

prometheus/internal/difflib.go:36–41  ·  view source on GitHub ↗
(a, b int)

Source from the content-addressed store, hash-verified

34}
35
36func maxInt(a, b int) int {
37 if a > b {
38 return a
39 }
40 return b
41}
42
43func calculateRatio(matches, length int) float64 {
44 if length > 0 {

Callers 1

GetGroupedOpCodesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected