MCPcopy Create free account
hub / github.com/Gecode/gecode / funmark

Function funmark

gecode/support/marked-pointer.hpp:71–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 return reinterpret_cast<void*>(reinterpret_cast<ptrdiff_t>(p)|1);
70 }
71 forceinline void*
72 funmark(void* p) {
73 return reinterpret_cast<void*>(reinterpret_cast<ptrdiff_t>(p)&
74 ~static_cast<ptrdiff_t>(1));
75 }
76 forceinline void*
77 ptrsplit(void* p, ptrdiff_t& m) {
78 ptrdiff_t mp = reinterpret_cast<ptrdiff_t>(p);

Callers 11

recomputeMethod · 0.85
acquireSpaceMethod · 0.85
closeChildMethod · 0.85
disposeMethod · 0.85
getNumberOfChildNodesMethod · 0.85
enableMethod · 0.85
core.hppFile · 0.85
nextMethod · 0.85
leafMethod · 0.85
afcMethod · 0.85
adviseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected