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

Function createEmptyNode

internal/graph/graph_test.go:153–158  ·  view source on GitHub ↗

createEmptyNode creates a node without any edges.

()

Source from the content-addressed store, hash-verified

151
152// createEmptyNode creates a node without any edges.
153func createEmptyNode() *Node {
154 return &Node{
155 In: make(EdgeMap),
156 Out: make(EdgeMap),
157 }
158}
159
160// createExpectedNodes creates a slice of expectedNodes from nodes.
161func createExpectedNodes(nodes ...*Node) ([]expectedNode, NodePtrSet) {

Callers 3

createTestCase1Function · 0.85
createTestCase2Function · 0.85
createTestCase4Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…