當前位置: 首頁>>代碼示例>>C++>>正文


C++ GOOGLE_CHECK_NE函數代碼示例

本文整理匯總了C++中GOOGLE_CHECK_NE函數的典型用法代碼示例。如果您正苦於以下問題:C++ GOOGLE_CHECK_NE函數的具體用法?C++ GOOGLE_CHECK_NE怎麽用?C++ GOOGLE_CHECK_NE使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了GOOGLE_CHECK_NE函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的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


注:本文中的GOOGLE_CHECK_NE函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。