MCPcopy Create free account
hub / github.com/google/pprof / Less

Method Less

internal/graph/graph.go:952–952  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

950func (s nodeSorter) Len() int { return len(s.rs) }
951func (s nodeSorter) Swap(i, j int) { s.rs[i], s.rs[j] = s.rs[j], s.rs[i] }
952func (s nodeSorter) Less(i, j int) bool { return s.less(s.rs[i], s.rs[j]) }
953
954// Sort reorders a slice of nodes based on the specified ordering
955// criteria. The result is sorted in decreasing order for (absolute)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected