Lines Matching refs:Recv
21 Recv() (int)
46 func (c XChan) Recv() int {
102 func (c SChan) Recv() int {
107 panic("recv")
125 panic("recv")
169 func (c SSChan) Recv() int {
175 panic("recv")
195 panic("recv")
229 // recv a close signal (a zero value)
230 if x := c.Recv(); x != 0 {
231 println("test1: recv on closed:", x, c.Impl())
242 println("test1: recv on closed nb:", x, selected, c.Impl())
256 if x := c.Recv(); x != 0 {
257 println("test1: recv on closed got non-zero after send on closed:", x, c.Impl())
263 if x := c.Recv(); x != 0 {
264 println("test1: recv on closed got non-zero after send on closed:", x, c.Impl())
270 // should be able to get the last value via Recv
271 if x := c.Recv(); x != 1 {
272 println("testasync1: Recv did not get 1:", x, c.Impl())
282 println("testasync1: Recv did not get 1, true:", x, ok, c.Impl())