go.uber.org/zap/zapcore.WriteSyncer.Write (method)
325 uses
go.uber.org/zap/zapcore (current package)
core.go#L99: _, err = c.out.Write(buf.Bytes())
write_syncer.go#L66: n, err := s.ws.Write(bs)
write_syncer.go#L105: n, err := w.Write(p)
go.uber.org/multierr
error.go#L298: w.Write(_singlelineSeparator)
error.go#L305: w.Write(_multilinePrefix)
error.go#L307: w.Write(_multilineSeparator)
error.go#L320: w.Write(prefix)
bufio
bufio.go#L556: n, err := w.Write(b.buf[b.r:b.w])
bufio.go#L628: n, err := b.wr.Write(b.buf[0:b.n])
bufio.go#L668: n, b.err = b.wr.Write(p)
bytes
buffer.go#L239: m, e := w.Write(b.buf[b.off:])
reader.go#L144: m, err := w.Write(b)
compress/flate
deflate.go#L699: return w.w.Write(b)
huffman_bit_writer.go#L136: _, w.err = w.writer.Write(b)
compress/gzip
gzip.go#L98: _, err := z.w.Write(z.buf[:2])
gzip.go#L102: _, err = z.w.Write(b)
gzip.go#L124: _, err = z.w.Write(b)
gzip.go#L133: _, err = z.w.Write(z.buf[:1])
gzip.go#L168: _, z.err = z.w.Write(z.buf[:10])
gzip.go#L248: _, z.err = z.w.Write(z.buf[:8])
crypto/cipher
io.go#L39: n, err = w.W.Write(c)
crypto/ecdsa
ecdsa.go#L217: md.Write(priv.D.Bytes()) // the private key,
ecdsa.go#L218: md.Write(entropy) // the entropy,
ecdsa.go#L219: md.Write(hash) // and the input hash;
crypto/ed25519
ed25519.go#L159: mh.Write(prefix)
ed25519.go#L160: mh.Write(message)
ed25519.go#L168: kh.Write(R.Bytes())
ed25519.go#L169: kh.Write(publicKey)
ed25519.go#L170: kh.Write(message)
ed25519.go#L198: kh.Write(sig[:32])
ed25519.go#L199: kh.Write(publicKey)
ed25519.go#L200: kh.Write(message)
crypto/hmac
hmac.go#L65: h.outer.Write(h.opad)
hmac.go#L67: h.outer.Write(in[origLen:])
hmac.go#L72: return h.inner.Write(p)
hmac.go#L87: h.inner.Write(h.ipad)
hmac.go#L110: h.outer.Write(h.opad)
hmac.go#L150: hm.outer.Write(key)
hmac.go#L161: hm.inner.Write(hm.ipad)
crypto/rsa
pss.go#L72: hash.Write(prefix[:])
pss.go#L73: hash.Write(mHash)
pss.go#L74: hash.Write(salt)
pss.go#L193: hash.Write(prefix[:])
pss.go#L194: hash.Write(mHash)
pss.go#L195: hash.Write(salt)
rsa.go#L370: hash.Write(seed)
rsa.go#L371: hash.Write(counter[0:4])
rsa.go#L420: hash.Write(label)
rsa.go#L613: hash.Write(label)
crypto/tls
auth.go#L90: h.Write(signaturePadding)
auth.go#L92: h.Write(transcript.Sum(nil))
cipher_suites.go#L569: func (c *cthWrapper) Write(p []byte) (int, error) { return c.h.Write(p) }
cipher_suites.go#L581: h.Write(seq)
cipher_suites.go#L582: h.Write(header)
cipher_suites.go#L583: h.Write(data)
cipher_suites.go#L586: h.Write(extra)
common.go#L1339: _, err := c.KeyLogWriter.Write(logLine)
handshake_client.go#L352: transcript.Write(hello.marshalWithoutBinders())
handshake_client_tls13.go#L61: hs.transcript.Write(hs.hello.marshal())
handshake_client_tls13.go#L72: hs.transcript.Write(hs.serverHello.marshal())
handshake_client_tls13.go#L185: hs.transcript.Write([]byte{typeMessageHash, 0, 0, uint8(len(chHash))})
handshake_client_tls13.go#L186: hs.transcript.Write(chHash)
handshake_client_tls13.go#L187: hs.transcript.Write(hs.serverHello.marshal())
handshake_client_tls13.go#L250: transcript.Write([]byte{typeMessageHash, 0, 0, uint8(len(chHash))})
handshake_client_tls13.go#L251: transcript.Write(chHash)
handshake_client_tls13.go#L252: transcript.Write(hs.serverHello.marshal())
handshake_client_tls13.go#L253: transcript.Write(hs.hello.marshalWithoutBinders())
handshake_client_tls13.go#L263: hs.transcript.Write(hs.hello.marshal())
handshake_client_tls13.go#L397: hs.transcript.Write(encryptedExtensions.marshal())
handshake_client_tls13.go#L433: hs.transcript.Write(certReq.marshal())
handshake_client_tls13.go#L452: hs.transcript.Write(certMsg.marshal())
handshake_client_tls13.go#L492: hs.transcript.Write(certVerify.marshal())
handshake_client_tls13.go#L517: hs.transcript.Write(finished.marshal())
handshake_client_tls13.go#L566: hs.transcript.Write(certMsg.marshal())
handshake_client_tls13.go#L604: hs.transcript.Write(certVerifyMsg.marshal())
handshake_client_tls13.go#L619: hs.transcript.Write(finished.marshal())
handshake_server_tls13.go#L300: transcript.Write(hs.clientHello.marshalWithoutBinders())
handshake_server_tls13.go#L400: hs.transcript.Write(hs.clientHello.marshal())
handshake_server_tls13.go#L403: hs.transcript.Write([]byte{typeMessageHash, 0, 0, uint8(len(chHash))})
handshake_server_tls13.go#L404: hs.transcript.Write(chHash)
handshake_server_tls13.go#L416: hs.transcript.Write(helloRetryRequest.marshal())
handshake_server_tls13.go#L516: hs.transcript.Write(hs.clientHello.marshal())
handshake_server_tls13.go#L517: hs.transcript.Write(hs.hello.marshal())
handshake_server_tls13.go#L561: hs.transcript.Write(encryptedExtensions.marshal())
handshake_server_tls13.go#L591: hs.transcript.Write(certReq.marshal())
handshake_server_tls13.go#L603: hs.transcript.Write(certMsg.marshal())
handshake_server_tls13.go#L635: hs.transcript.Write(certVerifyMsg.marshal())
handshake_server_tls13.go#L650: hs.transcript.Write(finished.marshal())
handshake_server_tls13.go#L712: hs.transcript.Write(finishedMsg.marshal())
handshake_server_tls13.go#L779: hs.transcript.Write(certMsg.marshal())
handshake_server_tls13.go#L824: hs.transcript.Write(certVerify.marshal())
key_agreement.go#L109: hsha1.Write(slice)
key_agreement.go#L120: hmd5.Write(slice)
key_agreement.go#L142: h.Write(slice)
key_schedule.go#L88: verifyData.Write(transcript.Sum(nil))
key_schedule.go#L99: h.Write(context)
prf.go#L29: h.Write(seed)
prf.go#L35: h.Write(a)
prf.go#L36: h.Write(seed)
prf.go#L42: h.Write(a)
prf.go#L175: h.client.Write(msg)
prf.go#L176: h.server.Write(msg)
prf.go#L179: h.clientMD5.Write(msg)
prf.go#L180: h.serverMD5.Write(msg)
prf.go#L229: hash.Write(h.buffer)
ticket.go#L141: mac.Write(encrypted[:len(encrypted)-sha256.Size])
ticket.go#L170: mac.Write(encrypted[:len(encrypted)-sha256.Size])
crypto/x509
pem_decrypt.go#L89: hash.Write(digest)
pem_decrypt.go#L90: hash.Write(password)
pem_decrypt.go#L91: hash.Write(salt)
x509.go#L851: h.Write(signed)
x509.go#L1571: h.Write(signed)
x509.go#L1697: h.Write(signed)
x509.go#L2000: h.Write(signed)
x509.go#L2203: h.Write(tbsCertListContents)
encoding/base64
base64.go#L210: if _, e.err = e.w.Write(e.out[:4]); e.err != nil {
base64.go#L224: if _, e.err = e.w.Write(e.out[0 : nn/3*4]); e.err != nil {
base64.go#L244: _, e.err = e.w.Write(e.out[:e.enc.EncodedLen(e.nbuf)])
encoding/binary
binary.go#L375: _, err := w.Write(bs)
binary.go#L388: _, err := w.Write(buf)
encoding/hex
hex.go#L132: dumper.Write(data)
hex.go#L160: written, e.err = e.w.Write(e.out[:encoded])
hex.go#L254: _, err = h.w.Write(h.buf[4:])
hex.go#L273: _, err = h.w.Write(h.buf[:l])
hex.go#L284: _, err = h.w.Write(h.rightChars[:])
hex.go#L316: _, err = h.w.Write(h.buf[:l])
hex.go#L324: _, err = h.w.Write(h.rightChars[:nBytes+2])
encoding/json
encode.go#L858: enc.Write(s)
stream.go#L231: if _, err = enc.w.Write(b); err != nil {
encoding/pem
pem.go#L200: n, err = l.out.Write(l.line[0:l.used])
pem.go#L207: n, err = l.out.Write(b[0:excess])
pem.go#L212: n, err = l.out.Write(nl)
pem.go#L222: _, err = l.out.Write(l.line[0:l.used])
pem.go#L226: _, err = l.out.Write(nl)
pem.go#L233: _, err := out.Write([]byte(k + ": " + v + "\n"))
pem.go#L249: if _, err := out.Write(pemStart[1:]); err != nil {
pem.go#L252: if _, err := out.Write([]byte(b.Type + "-----\n")); err != nil {
pem.go#L281: if _, err := out.Write(nl); err != nil {
pem.go#L290: if _, err := b64.Write(b.Bytes); err != nil {
pem.go#L296: if _, err := out.Write(pemEnd[1:]); err != nil {
pem.go#L299: _, err := out.Write([]byte(b.Type + "-----\n"))
encoding/xml
xml.go#L1942: if _, err := w.Write(s[last : i-width]); err != nil {
xml.go#L1945: if _, err := w.Write(esc); err != nil {
xml.go#L1950: _, err := w.Write(s[last:])
xml.go#L2012: if _, err := w.Write(cdataStart); err != nil {
xml.go#L2022: if _, err := w.Write(before); err != nil {
xml.go#L2025: if _, err := w.Write(cdataEscape); err != nil {
xml.go#L2031: if _, err := w.Write(s); err != nil {
xml.go#L2035: _, err := w.Write(cdataEnd)
fmt
print.go#L205: n, err = w.Write(p.buf)
print.go#L233: n, err = w.Write(p.buf)
print.go#L265: n, err = w.Write(p.buf)
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream
encode.go#L81: if _, err = hashWriter.Write(msg.Payload); err != nil {
header.go#L173: _, err := w.Write(v.Name[:v.Len])
header_value.go#L75: _, err := w.Write(v)
header_value.go#L97: _, err = w.Write(v)
header_value.go#L126: _, err = w.Write([]byte(v))
message.go#L46: hash.Write(raw.Headers)
message.go#L52: hash.Write(raw.Payload)
github.com/aws/aws-sdk-go-v2/aws/signer/internal/v4
hmac.go#L11: hash.Write(data)
github.com/aws/aws-sdk-go-v2/aws/signer/v4
v4.go#L491: hash.Write(b)
github.com/aws/aws-sdk-go-v2/internal/v4a
v4a.go#L480: hash.Write(b)
github.com/aws/aws-sdk-go-v2/internal/v4a/internal/crypto
ecc.go#L105: _, err := h.Write(fixedInput.Bytes())
github.com/aws/aws-sdk-go-v2/internal/v4a/internal/v4
hmac.go#L11: hash.Write(data)
github.com/aws/smithy-go/encoding/xml
value.go#L289: enc.Write(v)
github.com/go-pg/pg/v10
messages.go#L1164: _, err = w.Write(b)
github.com/golang/protobuf/jsonpb
encode.go#L69: if _, err := w.Write(b); err != nil {
github.com/golang/protobuf/proto
text_encode.go#L35: if _, err := w.Write(b); err != nil {
github.com/kr/text
indent.go#L54: i, err = w.w.Write(w.pre[w.sel][w.off:])
indent.go#L60: _, err = w.w.Write([]byte{c})
github.com/vmihailenco/bufpool
buffer.go#L176: m, e := w.Write(b.buf[b.off:])
github.com/vmihailenco/msgpack/v5
encode.go#L38: _, err := bw.Write([]byte{c})
encode.go#L262: _, err := e.w.Write(b)
encode.go#L267: _, err := e.w.Write(stringToBytes(s))
encode_value.go#L167: _, err = e.w.Write(b)
go.pact.im/x/goupdate
textgen.go#L349: return w.writer().Write(p)
go/ast
print.go#L94: m, err = p.output.Write(data[n : i+1])
print.go#L106: _, err = p.output.Write(indent)
print.go#L115: m, err = p.output.Write(data[n:])
go/doc
comment.go#L149: w.Write(html_a)
comment.go#L151: w.Write(html_aq)
comment.go#L154: w.Write(html_i)
comment.go#L158: w.Write(html_endi)
comment.go#L161: w.Write(html_enda)
comment.go#L311: w.Write(html_p)
comment.go#L315: w.Write(html_endp)
comment.go#L317: w.Write(html_h)
comment.go#L322: w.Write([]byte(id))
comment.go#L323: w.Write(html_hq)
comment.go#L328: w.Write(html_hq)
comment.go#L330: w.Write(html_endh)
comment.go#L332: w.Write(html_pre)
comment.go#L336: w.Write(html_endpre)
comment.go#L440: w.Write(nl)
comment.go#L447: w.Write(nl)
comment.go#L450: w.Write([]byte("\n"))
comment.go#L452: w.Write([]byte(preIndent))
comment.go#L453: w.Write([]byte(line))
comment.go#L475: l.out.Write(nl) // blank line before new paragraph
comment.go#L485: l.out.Write(nl)
comment.go#L491: l.out.Write([]byte(l.indent))
comment.go#L494: l.out.Write(prefix)
comment.go#L497: l.out.Write(space[:l.pendSpace])
comment.go#L498: l.out.Write([]byte(f))
comment.go#L508: l.out.Write(nl)
go/printer
printer.go#L1225: _, err = p.output.Write(aNewline)
printer.go#L1227: _, err = p.output.Write(p.space)
printer.go#L1231: _, err = p.output.Write(p.space)
printer.go#L1237: _, err = p.output.Write(data[m:n])
printer.go#L1243: _, err = p.output.Write(data[m:n])
printer.go#L1247: _, err = p.output.Write(data[m:n])
printer.go#L1250: _, err = p.output.Write(aNewline)
printer.go#L1253: _, err = p.output.Write(data[m:n])
printer.go#L1268: _, err = p.output.Write(data[m:n])
printer.go#L1352: if _, err = output.Write(p.output); err != nil {
golang.org/x/crypto/argon2
argon2.go#L139: b2.Write(params[:])
argon2.go#L141: b2.Write(tmp[:])
argon2.go#L142: b2.Write(password)
argon2.go#L144: b2.Write(tmp[:])
argon2.go#L145: b2.Write(salt)
argon2.go#L147: b2.Write(tmp[:])
argon2.go#L148: b2.Write(key)
argon2.go#L150: b2.Write(tmp[:])
argon2.go#L151: b2.Write(data)
blake2b.go#L26: b2.Write(buffer[:4])
blake2b.go#L27: b2.Write(in)
blake2b.go#L40: b2.Write(buffer[:])
blake2b.go#L51: b2.Write(buffer[:])
golang.org/x/crypto/pbkdf2
pbkdf2.go#L55: prf.Write(salt)
pbkdf2.go#L60: prf.Write(buf[:4])
pbkdf2.go#L68: prf.Write(U)
golang.org/x/crypto/sha3
hashes.go#L70: h.Write(data)
hashes.go#L78: h.Write(data)
hashes.go#L86: h.Write(data)
hashes.go#L94: h.Write(data)
shake.go#L164: h.Write(data)
shake.go#L171: h.Write(data)
golang.org/x/net/http2
frame.go#L371: n, err := f.w.Write(f.wbuf)
pipe.go#L98: return p.b.Write(d)
golang.org/x/net/http2/hpack
encode.go#L77: n, err := e.w.Write(e.buf)
huffman.go#L28: return w.Write(buf.Bytes())
golang.org/x/text/transform
transform.go#L245: if _, werr := w.w.Write(w.dst[:nDst]); werr != nil {
transform.go#L300: if _, werr := w.w.Write(w.dst[:nDst]); werr != nil {
golang.org/x/text/unicode/norm
readwriter.go#L41: if _, err = w.w.Write(w.buf[:i]); err != nil {
readwriter.go#L54: _, err := w.w.Write(w.buf)
golang.org/x/tools/internal/event/keys
keys.go#L85: w.Write(strconv.AppendInt(buf, int64(k.From(l)), 10))
keys.go#L117: w.Write(strconv.AppendInt(buf, int64(k.From(l)), 10))
keys.go#L149: w.Write(strconv.AppendInt(buf, int64(k.From(l)), 10))
keys.go#L181: w.Write(strconv.AppendInt(buf, int64(k.From(l)), 10))
keys.go#L213: w.Write(strconv.AppendInt(buf, k.From(l), 10))
keys.go#L245: w.Write(strconv.AppendUint(buf, uint64(k.From(l)), 10))
keys.go#L277: w.Write(strconv.AppendUint(buf, uint64(k.From(l)), 10))
keys.go#L309: w.Write(strconv.AppendUint(buf, uint64(k.From(l)), 10))
keys.go#L341: w.Write(strconv.AppendUint(buf, uint64(k.From(l)), 10))
keys.go#L373: w.Write(strconv.AppendUint(buf, k.From(l), 10))
keys.go#L405: w.Write(strconv.AppendFloat(buf, float64(k.From(l)), 'E', -1, 32))
keys.go#L441: w.Write(strconv.AppendFloat(buf, k.From(l), 'E', -1, 64))
keys.go#L477: w.Write(strconv.AppendQuote(buf, k.From(l)))
keys.go#L509: w.Write(strconv.AppendBool(buf, k.From(l)))
golang.org/x/tools/internal/pkgbits
encoder.go#L101: _, err := out0.Write(fingerprint[:])
google.golang.org/grpc
rpc_util.go#L623: if _, err := z.Write(in); err != nil {
google.golang.org/grpc/internal/binarylog
sink.go#L77: if _, err := ws.out.Write(hdr); err != nil {
sink.go#L80: if _, err := ws.out.Write(b); err != nil {
google.golang.org/protobuf/internal/detrand
rand.go#L61: h.Write(buf[:8])
rand.go#L66: h.Write(buf[:])
io
io.go#L97: Write(p []byte) (n int, err error)
io.go#L314: return w.Write([]byte(s))
io.go#L428: nw, ew := dst.Write(buf[0:nr])
io.go#L574: if n, err := t.w.Write(p[:n]); err != nil {
multi.go#L60: n, err = w.Write(p)
multi.go#L83: n, err = w.Write(p)
log
log.go#L195: _, err := l.out.Write(l.buf)
mellium.im/sasl
scram.go#L226: _, err = h.Write(serverKeyInput)
scram.go#L233: _, err = h.Write(clientKeyInput)
scram.go#L240: _, err = h.Write(authMessage)
scram.go#L247: _, err = h.Write(clientKey)
scram.go#L253: _, err = h.Write(authMessage)
mime/multipart
writer.go#L164: _, err = p.Write([]byte(value))
writer.go#L196: n, err = p.mw.w.Write(d)
mime/quotedprintable
writer.go#L162: if _, err := w.w.Write(w.line[:w.i]); err != nil {
net
net.go#L717: nb, err := w.Write(b)
net/http
h2_bundle.go#L1700: n, err := f.w.Write(f.wbuf)
h2_bundle.go#L3685: return p.b.Write(d)
header.go#L140: return w.w.Write([]byte(s))
socks_bundle.go#L458: if _, err := rw.Write(b); err != nil {
transfer.go#L1106: n, err = fw.w.Write(p)
net/http/httputil
reverseproxy.go#L467: nw, werr := dst.Write(buf[:nr])
reverseproxy.go#L512: n, err = m.dst.Write(p)
net/http/internal
chunked.go#L212: if n, err = cw.Wire.Write(data); err != nil {
net/http/pprof
pprof.go#L447: _, err := w.Write(b.Bytes())
runtime/pprof
pprof.go#L705: _, err := w.Write(buf)
runtime/trace
trace.go#L133: w.Write(data)
strings
replace.go#L319: return w.w.Write([]byte(s))
replace.go#L471: wn, err := w.Write(buf[:ncopy])
replace.go#L557: nw, err := w.Write(r.replacements[b])
testing/iotest
logger.go#L18: n, err = l.w.Write(p)
writer.go#L29: n, err = t.w.Write(p[0:n])
text/tabwriter
tabwriter.go#L254: n, err := b.output.Write(buf)
text/template
exec.go#L281: if _, err := s.wr.Write(node.Text); err != nil {
funcs.go#L610: w.Write(b[last:i])
funcs.go#L611: w.Write(html)
funcs.go#L614: w.Write(b[last:])
funcs.go#L659: w.Write(b[last:i])
funcs.go#L666: w.Write(jsBackslash)
funcs.go#L668: w.Write(jsApos)
funcs.go#L670: w.Write(jsQuot)
funcs.go#L672: w.Write(jsLt)
funcs.go#L674: w.Write(jsGt)
funcs.go#L676: w.Write(jsAmp)
funcs.go#L678: w.Write(jsEq)
funcs.go#L680: w.Write(jsLowUni)
funcs.go#L682: w.Write(hex[t : t+1])
funcs.go#L683: w.Write(hex[b : b+1])
funcs.go#L689: w.Write(b[i : i+size])
funcs.go#L697: w.Write(b[last:])
vendor/golang.org/x/crypto/hkdf
hkdf.go#L31: extractor.Write(secret)
hkdf.go#L60: f.expander.Write(f.prev)
hkdf.go#L61: f.expander.Write(f.info)
hkdf.go#L62: f.expander.Write([]byte{f.counter})
vendor/golang.org/x/net/http2/hpack
encode.go#L77: n, err := e.w.Write(e.buf)
huffman.go#L28: return w.Write(buf.Bytes())
vendor/golang.org/x/text/transform
transform.go#L245: if _, werr := w.w.Write(w.dst[:nDst]); werr != nil {
transform.go#L300: if _, werr := w.w.Write(w.dst[:nDst]); werr != nil {
vendor/golang.org/x/text/unicode/norm
readwriter.go#L41: if _, err = w.w.Write(w.buf[:i]); err != nil {
readwriter.go#L54: _, err := w.w.Write(w.buf)