- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for main (0.17 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 Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0) -
doc/go1.22.html
</li> <li> "For" loops may now range over integers. For <a href="https://go.dev/play/p/ky02zZxgk_r?v=gotip">example</a>: <pre> package main import "fmt" func main() { for i := range 10 { fmt.Println(10 - i) } fmt.Println("go1.22 has lift-off!") } </pre> See the spec for <a href="/ref/spec#For_range">details</a>. </li> </ul>
HTML - Registered: Tue Feb 06 11:13:10 GMT 2024 - Last Modified: Wed Jan 31 20:51:56 GMT 2024 - 45.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 Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Nov 28 19:15:27 GMT 2023 - 36.3K bytes - Viewed (0)