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

Method write

contrib/libs/zeromq/src/pipe.cpp:222–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222bool zmq::pipe_t::write (const msg_t *msg_)
223{
224 if (unlikely (!check_write ()))
225 return false;
226
227 const bool more = (msg_->flags () & msg_t::more) != 0;
228 const bool is_routing_id = msg_->is_routing_id ();
229 _out_pipe->write (*msg_, more);
230 if (!more && !is_routing_id)
231 _msgs_written++;
232
233 return true;
234}
235
236void zmq::pipe_t::rollback () const
237{

Callers 15

process_fileFunction · 0.45
get_flake8_configFunction · 0.45
_printFunction · 0.45
resource_filesFunction · 0.45
test_tracebackFunction · 0.45
__init__Method · 0.45
_register_lockMethod · 0.45
_acquire_lockFunction · 0.45
_try_acquire_pidlockFunction · 0.45
resource_filesFunction · 0.45
dumpMethod · 0.45
dumpMethod · 0.45

Calls 2

is_routing_idMethod · 0.80
flagsMethod · 0.45

Tested by 5

test_tracebackFunction · 0.36
_acquire_lockFunction · 0.36
_try_acquire_pidlockFunction · 0.36
mkfileFunction · 0.36
runFunction · 0.36