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

Function WriteTestData

library/cpp/http/io/chunk_ut.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 }
20
21 void WriteTestData(IOutputStream * stream, TString * contents) {
22 contents->clear();
23 for (size_t i = 0; i < sizeof(test_data); ++i) {
24 stream->Write(test_data, i);
25 contents->append(test_data, i);
26 }
27 }
28
29 void ReadInSmallChunks(IInputStream * stream, TString * contents) {
30 char buf[11];

Callers 1

Y_UNIT_TESTFunction · 0.85

Calls 3

clearMethod · 0.45
WriteMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected