MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / test

Method test

highs/util/HighsHashTree.h:80–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 void flip(uint8_t pos) { occupation ^= uint64_t{1} << (pos); }
79
80 bool test(uint8_t pos) const { return occupation & (uint64_t{1} << pos); }
81
82 int num_set_until(uint8_t pos) const {
83 return HighsHashHelpers::popcnt(occupation >> pos);

Callers 6

insert_entryMethod · 0.80
find_entryMethod · 0.80
erase_entryMethod · 0.80
insert_recurseMethod · 0.80
erase_recurseMethod · 0.80
find_recurseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected