Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ operator ()
Method
operator ()
gecode/kernel/data/rnd.hpp:122–129 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
120
m.release();
121
}
122
forceinline unsigned int
123
Rnd::IMP::operator ()(unsigned int n) {
124
unsigned int r;
125
m.acquire();
126
r=rg(n);
127
m.release();
128
return r;
129
}
130
forceinline int
131
Rnd::IMP::operator ()(int n) {
132
int r;
Callers
nothing calls this directly
Calls
3
rg
Function · 0.85
acquire
Method · 0.45
release
Method · 0.45
Tested by
no test coverage detected