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

Method Free

native/thirdpart/tinyxml2/tinyxml2.h:401–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399 }
400
401 virtual void Free( void* mem ) {
402 if ( !mem ) {
403 return;
404 }
405 --_currentAllocs;
406 Item* item = static_cast<Item*>( mem );
407#ifdef TINYXML2_DEBUG
408 memset( item, 0xfe, sizeof( *item ) );
409#endif
410 item->next = _root;
411 _root = item;
412 }
413 void Trace( const char* name ) {
414 printf( "Mempool %s watermark=%d [%dk] current=%d size=%d nAlloc=%d blocks=%d\n",
415 name, _maxAllocs, _maxAllocs * ITEM_SIZE / 1024, _currentAllocs,

Callers 2

DeleteNodeMethod · 0.80
DeleteAttributeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected