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

C++ GOOGLE_CHECK_NE函数代码示例

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

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



在下文中一共展示了GOOGLE_CHECK_NE函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: GOOGLE_CHECK_NE

void RceUpdateProfile::MergeFrom(const RceUpdateProfile& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from._has_bit(0)) {
      mutable_transaction()->::MsgTransaction::MergeFrom(from.transaction());
    }
    if (from._has_bit(1)) {
      set_sku(from.sku());
    }
    if (from._has_bit(2)) {
      set_value(from.value());
    }
    if (from._has_bit(3)) {
      set_key(from.key());
    }
    if (from._has_bit(4)) {
      set_planetid(from.planetid());
    }
    if (from._has_bit(5)) {
      set_action(from.action());
    }
    if (from._has_bit(6)) {
      set_level(from.level());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}
开发者ID:CrazyPro,项目名称:ape,代码行数:27,代码来源:RceUpdateProfile.pb.cpp


示例2: GOOGLE_CHECK_NE

void LoginResponse::MergeFrom(const LoginResponse& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_status()) {
      set_status(from.status());
    }
    if (from.has_address()) {
      mutable_address()->::message::NetAddress::MergeFrom(from.address());
    }
    if (from.has_dailyrewarddata()) {
      mutable_dailyrewarddata()->::message::DailyRewardSystemData::MergeFrom(from.dailyrewarddata());
    }
    if (from.has_olduid()) {
      set_olduid(from.olduid());
    }
    if (from.has_version()) {
      set_version(from.version());
    }
    if (from.has_gamename()) {
      set_gamename(from.gamename());
    }
    if (from.has_gamedownload()) {
      set_gamedownload(from.gamedownload());
    }
  }
}
开发者ID:wanggan768q,项目名称:GameWork,代码行数:26,代码来源:Login.pb.cpp


示例3: GOOGLE_CHECK_NE

void RceQueryRefuseReceiveWishItem::MergeFrom(const RceQueryRefuseReceiveWishItem& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from._has_bit(0)) {
      set_type(from.type());
    }
    if (from._has_bit(1)) {
      set_name(from.name());
    }
    if (from._has_bit(2)) {
      set_playerid(from.playerid());
    }
    if (from._has_bit(3)) {
      set_id(from.id());
    }
    if (from._has_bit(4)) {
      set_guid(from.guid());
    }
    if (from._has_bit(5)) {
      set_planetid(from.planetid());
    }
    if (from._has_bit(6)) {
      set_time(from.time());
    }
    if (from._has_bit(7)) {
      set_msg(from.msg());
    }
  }
  if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
    if (from._has_bit(8)) {
      set_url(from.url());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}
开发者ID:CrazyPro,项目名称:ape,代码行数:35,代码来源:RceQueryRefuseReceiveWishItem.pb.cpp


示例4: GOOGLE_CHECK_NE

void RceObtainPayUrlParame::MergeFrom(const RceObtainPayUrlParame& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from._has_bit(0)) {
      set_openid(from.openid());
    }
    if (from._has_bit(1)) {
      set_appmode(from.appmode());
    }
    if (from._has_bit(2)) {
      set_platid(from.platid());
    }
    if (from._has_bit(3)) {
      set_planetid(from.planetid());
    }
    if (from._has_bit(4)) {
      set_goodsmeta(from.goodsmeta());
    }
    if (from._has_bit(5)) {
      set_gdurl(from.gdurl());
    }
    if (from._has_bit(6)) {
      set_payitem(from.payitem());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}
开发者ID:CrazyPro,项目名称:ape,代码行数:27,代码来源:RceObtainPayUrlParame.pb.cpp


示例5: GOOGLE_CHECK_NE

