• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ protobuf_c_message_pack函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中protobuf_c_message_pack函数的典型用法代码示例。如果您正苦于以下问题:C++ protobuf_c_message_pack函数的具体用法?C++ protobuf_c_message_pack怎么用?C++ protobuf_c_message_pack使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了protobuf_c_message_pack函数的18个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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);
}
开发者ID:daos-stack,项目名称:daos,代码行数:7,代码来源:srv.pb-c.c


示例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);
}
开发者ID:alexyarikov,项目名称:ZMQClientServer,代码行数:7,代码来源:query_by_id_req.pb-c.c


示例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);
}
开发者ID:a1406,项目名称:txgg,代码行数:7,代码来源:db_role_info.pb-c.c


示例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);
}
开发者ID:House-Lee,项目名称:PeerAutoDiscovery,代码行数:7,代码来源:common_msg.pb-c.c


示例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);
}
开发者ID:PerilousApricot,项目名称:lstore-lio,代码行数:7,代码来源:exnode3.pb-c.c


示例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);
}
开发者ID:a1406,项目名称:txgg,代码行数:7,代码来源:config_NPC.pb-c.c


示例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);
}
开发者ID:Daniel15,项目名称:dotdeb-nginx,代码行数:7,代码来源:pinba.pb-c.c


示例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);
}
开发者ID:FiskerLars,项目名称:libosmaccess,代码行数:7,代码来源:fileformat.pb-c.c


示例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);
}
开发者ID:leftnoteasy-tmp,项目名称:d41d8cd98f00b204e9800998ecf8427e,代码行数:7,代码来源:ProtocolInfo.pb-c.c


示例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);
}
开发者ID:Pronghorn,项目名称:pronghorn,代码行数:7,代码来源:structures.pb-c.c


示例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);
}
开发者ID:17eparker,项目名称:ccextractor,代码行数:7,代码来源:ccx_sub_entry_message.pb-c.c


示例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);
}
开发者ID:LLParse,项目名称:fuse_kafka,代码行数:7,代码来源:log.pb-c.c


示例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);
}
开发者ID:zhiyuan2007,项目名称:logstats,代码行数:7,代码来源:statsmessage.pb-c.c


示例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);
}
开发者ID:bernardo5,项目名称:psis,代码行数:7,代码来源:messages.pb-c.c


示例16: PROTOBUF_C_ASSERT

size_t doozer__response__pack
                     (const Doozer__Response *message,
                      uint8_t       *out)
{
  PROTOBUF_C_ASSERT (message->base.descriptor == &doozer__response__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
开发者ID:bitly,项目名称:doozer-c,代码行数:7,代码来源:msg.pb-c.c


示例17: PROTOBUF_C_ASSERT

size_t npc_info__pack
                     (const NpcInfo *message,
                      uint8_t       *out)
{
  PROTOBUF_C_ASSERT (message->base.descriptor == &npc_info__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
开发者ID:a1406,项目名称:txgg,代码行数:7,代码来源:config_scene.pb-c.c


示例18: PROTOBUF_C_ASSERT

size_t rpc_layer__read_dir_response__pack
                     (const RpcLayer__ReadDirResponse *message,
                      uint8_t       *out)
{
  PROTOBUF_C_ASSERT (message->base.descriptor == &rpc_layer__read_dir_response__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
开发者ID:Jarlakxen,项目名称:fuse_ext2,代码行数:7,代码来源:rpc_layer.pb-c.c



注:本文中的protobuf_c_message_pack函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ protocol函数代码示例发布时间:2022-05-30
下一篇:
C++ protobuf_c_message_get_packed_size函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap