Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
54
func
(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
GetFileSystemType
Function · 0.95
Test_BufferFree
Function · 0.95
Calls
2
empty
Method · 0.95
freeBuffer
Function · 0.85
Tested by
1
Test_BufferFree
Function · 0.76