MCPcopy 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
209func (c *ThreadSafeCache) Clear() {
210 // TODO: Implement thread-safe clear operation
211}
212
213func (c *ThreadSafeCache) Size() int {
214 // TODO: Implement thread-safe size operation

Callers 1

TestThreadSafeCacheFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestThreadSafeCacheFunction · 0.76