MCPcopy Create free account
hub / github.com/ByConity/ByConity / toView

Method toView

base/common/StringRef.h:70–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69 std::string toString() const { return std::string(data, size); }
70 constexpr std::string_view toView() const { return std::string_view{data, size}; }
71
72 explicit operator std::string() const { return toString(); }
73 constexpr explicit operator std::string_view() const { return std::string_view{data, size}; }

Callers 15

operator()Method · 0.80
writeSegmentMethod · 0.80
processImplMethod · 0.80
serializeMethod · 0.80
serializeFieldMethod · 0.80
addMethod · 0.80
setSettingWithLockMethod · 0.80
executeImplMethod · 0.80
vectorVectorMethod · 0.80
vectorVectorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected