MCPcopy Create free account
hub / github.com/crowdriff/lru / PutOnStartup

Method PutOnStartup

algorithm.go:25–25  ·  view source on GitHub ↗

PutOnStartup adds the provided key and size to LRU and returns true if the key was successfully added.

([]byte, int64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

twoq_test.goFile · 0.65
BenchmarkTwoQGetFunction · 0.65
setTestStatsFunction · 0.65
fillCacheFromBoltMethod · 0.65
basiclru_test.goFile · 0.65
BenchmarkBasicLRUGetFunction · 0.65

Implementers 2

BasicLRUbasiclru.go
TwoQtwoq.go

Calls

no outgoing calls

Tested by 3

BenchmarkTwoQGetFunction · 0.52
setTestStatsFunction · 0.52
BenchmarkBasicLRUGetFunction · 0.52