Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ MaxCacheItems
Method
MaxCacheItems
internal/stats/user_agent_parser.go:113–115 ·
view source on GitHub ↗
MaxCacheItems 读取能容纳的缓存最大数量
()
Source
from the content-addressed store, hash-verified
111
112
// MaxCacheItems 读取能容纳的缓存最大数量
113
func
(this *UserAgentParser) MaxCacheItems() int {
114
return
this.maxCacheItems
115
}
116
117
// Len 读取当前缓存数量
118
func
(this *UserAgentParser) Len() int {
Callers
1
TestUserAgentParser_Memory
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestUserAgentParser_Memory
Function · 0.64