当前位置: 首页>>代码示例>>C++>>正文


C++ protobuf_c_message_pack函数代码示例

本文整理汇总了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);
}
开发者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


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