MCPcopy Create free account
hub / github.com/NVIDIA/cuda-quantum / extractNameFromData

Function extractNameFromData

runtime/common/SampleResult.cpp:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47static std::string extractNameFromData(std::vector<std::size_t> &data,
48 std::size_t &stride) {
49 auto nChars = data[stride++];
50
51 std::string name(data.begin() + stride, data.begin() + stride + nChars);
52
53 stride += nChars;
54 return name;
55}
56
57namespace cudaq {
58

Callers 1

deserializeMethod · 0.85

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected