MCPcopy Create free account
hub / github.com/apple/foundationdb / write

Method write

fdbclient/Tracing.actor.cpp:379–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377 }
378
379 void write() {
380 int bytesSent = send(socket_fd_, request_.buffer.get(), request_.data_size, MSG_DONTWAIT);
381 if (bytesSent == -1) {
382 // Will forgo checking errno here, and assume all error messages
383 // should be treated the same.
384 ++failed_messages_;
385 send_error_ = true;
386 }
387 request_.reset();
388 }
389
390 void trace(Span const& span) override {
391 prepare(span.location.name.size());

Callers 3

flushMethod · 0.45
appendMethod · 0.45

Calls 2

getMethod · 0.65
resetMethod · 0.45

Tested by

no test coverage detected