Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudreve/cloudreve
/ Less
Method
Less
pkg/queue/scheduler.go:106–108 ·
view source on GitHub ↗
(i, j int)
Source
from the content-addressed store, hash-verified
104
}
105
106
func
(h taskHeap) Less(i, j int) bool {
107
return
h[i].ResumeTime() < h[j].ResumeTime()
108
}
109
110
func
(h taskHeap) Swap(i, j int) {
111
h[i], h[j] = h[j], h[i]
Callers
nothing calls this directly
Calls
1
ResumeTime
Method · 0.65
Tested by
no test coverage detected