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

Function MakeBinaryRegion

contrib/libs/flatbuffers/src/binary_annotator.cpp:28–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28static BinaryRegion MakeBinaryRegion(
29 const uint64_t offset = 0, const uint64_t length = 0,
30 const BinaryRegionType type = BinaryRegionType::Unknown,
31 const uint64_t array_length = 0, const uint64_t points_to_offset = 0,
32 BinaryRegionComment comment = {}) {
33 BinaryRegion region;
34 region.offset = offset;
35 region.length = length;
36 region.type = type;
37 region.array_length = array_length;
38 region.points_to_offset = points_to_offset;
39 region.comment = std::move(comment);
40 return region;
41}
42
43static BinarySection MakeBinarySection(const std::string &name,
44 const BinarySectionType type,

Callers 8

GenerateMissingSectionFunction · 0.85
BuildHeaderMethod · 0.85
GetOrBuildVTableMethod · 0.85
BuildTableMethod · 0.85
BuildStructMethod · 0.85
BuildStringMethod · 0.85
BuildVectorMethod · 0.85
FixMissingRegionsMethod · 0.85

Calls 1

moveFunction · 0.50

Tested by

no test coverage detected