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

Function expectedNodesDebugString

internal/graph/graph_test.go:63–75  ·  view source on GitHub ↗
(expected []expectedNode)

Source from the content-addressed store, hash-verified

61}
62
63func expectedNodesDebugString(expected []expectedNode) string {
64 debug := ""
65 for i, node := range expected {
66 debug += fmt.Sprintf("Node %d: %p\n", i, node.node)
67 }
68
69 for i, node := range expected {
70 debug += "\n"
71 debug += fmt.Sprintf("=== Node %d: %p ===\n", i, node.node)
72 debug += edgeMapsDebugString(node.in, node.out)
73 }
74 return debug
75}
76
77// edgeMapsEqual checks if all the edges in this equal all the edges in that.
78func edgeMapsEqual(this, that EdgeMap) bool {

Callers 1

TestTrimTreeFunction · 0.85

Calls 1

edgeMapsDebugStringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…