MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / reserve

Method reserve

Source/ThirdParty/NvCloth/ps/PsArray.h:480–484  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////// ! Ensure that the array has at least size capacity. */ /////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

478 */
479 //////////////////////////////////////////////////////////////////////////
480 PX_INLINE void reserve(const uint32_t capacity)
481 {
482 if(capacity > this->capacity())
483 grow(capacity);
484 }
485
486 //////////////////////////////////////////////////////////////////////////
487 /*!

Callers 15

checkMemMethod · 0.45
describeMethod · 0.45
describeMethod · 0.45
GeneratorsMethod · 0.45
ChunkGeneratorMethod · 0.45
BenchmarkStatsClass · 0.45
runMethod · 0.45
resampleFunction · 0.45
jackknifeFunction · 0.45
resolutionFunction · 0.45

Calls 1

capacityMethod · 0.95

Tested by

no test coverage detected