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

Method Write

library/cpp/neh/https.cpp:876–888  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

874 }
875
876 int Write(const char* data, size_t dlen, size_t* written) override {
877 if (Y_UNLIKELY(!Cont_)) {
878 return -1;
879 }
880
881 while (true) {
882 auto done = NCoro::WriteI(Cont_, S_, data, dlen);
883 if (done.Status() != EAGAIN) {
884 *written = done.Checked();
885 return 1;
886 }
887 }
888 }
889
890 int Read(char* data, size_t dlen, size_t* readbytes) override {
891 if (Y_UNLIKELY(!Cont_)) {

Callers 15

CompressFunction · 0.45
SendToMethod · 0.45
ScheduleMethod · 0.45
SignalMethod · 0.45
ReleaseMethod · 0.45
SaveMethod · 0.45
TResponceMethod · 0.45
SerializeMethod · 0.45
SendRequestMethod · 0.45
SendPingsIfNeededMethod · 0.45
DoSendCancelMethod · 0.45

Calls 3

WriteIFunction · 0.85
CheckedMethod · 0.80
StatusMethod · 0.45

Tested by

no test coverage detected