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

Method CompatWriteKeyWithoutQuotes

library/cpp/json/writer/json.cpp:184–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182 }
183
184 TAfterColonContext TBuf::CompatWriteKeyWithoutQuotes(const TStringBuf& s) {
185 BeginKey();
186 Y_ASSERT(AllOf(s, [](char x) { return 'a' <= x && x <= 'z'; }));
187 UnsafeWriteRawBytes(s);
188 RawWriteChar(':');
189 return TAfterColonContext(*this);
190 }
191
192 TBuf& TBuf::EndList() {
193 CheckAndPop(JE_LIST);

Callers 1

Y_UNIT_TESTFunction · 0.45

Calls 2

TAfterColonContextClass · 0.70
AllOfFunction · 0.50

Tested by

no test coverage detected