MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / ReserveEntries

Method ReserveEntries

engine/Poseidon/IO/ParamFile/ParamFileParse.cpp:705–705  ·  view source on GitHub ↗

Useful when the class's entry count is known in advance: avoids reallocation during growth, and an accurate count also avoids resizing during Compact.

Source from the content-addressed store, hash-verified

703// Useful when the class's entry count is known in advance: avoids reallocation
704// during growth, and an accurate count also avoids resizing during Compact.
705void ParamEntry::ReserveEntries(int count) {}
706
707bool ParamEntry::HasChecksum() const
708{

Callers 1

test_paramfile.cppFile · 0.80

Calls 1

ReserveMethod · 0.45

Tested by

no test coverage detected