type internal/profile.Nodes
15 uses
internal/profile (current package)
graph.go#L37: type Nodes []*Node
graph.go#L64: Nodes Nodes
graph.go#L311: func selectNodesForGraph(nodes Nodes, dropNegative bool) *Graph {
graph.go#L313: gNodes := make(Nodes, 0, len(nodes))
graph.go#L347: s []Nodes // a slice for small sequential IDs
graph.go#L348: m map[uint64]Nodes // fallback for large IDs (unlikely)
graph.go#L351: func (l *locationMap) add(id uint64, n Nodes) {
graph.go#L359: func (l locationMap) get(id uint64) Nodes {
graph.go#L370: func CreateNodes(prof *Profile, o *Options) (Nodes, locationMap) {
graph.go#L371: locations := locationMap{make([]Nodes, len(prof.Location)+1), make(map[uint64]Nodes)}
graph.go#L378: nodes := make(Nodes, len(lines))
graph.go#L387: func (nm NodeMap) nodes() Nodes {
graph.go#L388: nodes := make(Nodes, 0, len(nm))
graph.go#L421: func (ns Nodes) Sum() (flat int64, cum int64) {