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

Method AddBlock

library/cpp/netliba/v12/block_chain.h:50–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 {
49 }
50 void AddBlock(const void* data, int sz) {
51 Blocks.emplace_back((const char*)data, Size, sz);
52 Size += sz;
53 }
54 int GetSize() const {
55 return Size;
56 }

Callers 6

ParsePacketMethod · 0.45
ProcessDataPacketMethod · 0.45
AddBlockMethod · 0.45
WriteMethod · 0.45
WriteNoCopyMethod · 0.45
WriteDestructiveMethod · 0.45

Calls 1

emplace_backMethod · 0.45

Tested by

no test coverage detected