bufio.Writer.Available (method)
12 uses
bufio (current package)
bufio.go#L662: func (b *Writer) Available() int { return len(b.buf) - b.n }
bufio.go#L680: for len(p) > b.Available() && b.err == nil {
bufio.go#L708: if b.Available() <= 0 && b.Flush() != nil {
bufio.go#L730: n := b.Available()
bufio.go#L735: n = b.Available()
bufio.go#L755: for len(s) > b.Available() && b.err == nil {
bufio.go#L794: if b.Available() == 0 {
bufio.go#L824: if b.Available() == 0 {
go.uber.org/zap/zapcore
buffered_write_syncer.go#L148: if len(bs) > s.writer.Available() && s.writer.Buffered() > 0 {
golang.org/x/net/http2
http2.go#L287: return w.bw.Available()
net/http
h2_bundle.go#L3684: return w.bw.Available()
server.go#L923: if pool := bufioWriterPool(bw.Available()); pool != nil {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)