- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for chan (0.22 sec)
-
doc/go1.17_spec.html
<-chan <-chan int // same as <-chan (<-chan int) chan (<-chan int) </pre> <p> A new, initialized channel value can be made using the built-in function <a href="#Making_slices_maps_and_channels"><code>make</code></a>, which takes the channel type and an optional <i>capacity</i> as arguments: </p> <pre> make(chan int, 100) </pre> <p>
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
func testBlocking(t *testing.T) { c := make(chan int) go func() { for i := 0; i < 10; i++ { c <- <-c } }() nestedCall(func() { for i := 0; i < 10; i++ { c <- i if j := <-c; j != i { t.Errorf("out of sync %d != %d", j, i) } } }) } // Test that the stack can be unwound through a call out and call back // into Go.
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) -
api/go1.3.txt
pkg archive/tar, const TypeGNUSparse = 83 pkg archive/tar, const TypeGNUSparse ideal-char pkg archive/tar, type Header struct, Xattrs map[string]string pkg compress/gzip, method (*Reader) Reset(io.Reader) error pkg crypto/tls, const CurveP256 = 23 pkg crypto/tls, const CurveP256 CurveID pkg crypto/tls, const CurveP384 = 24 pkg crypto/tls, const CurveP384 CurveID pkg crypto/tls, const CurveP521 = 25 pkg crypto/tls, const CurveP521 CurveID
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Jun 02 02:45:00 GMT 2014 - 117K bytes - Viewed (0)