- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for rch (0.04 sec)
-
pkg/ledger/smt.go
// update the branches in parallel lch := make(chan result, 1) rch := make(chan result, 1) go s.update(lnode, lkeys, lvalues, batch, 2*iBatch+1, height-1, shortcut, store, lch) go s.update(rnode, rkeys, rvalues, batch, 2*iBatch+2, height-1, shortcut, store, rch) lresult := <-lch rresult := <-rch if lresult.err != nil { ch <- result{nil, lresult.err} return } if rresult.err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 14K bytes - Viewed (0) -
src/internal/types/testdata/check/stmt0.go
3.14 /* ERROR "cannot assign" */ ++ var ( x int y float32 z complex128 ) x++ y-- z++ } func sends() { var ch chan int var rch <-chan int var x int x <- /* ERROR "cannot send" */ x rch <- /* ERROR "cannot send" */ x ch <- "foo" /* ERRORx `cannot use .* in send` */ ch <- x } func selects() { select {} var ( ch chan int sc chan <- bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 19K bytes - Viewed (0) -
src/net/http/transport_test.go
// and then proxies to w. // It proxies Read calls to a reader it receives from rch. type logWritesConn struct { net.Conn // nil. crash on use. w io.Writer rch <-chan io.Reader r io.Reader // nil until received by rch mu sync.Mutex writes []string } func (c *logWritesConn) Write(p []byte) (n int, err error) { c.mu.Lock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0)