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

Method Write

library/cpp/http/io/chunk.cpp:173–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171 }
172
173 inline void Write(const void* buf, size_t len) {
174 const char* ptr = (const char*)buf;
175
176 while (len) {
177 const size_t portion = Min<size_t>(len, 1024 * 16);
178
179 WriteImpl(ptr, portion);
180
181 ptr += portion;
182 len -= portion;
183 }
184 }
185
186 inline void WriteImpl(const void* buf, size_t len) {
187 char tmp[32];

Callers 3

WriteImplMethod · 0.45
FinishMethod · 0.45
DoWriteMethod · 0.45

Calls 1

WriteImplFunction · 0.85

Tested by

no test coverage detected