Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NameComponents (0.18 sec)

  1. src/internal/profile/graph.go

    // PrintableName calls the Node's Formatter function with a single space separator.
    func (i *NodeInfo) PrintableName() string {
    	return strings.Join(i.NameComponents(), " ")
    }
    
    // NameComponents returns the components of the printable name to be used for a node.
    func (i *NodeInfo) NameComponents() []string {
    	var name []string
    	if i.Address != 0 {
    		name = append(name, fmt.Sprintf("%016x", i.Address))
    	}
    	if fun := i.Name; fun != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 20:59:15 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    // PrintableName calls the Node's Formatter function with a single space separator.
    func (i *NodeInfo) PrintableName() string {
    	return strings.Join(i.NameComponents(), " ")
    }
    
    // NameComponents returns the components of the printable name to be used for a node.
    func (i *NodeInfo) NameComponents() []string {
    	var name []string
    	if i.Address != 0 {
    		name = append(name, fmt.Sprintf("%016x", i.Address))
    	}
    	if fun := i.Name; fun != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go

    	infoCopy.Name = strings.Replace(infoCopy.Name, ".", `\n`, -1)
    	if infoCopy.File != "" {
    		infoCopy.File = filepath.Base(infoCopy.File)
    	}
    	return strings.Join(infoCopy.NameComponents(), `\n`) + `\n`
    }
    
    // collapsedTags trims and sorts a slice of tags.
    func (b *builder) collapsedTags(ts []*Tag, count int, flatTags bool) []*Tag {
    	ts = SortTags(ts, flatTags)
    	if len(ts) <= count {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 20:51:42 UTC 2022
    - 14.8K bytes
    - Viewed (0)
Back to top