- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for main (0.13 sec)
-
doc/go_mem.html
<code>q</code>'s <code>init</code> functions happens before the start of any of <code>p</code>'s. </p> <p class="rule"> The completion of all <code>init</code> functions is synchronized before the start of the function <code>main.main</code>. </p> <h3 id="go">Goroutine creation</h3> <p class="rule"> The <code>go</code> statement that starts a new goroutine is synchronized before the start of the goroutine's execution. </p>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0) -
doc/go1.17_spec.html
called the <i>main package</i> with all the packages it imports, transitively. The main package must have package name <code>main</code> and declare a function <code>main</code> that takes no arguments and returns no value. </p> <pre> func main() { … } </pre> <p> Program execution begins by initializing the main package and then
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
doc/asm.html
(the actual output may differ from what you see here): </p> <pre> $ cat x.go package main func main() { println(3) } $ GOOS=linux GOARCH=amd64 go tool compile -S x.go # or: go build -gcflags -S x.go "".main STEXT size=74 args=0x0 locals=0x10 0x0000 00000 (x.go:3) TEXT "".main(SB), $16-0 0x0000 00000 (x.go:3) MOVQ (TLS), CX 0x0009 00009 (x.go:3) CMPQ SP, 16(CX) 0x000d 00013 (x.go:3) JLS 67
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Tue Nov 28 19:15:27 GMT 2023 - 36.3K bytes - Viewed (0) -
doc/go_spec.html
<p> A complete program is created by linking a single, unimported package called the <i>main package</i> with all the packages it imports, transitively. The main package must have package name <code>main</code> and declare a function <code>main</code> that takes no arguments and returns no value. </p> <pre> func main() { … } </pre> <p>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0)