bufio.Writer.Available (method)
12 uses
bufio (current package)
bufio.go#L645: func (b *Writer) Available() int { return len(b.buf) - b.n }
bufio.go#L663: for len(p) > b.Available() && b.err == nil {
bufio.go#L691: if b.Available() <= 0 && b.Flush() != nil {
bufio.go#L713: n := b.Available()
bufio.go#L718: n = b.Available()
bufio.go#L735: for len(s) > b.Available() && b.err == nil {
bufio.go#L762: if b.Available() == 0 {
bufio.go#L792: 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#L271: return w.bw.Available()
net/http
h2_bundle.go#L3480: return w.bw.Available()
server.go#L847: if pool := bufioWriterPool(bw.Available()); pool != nil {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)