MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / clear

Method clear

libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:183–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 }
182
183 void clear()
184 {
185 assert(!_space && !!_space_to_clear);
186 _space_to_clear.reset();
187 _space = new MSpace;
188 }
189
190 private:
191 spp_sptr<MSpace> _space;

Callers

nothing calls this directly

Calls 2

assertFunction · 0.85
resetMethod · 0.45

Tested by

no test coverage detected