MCPcopy Create free account
hub / github.com/catboost/catboost / Preallocate

Method Preallocate

library/cpp/yt/string/string_builder-inl.h:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13////////////////////////////////////////////////////////////////////////////////
14
15inline char* TStringBuilderBase::Preallocate(size_t size)
16{
17 Reserve(size + GetLength());
18 return Current_;
19}
20
21inline void TStringBuilderBase::Reserve(size_t size)
22{

Callers 3

RunFormatterFunction · 0.45
FormatValueFunction · 0.45
FormatValueViaSprintfFunction · 0.45

Calls 2

ReserveFunction · 0.85
GetLengthFunction · 0.50

Tested by

no test coverage detected