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

Method AdditionalData

util/memory/addstorage.h:60–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 inline void* AdditionalData() const noexcept {
61 return (char*)(static_cast<const T*>(this)) + CombinedSizeOfInstanceWithTInfo();
62 }
63
64 static inline T* ObjectFromData(void* data) noexcept {
65 return reinterpret_cast<T*>(static_cast<char*>(data) - CombinedSizeOfInstanceWithTInfo());

Callers 3

AllocateMethod · 0.80
DataMethod · 0.80
TestItMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestItMethod · 0.64