Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ WriteImpl
Method
WriteImpl
library/cpp/streams/lzma/lzma.cpp:170–178 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
168
}
169
170
inline void WriteImpl(const void* ptr, size_t len) {
171
Y_ASSERT(!Out_.Avail());
172
173
Out_.Reset(ptr, len);
174
175
while (Out_.Avail()) {
176
SwitchFrom();
177
}
178
}
179
180
inline bool FlushImpl() {
181
if (Out_.Avail()) {
Callers
1
DoWrite
Method · 0.45
Calls
2
Avail
Method · 0.45
Reset
Method · 0.45
Tested by
no test coverage detected