MCPcopy Create free account
hub / github.com/NeuralNetworkVerification/Marabou / addMemory

Method addMemory

src/common/HeapData.cpp:164–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164void HeapData::addMemory( unsigned size )
165{
166 if ( ( _data = T::realloc( _data, _size + size ) ) == NULL )
167 throw CommonError( CommonError::NOT_ENOUGH_MEMORY );
168}
169
170void HeapData::copyNewData( const void *newData, unsigned size )
171{

Callers

nothing calls this directly

Calls 1

CommonErrorClass · 0.85

Tested by

no test coverage detected