MCPcopy 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
104func (b *BigCache) Get(key []byte) ([]byte, error) {
105 return b.c.Get(string(key))
106}
107
108func (b *BigCache) Set(key, value []byte) error {
109 return b.c.Set(string(key), value)

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected