MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / item

Struct item

cache/lru.go:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12)
13
14type item struct {
15 key string
16 value any
17
18 // the frequency of key
19 freq int
20}
21
22type LRU struct {
23 dl *linkedlist.Doubly[any]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected