- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for for (0.13 sec)
-
doc/go1.17_spec.html
<code>true</code>. </p> <pre> for cond { S() } is the same as for ; cond ; { S() } for { S() } is the same as for true { S() } </pre> <h4 id="For_range">For statements with <code>range</code> clause</h4> <p> A "for" statement with a "range" clause iterates through all entries of an array, slice, string or map, or values received on a channel. For each entry it assigns <i>iteration values</i>
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) -
src/cmd/cgo/internal/test/callback.go
C.callGoFoo() } //export goFoo func goFoo() { x := 1 for i := 0; i < 10000; i++ { // variadic call mallocs + writes to variadic(x, x, x) if x != 1 { panic("bad x") } } } func variadic(x ...interface{}) {} func testBlocking(t *testing.T) { c := make(chan int) go func() { for i := 0; i < 10; i++ { c <- <-c } }() nestedCall(func() {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 111.5K bytes - Viewed (0)