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

Class TBlock

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

Source from the content-addressed store, hash-verified

9 class TBlockChain {
10 public:
11 struct TBlock {
12 const char* Data;
13 int Offset, Size; // Offset in whole chain
14
15 TBlock()
16 : Data(nullptr)
17 , Offset(0)
18 , Size(0)
19 {
20 }
21 TBlock(const char* data, int offset, int sz)
22 : Data(data)
23 , Offset(offset)
24 , Size(sz)
25 {
26 }
27 };
28
29 private:
30 typedef TVector<TBlock> TBlockVector;

Callers 1

AddBlockMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected