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

Method DoReadAll

util/stream/zerocopy.cpp:17–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17ui64 IZeroCopyInput::DoReadAll(IOutputStream& out) {
18 ui64 result = 0;
19 const void* ptr;
20
21 while (size_t len = Next(&ptr)) {
22 out.Write(ptr, len);
23 result += len;
24 }
25
26 return result;
27}
28
29size_t IZeroCopyInput::DoSkip(size_t len) {
30 const void* ptr;

Callers

nothing calls this directly

Calls 2

NextFunction · 0.70
WriteMethod · 0.45

Tested by

no test coverage detected