void tictacpacket::MergeFrom(const tictacpacket& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_ipv4()) {
      set_ipv4(from.ipv4());
    }
    if (from.has_msgtype()) {
      set_msgtype(from.msgtype());
    }
    if (from.has_playername()) {
      set_playername(from.playername());
    }
    if (from.has_state()) {
      set_state(from.state());
    }
    if (from.has_ipv4opp()) {
      set_ipv4opp(from.ipv4opp());
    }
    if (from.has_endtype()) {
      set_endtype(from.endtype());
    }
    if (from.has_npos()) {
      set_npos(from.npos());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}
开发者ID:kspviswa,项目名称:tictactoeNetwork,代码行数:27,代码来源:tictac.cpp


示例6: GOOGLE_CHECK_NE

void MFNHashFileSaltedProtobuf_SaltedHash::MergeFrom(const MFNHashFileSaltedProtobuf_SaltedHash& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_hash()) {
      set_hash(from.hash());
    }
    if (from.has_salt()) {
      set_salt(from.salt());
    }
    if (from.has_iteration_count()) {
      set_iteration_count(from.iteration_count());
    }
    if (from.has_other_data_1()) {
      set_other_data_1(from.other_data_1());
    }
    if (from.has_other_data_2()) {
      set_other_data_2(from.other_data_2());
    }
    if (from.has_other_data_3()) {
      set_other_data_3(from.other_data_3());
    }
    if (from.has_other_data_4()) {
      set_other_data_4(from.other_data_4());
    }
    if (from.has_other_data_5()) {
      set_other_data_5(from.other_data_5());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}
开发者ID:Debug-Orz,项目名称:sploit-dev,代码行数:30,代码来源:CHHashFileVSalted.pb.cpp


示例7: GOOGLE_CHECK_NE

void MsgItem::MergeFrom(const MsgItem& from) {
  GOOGLE_CHECK_NE(&from, this);
  item_.MergeFrom(from.item_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from._has_bit(0)) {
      set_sku(from.sku());
    }
    if (from._has_bit(1)) {
      set_position(from.position());
    }
    if (from._has_bit(3)) {
      set_sequence(from.sequence());
    }
    if (from._has_bit(4)) {
      set_counter(from.counter());
    }
    if (from._has_bit(5)) {
      set_quantity(from.quantity());
    }
    if (from._has_bit(6)) {
      set_timeleft(from.timeleft());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}
开发者ID:CrazyPro,项目名称:ape,代码行数:25,代码来源:RseObtainSocialItems.pb.cpp


示例8: GOOGLE_CHECK_NE

void UpdateUserInfo::MergeFrom(const UpdateUserInfo& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_level()) {
      set_level(from.level());
    }
    if (from.has_experience()) {
      set_experience(from.experience());
    }
    if (from.has_wincount()) {
      set_wincount(from.wincount());
    }
    if (from.has_winrate()) {
      set_winrate(from.winrate());
    }
    if (from.has_successionwincount()) {
      set_successionwincount(from.successionwincount());
    }
    if (from.has_incomgolds()) {
      set_incomgolds(from.incomgolds());
    }
    if (from.has_bureauexperience()) {
      set_bureauexperience(from.bureauexperience());
    }
  }
}
开发者ID:wanggan768q,项目名称:GameWork,代码行数:26,代码来源:BattleResult.pb.cpp


示例9: GOOGLE_CHECK_NE

void Message::MergeFrom(const Message& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_to()) {
      set_to(from.to());
    }
    if (from.has_id()) {
      set_id(from.id());
    }
    if (from.has_time()) {
      set_time(from.time());
    }
    if (from.has_from()) {
      set_from(from.from());
    }
    if (from.has_type()) {
      set_type(from.type());
    }
    if (from.has_sn()) {
      set_sn(from.sn());
    }
    if (from.has_data()) {
      set_data(from.data());
    }
    if (from.has_expire()) {
      set_expire(from.expire());
    }
  }
}
开发者ID:acechat,项目名称:GPush,代码行数:29,代码来源:message.pb.cpp


示例10: GOOGLE_CHECK_NE

