MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / Set

Method Set

cachebench/cache_bench_test.go:108–110  ·  view source on GitHub ↗
(key, value []byte)

Source from the content-addressed store, hash-verified

106}
107
108func (b *BigCache) Set(key, value []byte) error {
109 return b.c.Set(string(key), value)
110}
111
112func newBigCache(keysInWindow int) *BigCache {
113 cache, err := bigcache.NewBigCache(bigcache.Config{

Callers 1

newBigCacheFunction · 0.95

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected