MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / clear

Method clear

code/data-structures/heap.cpp:59–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 bool empty() { return count == 0; }
58 int size() { return count; }
59 void clear() { count = 0, memset(loc, 255, len << 2); }};
60// vim: cc=60 ts=2 sts=2 sw=2:

Callers 11

testFunction · 0.45
rebuildFunction · 0.45
testFunction · 0.45
testFunction · 0.45
initMethod · 0.45
operator +Method · 0.45
operator -Method · 0.45
testFunction · 0.45
TwoSatMethod · 0.45
checkFunction · 0.45
sccFunction · 0.45

Calls

no outgoing calls

Tested by 5

testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
checkFunction · 0.36