56 matches across 1 files for func main path:doc/asm.html
snippet_mode: grep · sorted by relevance
doc/asm.html HTML 56 matches · showing 5 view file →
52<pre>
53$ cat x.go
54package main
55
56func main() {
· · ·
56func main() {
57 println(3)
58}
· · ·
59$ GOOS=linux GOARCH=amd64 go tool compile -S x.go # or: go build -gcflags -S x.go
60"".main STEXT size=74 args=0x0 locals=0x10
61 0x0000 00000 (x.go:3) TEXT "".main(SB), $16-0
62 0x0000 00000 (x.go:3) MOVQ (TLS), CX
· · ·
61 0x0000 00000 (x.go:3) TEXT "".main(SB), $16-0
62 0x0000 00000 (x.go:3) MOVQ (TLS), CX
63 0x0009 00009 (x.go:3) CMPQ SP, 16(CX)
· · ·
66 0x0013 00019 (x.go:3) MOVQ BP, 8(SP)
67 0x0018 00024 (x.go:3) LEAQ 8(SP), BP
68 0x001d 00029 (x.go:3) FUNCDATA $0, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB)
69 0x001d 00029 (x.go:3) FUNCDATA $1, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB)
70 0x001d 00029 (x.go:3) FUNCDATA $2, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB)
+ 51 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.