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

Method init

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

Source from the content-addressed store, hash-verified

27}
28
29int zmq::msg_t::init (void *data_,
30 size_t size_,
31 msg_free_fn *ffn_,
32 void *hint_,
33 content_t *content_)
34{
35 if (size_ < max_vsm_size) {
36 const int rc = init_size (size_);
37
38 if (rc != -1) {
39 memcpy (data (), data_, size_);
40 return 0;
41 }
42 return -1;
43 }
44 if (content_) {
45 return init_external_storage (content_, data_, size_, ffn_, hint_);
46 }
47 return init_data (data_, size_, ffn_, hint_);
48}
49
50int zmq::msg_t::init ()
51{

Callers 15

t42_parser_initFunction · 0.45
t42_parse_encodingFunction · 0.45
t42_parse_charstringsFunction · 0.45
cff_compute_max_advanceFunction · 0.45
cff_slot_loadFunction · 0.45
FT_CMap_NewFunction · 0.45
cid_parser_newFunction · 0.45
cid_slot_load_glyphFunction · 0.45
T1_Compute_Max_AdvanceFunction · 0.45
T1_Get_AdvancesFunction · 0.45
T1_Load_GlyphFunction · 0.45

Calls 1

dataFunction · 0.50

Tested by

no test coverage detected