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

Function GetRequestsWithDecoding

library/cpp/json/yson/json2yson_ut.cpp:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18static TString GetRequestsWithDecoding(const TString& inputPath, const NBlockCodecs::ICodec* codec) {
19 TIFStream inputFileStream(inputPath);
20 TString encodedRequests = inputFileStream.ReadAll();
21 TString requests;
22 codec->Decode(encodedRequests, requests);
23 return requests;
24}
25
26Y_UNIT_TEST_SUITE(Json2Yson) {
27 Y_UNIT_TEST(NOAPACHE_REQUESTS) {

Callers 1

Y_UNIT_TESTFunction · 0.85

Calls 2

ReadAllMethod · 0.80
DecodeMethod · 0.45

Tested by

no test coverage detected