MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / Clear

Method Clear

native/thirdpart/tinyxml2/tinyxml2.h:355–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353 }
354
355 void Clear() {
356 // Delete the blocks.
357 while( !_blockPtrs.Empty()) {
358 Block* lastBlock = _blockPtrs.Pop();
359 delete lastBlock;
360 }
361 _root = 0;
362 _currentAllocs = 0;
363 _nAllocs = 0;
364 _maxAllocs = 0;
365 _nUntracked = 0;
366 }
367
368 virtual int ItemSize() const {
369 return ITEM_SIZE;

Callers

nothing calls this directly

Calls 2

EmptyMethod · 0.80
PopMethod · 0.80

Tested by

no test coverage detected