bufio.Writer.Available (method)
14 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 {
go.uber.org/zap/zapcore
buffered_write_syncer.go#L148: if len(bs) > s.writer.Available() && s.writer.Buffered() > 0 {
net/http
h2_bundle.go#L3582: return w.bw.Available()
server.go#L858: if pool := bufioWriterPool(bw.Available()); pool != nil {
nhooyr.io/websocket
write.go#L348: if c.bw.Available() == 0 {
write.go#L359: if j > c.bw.Available() {
write.go#L360: j = c.bw.Available()
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |