MCPcopy 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

allocMethod · 0.85
allocMethod · 0.85
manager.hppFile · 0.85
reuseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected