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

Method Reserve

util/stream/str.h:89–91  ·  view source on GitHub ↗

* @param size Number of additional characters to * reserve in output string. */

Source from the content-addressed store, hash-verified

87 * reserve in output string.
88 */
89 inline void Reserve(size_t size) {
90 S_->reserve(S_->size() + size);
91 }
92
93 inline void Swap(TStringOutput& s) noexcept {
94 DoSwap(S_, s.S_);

Callers 3

TAdaptiveImplMethod · 0.45
DoNextMethod · 0.45
NextMethod · 0.45

Calls 2

reserveMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected