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

Method data

contrib/libs/zeromq/src/msg.cpp:364–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362}
363
364void *zmq::msg_t::data ()
365{
366 // Check the validity of the message.
367 zmq_assert (check ());
368
369 switch (_u.base.type) {
370 case type_vsm:
371 return _u.vsm.data;
372 case type_lmsg:
373 return _u.lmsg.content->data;
374 case type_cmsg:
375 return _u.cmsg.data;
376 case type_zclmsg:
377 return _u.zclmsg.content->data;
378 default:
379 zmq_assert (false);
380 return NULL;
381 }
382}
383
384size_t zmq::msg_t::size () const
385{

Callers 15

command_bodyMethod · 0.95
__Pyx_decode_cpp_stringFunction · 0.45
__Pyx_decode_cpp_TStringFunction · 0.45
__Pyx_decode_cpp_stringFunction · 0.45
GenerateMethod · 0.45
InsertMethod · 0.45
GenerateGrpcFunction · 0.45
size_readyMethod · 0.45
send_zap_requestMethod · 0.45

Calls 1

checkFunction · 0.50

Tested by

no test coverage detected