Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dgraph-io/dgraph-benchmarks
/ Get
Method
Get
cachebench/cache_bench_test.go:104–106 ·
view source on GitHub ↗
(key []byte)
Source
from the content-addressed store, hash-verified
102
}
103
104
func
(b *BigCache) Get(key []byte) ([]byte, error) {
105
return
b.c.Get(string(key))
106
}
107
108
func
(b *BigCache) Set(key, value []byte) error {
109
return
b.c.Set(string(key), value)
Callers
nothing calls this directly
Calls
1
Get
Method · 0.65
Tested by
no test coverage detected