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

Function write_msgpack

test/msgpack.cpp:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31template <class T, MIGRAPHX_REQUIRES(not std::is_base_of<std::vector<std::uint8_t>, T>{})>
32static void write_msgpack(std::ostream& os, const T& src)
33{
34 msgpack::pack(os, src);
35}
36static void write_msgpack(std::ostream& os, const std::vector<std::uint8_t>& src)
37{
38 const auto limit = std::numeric_limits<uint32_t>::max() - 1;

Callers 1

msgpack_bufferFunction · 0.85

Calls 7

distanceFunction · 0.85
emplace_backMethod · 0.80
packFunction · 0.50
maxClass · 0.50
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected