bufio.Writer.Available (method)
12 uses
bufio (current package)
bufio.go#L660: func (b *Writer) Available() int { return len(b.buf) - b.n }
bufio.go#L678: for len(p) > b.Available() && b.err == nil {
bufio.go#L706: if b.Available() <= 0 && b.Flush() != nil {
bufio.go#L728: n := b.Available()
bufio.go#L733: n = b.Available()
bufio.go#L753: for len(s) > b.Available() && b.err == nil {
bufio.go#L792: if b.Available() == 0 {
bufio.go#L822: 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#L290: return w.bw.Available()
net/http
h2_bundle.go#L3767: return w.bw.Available()
server.go#L908: if pool := bufioWriterPool(bw.Available()); pool != nil {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)