本文整理汇总了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());
}
示例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());
}
}
}
示例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());
}
示例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());
}
示例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());
}
示例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());
}
示例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());
}
示例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());
}
}
}
示例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());
}
}
}
示例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());
}
}
}
示例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());
}
}
}
示例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());
}
}
}
示例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());
}
示例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());
}
示例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());
}