MCPcopy
hub / github.com/tinylib/msgp / freeW

Function freeW

msgp/write.go:61–61  ·  view source on GitHub ↗

freeW frees a writer for use by other processes. It is not necessary to call freeW on a writer. However, maintaining a reference to a *Writer after calling freeW on it will cause undefined behavior.

(w *Writer)

Source from the content-addressed store, hash-verified

59// a reference to a *Writer after calling freeW on
60// it will cause undefined behavior.
61func freeW(w *Writer) { pushWriter(w) }
62
63// Require ensures that cap(old)-len(old) >= extra.
64func Require(old []byte, extra int) []byte {

Callers 1

EncodeFunction · 0.85

Calls 1

pushWriterFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…