MCPcopy Create free account
hub / github.com/Samsung/UTopia / set

Method set

external/jsoncpp/jsoncpp.cpp:3831–3836  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3829}
3830
3831void Value::Comments::set(CommentPlacement slot, String comment) {
3832 if (!ptr_) {
3833 ptr_ = std::unique_ptr<Array>(new Array());
3834 }
3835 (*ptr_)[slot] = std::move(comment);
3836}
3837
3838void Value::setComment(String comment, CommentPlacement placement) {
3839 if (!comment.empty() && (comment.back() == '\n')) {

Callers 15

initializeRDAnalyzerMethod · 0.45
FilePathAnalyzerMethod · 0.45
ArrayAnalyzerMethod · 0.45
LoopAnalyzerMethod · 0.45
DirectionAnalyzerMethod · 0.45
AllocSizeAnalyzerMethod · 0.45
addOutParamFunction · 0.45
SetUpTestCaseMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 9

addOutParamFunction · 0.36
SetUpTestCaseMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36