Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/beevik/timerqueue
/ Push
Method
Push
queue.go:134–138 ·
view source on GitHub ↗
(x interface{})
Source
from the content-addressed store, hash-verified
132
}
133
134
func
(h *timerHeap) Push(x
interface
{}) {
135
data := x.(*timerData)
136
*h = append(*h, data)
137
data.index = len(*h) - 1
138
}
139
140
func
(h *timerHeap) Pop()
interface
{} {
141
n := len(*h)
Callers
1
Schedule
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected