395 matches across 1 files for func main path:src/runtime/proc.go
snippet_mode: auto · sorted by relevance
src/runtime/proc.go GO 395 matches · showing 5 view file →
26// The scheduler's job is to distribute ready-to-run goroutines over worker threads.
27//
28// The main concepts are:
29// G - goroutine.
30// M - worker thread, or machine.
· · ·
84// utilization.
85//
86// The main implementation complication is that we need to be very careful
87// during spinning->non-spinning thread transition. This transition can race
88// with submission of new work, and either one part or another needs to unpark
· · ·
129var runtime_inittasks []*initTask
130
131// mainInitDone is a signal used by cgocallbackg that initialization
132// has been completed. If this is false, wait on mainInitDoneChan.
133var mainInitDone atomic.Bool
· · ·
132// has been completed. If this is false, wait on mainInitDoneChan.
133var mainInitDone atomic.Bool
134
· · ·
133var mainInitDone atomic.Bool
134
135// mainInitDoneChan is closed after initialization has been completed.
+ 390 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.