void LanSearchRoomRequest::MergeFrom(const LanSearchRoomRequest& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_jsonid()) {
      set_jsonid(from.jsonid());
    }
  }
}
开发者ID:wanggan768q,项目名称:GameWork,代码行数:8,代码来源:LanSearchRoom.pb.cpp


示例11: GOOGLE_CHECK_NE

void HeartbeatResponse::MergeFrom(const HeartbeatResponse& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_status()) {
      set_status(from.status());
    }
  }
}
开发者ID:wanggan768q,项目名称:GameWork,代码行数:8,代码来源:Heartbeat.pb.cpp


示例12: GOOGLE_CHECK_NE

void RemoveFriendRequest::MergeFrom(const RemoveFriendRequest& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_frienduuid()) {
      set_frienduuid(from.frienduuid());
    }
  }
}
开发者ID:wanggan768q,项目名称:GameWork,代码行数:8,代码来源:RemoveFriend.pb.cpp


示例13: GOOGLE_CHECK_NE

void CSJoinRoomResponse::MergeFrom(const CSJoinRoomResponse& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_result()) {
      set_result(from.result());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}
开发者ID:MicroBlogProjects,项目名称:IceBurning,代码行数:9,代码来源:CreateRoom.cpp


示例14: GOOGLE_CHECK_NE

void MsgMessage::MergeFrom(const MsgMessage& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from._has_bit(0)) {
      set_msg(from.msg());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}
开发者ID:CrazyPro,项目名称:ape,代码行数:9,代码来源:RseObtainMessagesList.pb.cpp


示例15: GOOGLE_CHECK_NE

void Shutdown_Res::MergeFrom(const Shutdown_Res& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_code()) {
      set_code(from.code());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}
开发者ID:lj-211,项目名称:go_fight,代码行数:9,代码来源:Shutdown.pb.cpp


示例16: GOOGLE_CHECK_NE

void RseQueryRefuseReceiveWishItem::MergeFrom(const RseQueryRefuseReceiveWishItem& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from._has_bit(0)) {
      set_ret(from.ret());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}
开发者ID:CrazyPro,项目名称:ape,代码行数:9,代码来源:RseQueryRefuseReceiveWishItem.pb.cpp


示例17: GOOGLE_CHECK_NE

void LanguageData_Language::MergeFrom(const LanguageData_Language& from) {
  GOOGLE_CHECK_NE(&from, this);
  statement_.MergeFrom(from.statement_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from.has_key()) {
      set_key(from.key());
    }
  }
}
开发者ID:wanggan768q,项目名称:GameWork,代码行数:9,代码来源:HSLanguage.pb.cpp


示例18: GOOGLE_CHECK_NE

void ActionsPerformedByFriendsList::MergeFrom(const ActionsPerformedByFriendsList& from) {
  GOOGLE_CHECK_NE(&from, this);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from._has_bit(0)) {
      set_ret(from.ret());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}
开发者ID:CrazyPro,项目名称:ape,代码行数:9,代码来源:RseObtainVisitHelps.pb.cpp


示例19: GOOGLE_CHECK_NE

void Units::MergeFrom(const Units& from) {
    GOOGLE_CHECK_NE(&from, this);
    if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
        if (from._has_bit(0)) {
            set_ret(from.ret());
        }
    }
    mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}
开发者ID:CrazyPro,项目名称:ape,代码行数:9,代码来源:RseObtainAskForHelp.pb.cpp


示例20: GOOGLE_CHECK_NE

void MsgHangars::MergeFrom(const MsgHangars& from) {
  GOOGLE_CHECK_NE(&from, this);
  hangar_.MergeFrom(from.hangar_);
  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    if (from._has_bit(0)) {
      set_sid(from.sid());
    }
  }
  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}
开发者ID:CrazyPro,项目名称:ape,代码行数:10,代码来源:MsgHangars.pb.cpp



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
C++ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN函数代码示例发布时间:2022-05-30
下一篇:
C++ GOBJ2RVAL函数代码示例发布时间: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