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

Method data

gecode/support/bitset-base.hpp:249–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247 bits = setbits ? ~static_cast<Base>(0) : static_cast<Base>(0);
248 }
249 forceinline unsigned int
250 BitSetData::data(unsigned int s) {
251 return s == 0 ? 0 : ((s-1) / bpb + 1);
252 }
253 forceinline bool
254 BitSetData::operator ()(unsigned int i) const {
255 return (bits >> i) != static_cast<Base>(0U);

Callers 12

runMethod · 0.80
sendRawMsgMethod · 0.80
SpaceMethod · 0.80
~SpaceMethod · 0.80
postMethod · 0.80
statusMethod · 0.80
afc_unshareMethod · 0.80
rallocMethod · 0.80
fl_allocMethod · 0.80
afc_decayMethod · 0.80
core.hppFile · 0.80
RangesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected