Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dustinxie/lockfree
/ Len
Method
Len
list/queue.go:38–40 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
36
}
37
38
func
(q *queue) Len() int {
39
return
int(atomic.LoadUint64(&q.count))
40
}
41
42
func
(q *queue) Enque(v
interface
{}) {
43
n := node{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected