MCPcopy Create free account
hub / github.com/Kitware/CMake / String

Method String

Source/cmString.cxx:118–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118String::String(std::string&& s, Private)
119 : string_(std::make_shared<std::string>(std::move(s)))
120 , view_(this->string_->data(), this->string_->size())
121{
122}
123
124String::size_type String::copy(char* dest, size_type count,
125 size_type pos) const

Callers 15

testConstructorsFunction · 0.45
testAssignFunction · 0.45
testConcatFunction · 0.45
testAppendFunction · 0.45
LLVMFuzzerTestOneInputFunction · 0.45
HandleDirectoryModeFunction · 0.45
GenerateFilesStringMethod · 0.45
EvaluateMethod · 0.45
BuildTraceEventMethod · 0.45
HandleRealPathCommandFunction · 0.45
HandleGetCommandFunction · 0.45

Calls 3

moveFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by 4

testConstructorsFunction · 0.36
testAssignFunction · 0.36
testConcatFunction · 0.36
testAppendFunction · 0.36