MCPcopy Create free account
hub / github.com/microsoft/go-winio / Free

Method Free

internal/stringbuffer/wstring.go:54–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52}
53
54func (b *WString) Free() {
55 if b.empty() {
56 return
57 }
58 freeBuffer(b.b)
59 b.b = nil
60}
61
62// ResizeTo grows the buffer to at least c and returns the new capacity, freeing the
63// previous buffer back into pool.

Callers 2

GetFileSystemTypeFunction · 0.95
Test_BufferFreeFunction · 0.95

Calls 2

emptyMethod · 0.95
freeBufferFunction · 0.85

Tested by 1

Test_BufferFreeFunction · 0.76