Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for collapsedTags (0.09 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go

    	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 {
    		return ts
    	}
    
    	tagGroups := make([][]*Tag, 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