146 matches across 1 files for func main lang:Go path:src/cmd/go/internal/work/exec.go
snippet_mode: auto · sorted by relevance
src/cmd/go/internal/work/exec.go GO 146 matches · showing 5 view file →
55// actionList returns the list of actions in the dag rooted at root
56// as visited in a depth-first post-order traversal.
57func actionList(root *Action) []*Action {
58 seen := map[*Action]bool{}
59 all := []*Action{}
· · ·
60 var walk func(*Action)
61 walk = func(a *Action) {
62 if seen[a] {
· · ·
61 walk = func(a *Action) {
62 if seen[a] {
63 return
· · ·
74
75// Do runs the action graph rooted at root.
76func (b *Builder) Do(ctx context.Context, root *Action) {
77 ctx, span := trace.StartSpan(ctx, "exec.Builder.Do ("+root.Mode+" "+root.Target+")")
78 defer span.Done()
· · ·
81 // If we're doing real work, take time at the end to trim the cache.
82 c := cache.Default()
83 defer func() {
84 if err := c.Close(); err != nil {
85 base.Fatalf("go: failed to trim cache: %v", err)
+ 141 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.