Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RezaSi/go-interview-practice
/ Clear
Method
Clear
challenge-28/solution-template.go:209–211 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
207
}
208
209
func
(c *ThreadSafeCache) Clear() {
210
// TODO: Implement thread-safe clear operation
211
}
212
213
func
(c *ThreadSafeCache) Size() int {
214
// TODO: Implement thread-safe size operation
Callers
1
TestThreadSafeCache
Function · 0.95
Calls
no outgoing calls
Tested by
1
TestThreadSafeCache
Function · 0.76