- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for sendZero (0.37 sec)
-
src/database/sql/sql.go
// should probably start a goroutine to read from req. This best // effort select existed before the change to check 'deleted'. // But if we know for sure it wasn't deleted and a sender is // outstanding, we should probably block on req (in a new // goroutine) to get the connection back. select { default: case ret, ok := <-req: if ok && ret.conn != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 103.6K bytes - Viewed (0) -
doc/go1.17_spec.html
make(chan int, 100) </pre> <p> The capacity, in number of elements, sets the size of the buffer in the channel. If the capacity is zero or absent, the channel is unbuffered and communication succeeds only when both a sender and receiver are ready. Otherwise, the channel is buffered and communication succeeds without blocking if the buffer is not full (sends) or not empty (receives). A <code>nil</code> channel is never ready for communication.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0)