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

Method size

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

Source from the content-addressed store, hash-verified

382}
383
384size_t zmq::msg_t::size () const
385{
386 // Check the validity of the message.
387 zmq_assert (check ());
388
389 switch (_u.base.type) {
390 case type_vsm:
391 return _u.vsm.size;
392 case type_lmsg:
393 return _u.lmsg.content->size;
394 case type_zclmsg:
395 return _u.zclmsg.content->size;
396 case type_cmsg:
397 return _u.cmsg.size;
398 default:
399 zmq_assert (false);
400 return 0;
401 }
402}
403
404void zmq::msg_t::shrink (size_t new_size_)
405{

Callers 15

command_body_sizeMethod · 0.95
GenerateTypedefOutputMethod · 0.45
__Pyx_decode_cpp_stringFunction · 0.45
__Pyx_decode_cpp_TStringFunction · 0.45
__Pyx_decode_cpp_stringFunction · 0.45
GenerateMarshallerFieldsFunction · 0.45
FrameworkImportFunction · 0.45
StripSuffixFunction · 0.45
StripPrefixFunction · 0.45

Calls 1

checkFunction · 0.50

Tested by

no test coverage detected