本文整理汇总了C++中protobuf_c_message_pack函数的典型用法代码示例。如果您正苦于以下问题:C++ protobuf_c_message_pack函数的具体用法?C++ protobuf_c_message_pack怎么用?C++ protobuf_c_message_pack使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了protobuf_c_message_pack函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: assert
size_t mgmt__daos_response__pack
(const Mgmt__DaosResponse *message,
uint8_t *out)
{
assert(message->base.descriptor == &mgmt__daos_response__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
示例2: assert
size_t query_by_id_request__pack
(const QueryByIdRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &query_by_id_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
示例3: PROTOBUF_C_ASSERT
size_t db_blob_role_info__pack
(const DbBlobRoleInfo *message,
uint8_t *out)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &db_blob_role_info__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
示例4: PROTOBUF_C_ASSERT
size_t task__desc__pack
(const TaskDesc *message,
uint8_t *out)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &task__desc__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
示例5: PROTOBUF_C_ASSERT
size_t exnode3__view__pack
(const Exnode3__View *message,
uint8_t *out)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &exnode3__view__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
示例6: PROTOBUF_C_ASSERT
size_t cfg__npcs__pack
(const CFGNPCS *message,
uint8_t *out)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &cfg__npcs__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
示例7: PROTOBUF_C_ASSERT
size_t hadoop__yarn__localizer_status_proto__pack
(const Hadoop__Yarn__LocalizerStatusProto *message,
uint8_t *out)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &hadoop__yarn__localizer_status_proto__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
开发者ID:leftnoteasy-tmp,项目名称:d41d8cd98f00b204e9800998ecf8427e,代码行数:7,代码来源:yarn_server_nodemanager_service_protos.pb-c.c
示例8: PROTOBUF_C_ASSERT
size_t pinba__request__pack
(const Pinba__Request *message,
uint8_t *out)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &pinba__request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
示例9: PROTOBUF_C_ASSERT
size_t osmpbf__blob_header__pack
(const OSMPBF__BlobHeader *message,
uint8_t *out)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__blob_header__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
示例10: PROTOBUF_C_ASSERT
size_t hadoop__common__protocol_version_proto__pack
(const Hadoop__Common__ProtocolVersionProto *message,
uint8_t *out)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &hadoop__common__protocol_version_proto__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
示例11: PROTOBUF_C_ASSERT
size_t block_range__pack
(const BlockRange *message,
uint8_t *out)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &block_range__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
示例12: assert
size_t ccx_sub_entry_message__pack
(const CcxSubEntryMessage *message,
uint8_t *out)
{
assert(message->base.descriptor == &ccx_sub_entry_message__descriptor);
return protobuf_c_message_pack((const ProtobufCMessage*)message, out);
}
示例13: PROTOBUF_C_ASSERT
size_t log_entry__pack
(const LogEntry *message,
uint8_t *out)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &log_entry__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
示例14: assert
size_t stats_request__pack
(const StatsRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &stats_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
示例15: PROTOBUF_C_ASSERT
size_t response__pack
(const RESPONSE *message,
uint8_t *out)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &response__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}