MCPcopy Index your code
hub / github.com/DarthSim/overmind / Max

Function Max

utils/utils.go:79–84  ·  view source on GitHub ↗

Max finds max integer

(a, b int)

Source from the content-addressed store, hash-verified

77
78// Max finds max integer
79func Max(a, b int) int {
80 if b > a {
81 return b
82 }
83 return a
84}
85
86// ScanLines reads line by line from reader. Doesn't throw "token too long" error like bufio.Scanner
87func ScanLines(r io.Reader, callback func([]byte) bool) error {

Callers 1

newMultiOutputFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected