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

Method AddBlock

library/cpp/netliba/v6/block_chain.h:44–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 {
43 }
44 void AddBlock(const void* data, int sz) {
45 Blocks.push_back(TBlock((const char*)data, Size, sz));
46 Size += sz;
47 }
48 int GetSize() const {
49 return Size;
50 }

Callers 4

AddBlockMethod · 0.45
WriteMethod · 0.45
WriteDestructiveMethod · 0.45
AddChainFunction · 0.45

Calls 2

TBlockClass · 0.70
push_backMethod · 0.45

Tested by

no test coverage detected