Home | History | Annotate | Download | only in chan

Lines Matching defs:send

11 // Each test does only one real send or receive at a time, but phrased
43 do(send)
148 {{/* Send n, receive it one way or another into x, check that they match. */}}
156 {{/* so test the default branch both before and after the send. */}}
181 {{/* Dummy send, receive to keep compiler from optimizing select. */}}
184 panic("dummy send")
190 {{/* Nil channel send, receive to keep compiler from optimizing select. */}}
193 panic("nilch send")
208 {{/* Send n, receive it one way or another into x, check that they match. */}}
225 {{/* so test the default branch both before and after the send. */}}
248 {{/* Dummy send, receive to keep compiler from optimizing select. */}}
251 panic("dummy send")
257 {{/* Nil channel send, receive to keep compiler from optimizing select. */}}
260 panic("nilch send")
274 var send = parse("send", `
275 {{/* Send n one way or another, receive it into x, check that they match. */}}
285 {{/* Send c <- n. No real special cases here, because no values come back */}}
286 {{/* from the send operation. */}}
293 {{/* Dummy send, receive to keep compiler from optimizing select. */}}
296 panic("dummy send")
302 {{/* Nil channel send, receive to keep compiler from optimizing select. */}}
305 panic("nilch send")
321 {{/* Send n one way or another, receive it into x, check that they match. */}}
334 {{/* Send c <- n. No real special cases here, because no values come back */}}
335 {{/* from the send operation. */}}
342 {{/* Dummy send, receive to keep compiler from optimizing select. */}}
345 panic("dummy send")
351 {{/* Nil channel send, receive to keep compiler from optimizing select. */}}
354 panic("nilch send")