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

Method Sign

library/cpp/neh/udp.cpp:145–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 TBuffer Data;
144
145 inline void Sign() {
146 const TCheckSum sum = CalcSign();
147
148 memcpy(Data.Data(), &sum, sizeof(sum));
149 }
150
151 inline char Type() const noexcept {
152 return *(Data.data() + sizeof(TCheckSum));

Callers

nothing calls this directly

Calls 1

DataMethod · 0.45

Tested by

no test coverage detected