Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ align
Function
align
gecode/kernel/memory/config.hpp:150–153 ·
view source on GitHub ↗
* Alignment * */
Source
from the content-addressed store, hash-verified
148
*
149
*/
150
forceinline void
151
align(size_t& s, size_t a) {
152
s += ((a - (s & (a - 1))) & (a - 1));
153
}
154
155
}
156
Callers
4
alloc
Method · 0.85
alloc
Method · 0.85
manager.hpp
File · 0.85
reuse
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected