Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
171
type
writeCounter int64
172
173
func
(wc *writeCounter) Write(p []byte) (n int, err error) {
174
*wc += writeCounter(len(p))
175
return
len(p), nil
176
}
177
178
func
headerSize(h http.Header) int64 {
179
var
wc writeCounter
Callers
8
index
Method · 0.45
newHarness
Function · 0.45
Decrypt
Method · 0.45
Encrypt
Method · 0.45
headerSize
Function · 0.45
Write
Method · 0.45
log
Method · 0.45
log
Method · 0.45
Calls
1
writeCounter
TypeAlias · 0.85
Tested by
1
newHarness
Function · 0.36