Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
ParsePacket
Method · 0.45
ProcessDataPacket
Method · 0.45
AddBlock
Method · 0.45
Write
Method · 0.45
WriteNoCopy
Method · 0.45
WriteDestructive
Method · 0.45
Calls
1
emplace_back
Method · 0.45
Tested by
no test coverage detected