- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for addComment (0.32 sec)
-
src/go/ast/commentmap.go
} // A CommentMap maps an AST node to a list of comment groups // associated with it. See [NewCommentMap] for a description of // the association. type CommentMap map[Node][]*CommentGroup func (cmap CommentMap) addComment(n Node, c *CommentGroup) { list := cmap[n] if len(list) == 0 { list = []*CommentGroup{c} } else { list = append(list, c) } cmap[n] = list } type byInterval []Node
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/rule.go
} } else { f.Module.Mod.Path = path f.Syntax.updateLine(f.Module.Syntax, "module", AutoQuote(path)) } return nil } func (f *File) AddComment(text string) { if f.Syntax == nil { f.Syntax = new(FileSyntax) } f.Syntax.Stmt = append(f.Syntax.Stmt, &CommentBlock{ Comments: Comments{ Before: []Comment{ { Token: text, },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 46.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go
flagBuildID := flag.String("buildid", "", "Override build id for first mapping") flagTimeout := flag.Int("timeout", -1, "Timeout in seconds for fetching a profile") flagAddComment := flag.String("add_comment", "", "Annotation string to record in the profile") // CPU profile options flagSeconds := flag.Int("seconds", -1, "Length of time for dynamic profiles") // Heap profile options
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 16:39:48 UTC 2023 - 12.1K bytes - Viewed (0)