MCPcopy Create free account
hub / github.com/FastFlowLM/FastFlowLM / bytes

Method bytes

src/include/buffer.hpp:49–53  ·  view source on GitHub ↗

\brief constructor \note This is a buffer wrapper that maps to a bo_buffer or other memory without performing a deep copy. \note A copy (or mapping) does not duplicate the underlying memory; it only maps the pointer.

Source from the content-addressed store, hash-verified

47 /// \note This is a buffer wrapper that maps to a bo_buffer or other memory without performing a deep copy.
48 /// \note A copy (or mapping) does not duplicate the underlying memory; it only maps the pointer.
49 bytes() : data_(nullptr), size_(0), is_owner_(false)
50#ifdef __XRT__
51 , is_bo_owner_(false), bo_(nullptr), owned_bo_(nullptr)
52#endif
53 {}
54
55 /// \brief copy constructor
56 /// \param other the other bytes

Callers

nothing calls this directly

Calls 3

to_stringFunction · 0.50
getMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected