MCPcopy Create free account
hub / github.com/Niko1221/Strata / parse

Function parse

engine/tests/quant/strata_reader_layout_test.cpp:168–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 put<uint32_t>(f, e + 48, sid);
167}
168bool parse(const std::vector<uint8_t>& f, uint64_t size, StrataHeader& h, std::string& err) {
169 err.clear();
170 return strata_parse_header_frame(f.data(), f.size(), size, h, err);
171}
172std::vector<uint8_t> golden(const uint8_t* g) {
173 std::vector<uint8_t> f(4096, 0);
174 std::memcpy(f.data(), g, 0x1B0);

Callers 4

check_goldenFunction · 0.70
mainFunction · 0.70
layerMethod · 0.50
openMethod · 0.50

Calls 4

clearMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected