bufio.Writer.Available (method)
12 uses
bufio (current package)
bufio.go#L659: func (b *Writer) Available() int { return len(b.buf) - b.n }
bufio.go#L677: for len(p) > b.Available() && b.err == nil {
bufio.go#L705: if b.Available() <= 0 && b.Flush() != nil {
bufio.go#L727: n := b.Available()
bufio.go#L732: n = b.Available()
bufio.go#L752: for len(s) > b.Available() && b.err == nil {
bufio.go#L791: if b.Available() == 0 {
bufio.go#L821: if b.Available() == 0 {
github.com/coder/websocket
write.go#L385: if c.bw.Available() == 0 {
write.go#L395: j := min(len(p), c.bw.Available())
net/http
h2_bundle.go#L3736: return w.bw.Available()
server.go#L887: if pool := bufioWriterPool(bw.Available()); pool != nil {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |