Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexanderGugel/arc
/ functions
Functions
14 in github.com/alexanderGugel/arc
⨍
Functions
14
◇
Types & classes
2
↓ 29 callers
Method
Len
Len determines the number of currently cached entries. This method is side-effect free in the sense that it does not attempt to optimize random cache
arc.go:80
↓ 7 callers
Method
Put
Put inserts a new key-value pair into the cache. This optimizes future access to this entry (side effect).
arc.go:37
↓ 6 callers
Method
setMRU
(list *list.List)
entry.go:21
↓ 5 callers
Method
Get
Get retrieves a previously via Set inserted entry. This optimizes future access to this entry (side effect).
arc.go:66
↓ 4 callers
Method
replace
(ent *entry)
arc.go:153
↓ 3 callers
Method
delLRU
(list *list.List)
arc.go:146
↓ 3 callers
Method
req
(ent *entry)
arc.go:87
↓ 2 callers
Function
New
New returns a new Adaptive Replacement Cache (ARC).
arc.go:22
↓ 2 callers
Method
detach
()
entry.go:27
↓ 1 callers
Function
max
(x, y int)
util.go:10
↓ 1 callers
Function
min
(x, y int)
util.go:3
Function
TestBasic
(t *testing.T)
arc_test.go:5
Function
TestBasicReplace
(t *testing.T)
arc_test.go:42
Method
setLRU
(list *list.List)
entry.go:15