Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ add
Method
add
gecode/int/nvalues/int-base.hpp:67–76 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
65
66
template<class VY>
67
void
68
IntBase<VY>::add(Space& home) {
69
int n=x.size();
70
for (int i=n; i--; )
71
if (x[i].assigned()) {
72
vs.add(home, x[i].val());
73
x[i] = x[--n];
74
}
75
x.size(n);
76
}
77
78
template<class VY>
79
void
Callers
3
post
Method · 0.45
post
Method · 0.45
post
Method · 0.45
Calls
3
size
Method · 0.45
assigned
Method · 0.45
val
Method · 0.45
Tested by
no test coverage detected