Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google/pprof
/ Swap
Method
Swap
internal/graph/graph.go:1178–1180 ·
view source on GitHub ↗
(i, j int)
Source
from the content-addressed store, hash-verified
1176
}
1177
1178
func
(el edgeList) Swap(i, j int) {
1179
el[i], el[j] = el[j], el[i]
1180
}
1181
1182
func
abs64(i int64) int64 {
1183
if
i < 0 {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected