MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / from_msgpack

Function from_msgpack

src/msgpack.cpp:246–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244 return vs.buffer;
245}
246value from_msgpack(const char* buffer, std::size_t size)
247{
248 msgpack::object_handle oh = msgpack::unpack(buffer, size);
249 return oh.get().as<value>();
250}
251value from_msgpack(const std::vector<char>& buffer)
252{
253 return from_msgpack(buffer.data(), buffer.size());

Callers 4

TEST_CASEFunction · 0.85
load_argumentFunction · 0.85
load_bufferFunction · 0.85
mainFunction · 0.85

Calls 4

unpackFunction · 0.50
getMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected