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

Method SetDummy

util/system/filemap.h:241–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239 return Dummy();
240 }
241 void SetDummy(const T& n_Dummy) {
242 Dummy_.Destroy();
243 Dummy_.Reset(new (DummyData()) T(n_Dummy));
244 }
245 inline char* DummyData() const noexcept {
246 return AlignUp((char*)DummyData_);
247 }

Callers

nothing calls this directly

Calls 2

DestroyMethod · 0.45
ResetMethod · 0.45

Tested by

no test coverage detected