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

Method Write

library/cpp/streams/bzip2/bzip2.cpp:108–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 }
107
108 inline void Write(const void* buf, size_t size) {
109 BzStream_.next_in = (char*)buf;
110 BzStream_.avail_in = size;
111
112 Y_DEFER {
113 BzStream_.next_in = 0;
114 BzStream_.avail_in = 0;
115 };
116
117 while (BzStream_.avail_in) {
118 const int ret = BZ2_bzCompress(&BzStream_, BZ_RUN);

Callers 4

FinishFunction · 0.45
bzip2.cppFile · 0.45
Y_UNIT_TESTFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected