Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ Len
Method
Len
cli/cliutil/queue.go:87–91 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
85
}
86
87
func
(q *Queue[T]) Len() int {
88
q.mu.Lock()
89
defer
q.mu.Unlock()
90
return
len(q.items)
91
}
92
93
type
reportTask
struct
{
94
link string
Callers
15
TestAgentAPI_LargeManifest
Function · 0.45
TestActiveAgentChatsIncludeInheritedACLs
Function · 0.45
TestUserSecretAudit
Function · 0.45
TestPostWorkspaceAgentPortShare
Function · 0.45
TestGetWorkspaceAgentPortShares
Function · 0.45
TestUserActivityInsights_SanityCheck
Function · 0.45
TestUserLatencyInsights
Function · 0.45
TestGetUserStatusCounts
Function · 0.45
TestExternalAuthByID
Function · 0.45
TestExternalAuthManagement
Function · 0.45
TestGitSSHKey
Function · 0.45
TestWorkspaceAgent
Function · 0.45
Calls
2
Lock
Method · 0.45
Unlock
Method · 0.45
Tested by
15
TestAgentAPI_LargeManifest
Function · 0.36
TestActiveAgentChatsIncludeInheritedACLs
Function · 0.36
TestUserSecretAudit
Function · 0.36
TestPostWorkspaceAgentPortShare
Function · 0.36
TestGetWorkspaceAgentPortShares
Function · 0.36
TestUserActivityInsights_SanityCheck
Function · 0.36
TestUserLatencyInsights
Function · 0.36
TestGetUserStatusCounts
Function · 0.36
TestExternalAuthByID
Function · 0.36
TestExternalAuthManagement
Function · 0.36
TestGitSSHKey
Function · 0.36
TestWorkspaceAgent
Function · 0.36