Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LagrangeDev/LagrangeGo
/ releaseZlibWriter
Function
releaseZlibWriter
utils/binary/pool.go:78–85 ·
view source on GitHub ↗
(w *zlibWriter)
Source
from the content-addressed store, hash-verified
76
}
77
78
func
releaseZlibWriter(w *zlibWriter) {
79
// See https://golang.org/issue/23199
80
const
maxSize = 1 << 16
81
if
w.buf.Cap() < maxSize {
82
w.buf.Reset()
83
zlibPool.Put(w)
84
}
85
}
Callers
1
ZlibCompress
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected