MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / write

Method write

AgentBench.old/src/tasks/card_game/logic/src/jsoncpp/jsoncpp.cpp:4506–4512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4504void FastWriter::omitEndingLineFeed() { omitEndingLineFeed_ = true; }
4505
4506JSONCPP_STRING FastWriter::write(const Value& root) {
4507 document_.clear();
4508 writeValue(root);
4509 if (!omitEndingLineFeed_)
4510 document_ += "\n";
4511 return document_;
4512}
4513
4514void FastWriter::writeValue(const Value& value) {
4515 switch (value.type()) {

Callers 7

write_limitMethod · 0.45
write_jsonMethod · 0.45
endMethod · 0.45
invalid_operationMethod · 0.45
round_endMethod · 0.45
writeStringFunction · 0.45
jsoncpp.cppFile · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected