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

Function ParseYsonStringBuffer

library/cpp/yson/parser.cpp:116–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 ////////////////////////////////////////////////////////////////////////////////
115
116 void ParseYsonStringBuffer(
117 const TStringBuf& buffer,
118 NYT::NYson::IYsonConsumer* consumer,
119 EYsonType type,
120 bool enableLinePositionInfo,
121 TMaybe<ui64> memoryLimit) {
122 ParseYsonStreamImpl<NYT::NYson::IYsonConsumer, TStringReader>(
123 TStringReader(buffer.begin(), buffer.end()),
124 consumer,
125 type,
126 enableLinePositionInfo,
127 true,
128 memoryLimit);
129 }
130
131 ////////////////////////////////////////////////////////////////////////////////
132

Callers 2

OnRawMethod · 0.85
TESTFunction · 0.85

Calls 3

TStringReaderClass · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected