Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ WriteData
Method
WriteData
library/cpp/logger/reopen_ut.cpp:18–20 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
17
struct TMockLogBackend : public TLogBackend {
18
void WriteData(const TLogRecord& rec) override {
19
BytesWritten.fetch_add(rec.Len);
20
}
21
22
void ReopenLog() override {
23
NumReopens.fetch_add(1);
Callers
1
WriteData
Function · 0.45
Calls
1
fetch_add
Method · 0.45
Tested by
no test coverage detected