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

Method GetBlockCount

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

Source from the content-addressed store, hash-verified

58 return Blocks[i];
59 }
60 int GetBlockCount() const {
61 return Blocks.ysize();
62 }
63 int GetBlockIdByOffset(int offset) const {
64 const auto i = LowerBound(Blocks.cbegin(), Blocks.cend(), offset, TBlockLess());
65 if (i == Blocks.cend())

Callers 1

ReadMethod · 0.45

Calls 1

ysizeMethod · 0.45

Tested by

no test coverage detected