MCPcopy Create free account
hub / github.com/google/go-cloud / Write

Method Write

server/requestlog/requestlog.go:173–176  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

171type writeCounter int64
172
173func (wc *writeCounter) Write(p []byte) (n int, err error) {
174 *wc += writeCounter(len(p))
175 return len(p), nil
176}
177
178func headerSize(h http.Header) int64 {
179 var wc writeCounter

Callers 8

indexMethod · 0.45
newHarnessFunction · 0.45
DecryptMethod · 0.45
EncryptMethod · 0.45
headerSizeFunction · 0.45
WriteMethod · 0.45
logMethod · 0.45
logMethod · 0.45

Calls 1

writeCounterTypeAlias · 0.85

Tested by 1

newHarnessFunction · 0.36