Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mudler/LocalAI
/ Len
Method
Len
pkg/xsync/map.go:50–54 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
48
}
49
50
func
(m *SyncedMap[K, V]) Len() int {
51
m.mu.RLock()
52
defer
m.mu.RUnlock()
53
return
len(m.m)
54
}
55
56
func
(m *SyncedMap[K, V]) Iterate(f
func
(key K, value V) bool) {
57
m.mu.RLock()
Callers
14
messageText
Function · 0.45
Write
Method · 0.45
TraceMiddleware
Function · 0.45
trace_body_cap_test.go
File · 0.45
streamTranscription
Function · 0.45
handleMCPCIJob
Function · 0.45
RedactNERSegments
Function · 0.45
AudioSnippetFromPCM
Function · 0.45
audio_test.go
File · 0.45
ParseMsgWithXMLToolCalls
Method · 0.45
SystemPrompt
Function · 0.45
monitorLogs
Method · 0.45
Calls
no outgoing calls
Tested by
1
processMCPCIJobForTest
Function · 0.36