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

Method read

runtime/common/KernelWrapper.h:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 SerializeInputBuffer(const char *buffer, std::size_t remaining)
54 : m_buffer(buffer), m_remaining(remaining) {}
55 bool read(char *data, std::size_t size) {
56 if (size > m_remaining)
57 return false;
58 std::memcpy(data, m_buffer, size);
59 m_buffer += size;
60 m_remaining -= size;
61 return true;
62 }
63
64 const char *data() const { return m_buffer; }
65

Callers 15

updateMethod · 0.45
getSVGstringFunction · 0.45
_arm_result_statusFunction · 0.45
bindSpinOperatorFunction · 0.45
do_POSTMethod · 0.45
fetch_copyright_yearFunction · 0.45
deserializeMethod · 0.45
infleqtion.pyFile · 0.45
oqc.pyFile · 0.45
quantinuum.pyFile · 0.45
iqm.pyFile · 0.45
qbraid.pyFile · 0.45

Calls

no outgoing calls

Tested by 1

_arm_result_statusFunction · 0.36