Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EdgeSecurityTeam/EHole
/ NewQueue
Function
NewQueue
module/queue/queue.go:14–18 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
12
}
13
14
func
NewQueue() *Queue {
15
q := new(Queue)
16
q.data = list.New()
17
return
q
18
}
19
20
func
(q *Queue) Push(v
interface
{}) *list.Element {
21
q.l.Lock()
Callers
2
NewScan
Function · 0.92
Test
Function · 0.85
Calls
no outgoing calls
Tested by
1
Test
Function · 0.68