MCPcopy Create free account
hub / github.com/apache/trafficserver / owned

Function owned

lib/yamlcpp/include/yaml-cpp/binary.h:30–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 Binary &operator=(Binary &&) = default;
29
30 bool owned() const { return !m_unownedData; }
31 std::size_t size() const { return owned() ? m_data.size() : m_unownedSize; }
32 const unsigned char *data() const {
33 return owned() ? &m_data[0] : m_unownedData;

Callers 2

sizeFunction · 0.85
dataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected