MCPcopy Create free account
hub / github.com/catboost/catboost / UnsafeWriteKey

Method UnsafeWriteKey

library/cpp/json/ordered_maps/json_ordered.cpp:168–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 }
167
168 TAfterColonContext TBuf::UnsafeWriteKey(const TStringBuf& s) {
169 BeginKey();
170 RawWriteChar('"');
171 UnsafeWriteRawBytes(s);
172 UnsafeWriteRawBytes("\":", 2);
173 return TAfterColonContext(*this);
174 }
175
176 TAfterColonContext TBuf::WriteKey(const TStringBuf& s) {
177 // use the default escaping mode for this object

Callers 1

Y_UNIT_TESTFunction · 0.45

Calls 1

TAfterColonContextClass · 0.70

Tested by

no test coverage detected