Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ DoWrite
Method
DoWrite
tools/archiver/main.cpp:34–40 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
Flush();
33
}
34
void DoWrite(const void* data, size_t len) override {
35
for (const char* p = (const char*)data; len > 0; ++p, --len) {
36
Buf.append(*p);
37
if (Buf.size() == Stride)
38
WriteBuf();
39
}
40
}
41
42
private:
43
void WriteBuf() {
Callers
nothing calls this directly
Calls
2
append
Method · 0.45
size
Method · 0.45
Tested by
no test coverage detected