Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
AddBlock
Method · 0.45
Write
Method · 0.45
WriteDestructive
Method · 0.45
AddChain
Function · 0.45
Calls
2
TBlock
Class · 0.70
push_back
Method · 0.45
Tested by
no test coverage detected