MCPcopy Index your code
hub / github.com/valyala/fasthttp / nonblockingWriteZstd

Function nonblockingWriteZstd

zstd.go:127–132  ·  view source on GitHub ↗
(ctxv any)

Source from the content-addressed store, hash-verified

125}
126
127func nonblockingWriteZstd(ctxv any) {
128 ctx := ctxv.(*compressCtx)
129 zw := acquireRealZstdWriter(ctx.w, ctx.level)
130 zw.Write(ctx.p) //nolint:errcheck
131 releaseRealZstdWriter(zw, ctx.level)
132}
133
134// AppendZstdBytes appends zstd src to dst and returns the resulting dst.
135func AppendZstdBytes(dst, src []byte) []byte {

Callers

nothing calls this directly

Calls 3

acquireRealZstdWriterFunction · 0.85
releaseRealZstdWriterFunction · 0.85
WriteMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…