Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sergi/go-diff
/ max
Function
max
diffmatchpatch/mathutil.go:18–23 ·
view source on GitHub ↗
(x, y int)
Source
from the content-addressed store, hash-verified
16
}
17
18
func
max(x, y int) int {
19
if
x > y {
20
return
x
21
}
22
return
y
23
}
Callers
3
PatchAddContext
Method · 0.85
PatchSplitMax
Method · 0.85
DiffLevenshtein
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected