Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ push
Method
push
contribs/qecode/WorkManager.cc:39–43 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
37
}
38
39
void WorkPool::push(QWork q) {
40
list<QWork>::iterator i = l.begin();
41
while (i != l.end() && cmp->cmp((*i),q)) i++;
42
l.insert(i,q);
43
}
44
45
QWork WorkPool::pop() {
46
QWork ret=l.front();
Callers
2
WorkManager
Method · 0.45
returnWork
Method · 0.45
Calls
4
begin
Method · 0.45
end
Method · 0.45
cmp
Method · 0.45
insert
Method · 0.45
Tested by
no test coverage detected