Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/google/go-cmp
/ add
Method
add
cmp/internal/diff/diff.go:392–392 ·
view source on GitHub ↗
(dx, dy int)
Source
from the content-addressed store, hash-verified
390
type
point
struct
{ X, Y int }
391
392
func
(p *point) add(dx, dy int) { p.X += dx; p.Y += dy }
393
394
// zigzag maps a consecutive sequence of integers to a zig-zag sequence.
395
//
Callers
1
append
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected