void protobuf_AssignDesc_RseLogin_2eproto() { protobuf_AddDesc_RseLogin_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "RseLogin.proto"); GOOGLE_CHECK(file != NULL); RseLogin_descriptor_ = file->message_type(0); static const int RseLogin_offsets_[13] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseLogin, currenttimemillis_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseLogin, id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseLogin, levelbasedonscore_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseLogin, myaccountislocked_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseLogin, pop_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseLogin, rqid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseLogin, sync_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseLogin, timefromlastlogin_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseLogin, timefromlastupdate_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseLogin, token_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseLogin, userid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseLogin, version_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseLogin, vip_), }; RseLogin_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( RseLogin_descriptor_, RseLogin::default_instance_, RseLogin_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseLogin, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseLogin, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(RseLogin)); }
void protobuf_AssignDesc_RobotCommands_2eproto() { protobuf_AddDesc_RobotCommands_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "RobotCommands.proto"); GOOGLE_CHECK(file != NULL); SetRobotMaintenance_descriptor_ = file->message_type(0); static const int SetRobotMaintenance_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetRobotMaintenance, robot_number_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetRobotMaintenance, maintenance_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetRobotMaintenance, team_color_), }; SetRobotMaintenance_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( SetRobotMaintenance_descriptor_, SetRobotMaintenance::default_instance_, SetRobotMaintenance_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetRobotMaintenance, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SetRobotMaintenance, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(SetRobotMaintenance)); SetRobotMaintenance_CompType_descriptor_ = SetRobotMaintenance_descriptor_->enum_type(0); }
void protobuf_AssignDesc_SimTimeSync_2eproto() { protobuf_AddDesc_SimTimeSync_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "SimTimeSync.proto"); GOOGLE_CHECK(file != NULL); SimTimeSync_descriptor_ = file->message_type(0); static const int SimTimeSync_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SimTimeSync, sim_time_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SimTimeSync, real_time_factor_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SimTimeSync, paused_), }; SimTimeSync_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( SimTimeSync_descriptor_, SimTimeSync::default_instance_, SimTimeSync_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SimTimeSync, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SimTimeSync, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(SimTimeSync)); SimTimeSync_CompType_descriptor_ = SimTimeSync_descriptor_->enum_type(0); }
static void JoinStringsIterator(const ITERATOR& start, const ITERATOR& end, const char* delim, string* result) { GOOGLE_CHECK(result != NULL); result->clear(); int delim_length = strlen(delim); // Precompute resulting length so we can reserve() memory in one shot. int length = 0; for (ITERATOR iter = start; iter != end; ++iter) { if (iter != start) { length += delim_length; } length += iter->size(); } result->reserve(length); // Now combine everything. for (ITERATOR iter = start; iter != end; ++iter) { if (iter != start) { result->append(delim, delim_length); } result->append(iter->data(), iter->size()); } }
void protobuf_AssignDesc_AttentionMessage_2eproto() { protobuf_AddDesc_AttentionMessage_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "AttentionMessage.proto"); GOOGLE_CHECK(file != NULL); AttentionMessage_descriptor_ = file->message_type(0); static const int AttentionMessage_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttentionMessage, message_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttentionMessage, time_to_show_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttentionMessage, team_color_), }; AttentionMessage_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( AttentionMessage_descriptor_, AttentionMessage::default_instance_, AttentionMessage_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttentionMessage, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(AttentionMessage, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(AttentionMessage)); AttentionMessage_CompType_descriptor_ = AttentionMessage_descriptor_->enum_type(0); }
void protobuf_AssignDesc_InputMessage_2eproto() { protobuf_AddDesc_InputMessage_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "InputMessage.proto"); GOOGLE_CHECK(file != NULL); InputMessage_descriptor_ = file->message_type(0); static const int InputMessage_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InputMessage, ahead_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InputMessage, back_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InputMessage, left_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InputMessage, right_), }; InputMessage_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( InputMessage_descriptor_, InputMessage::default_instance_, InputMessage_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InputMessage, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(InputMessage, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(InputMessage)); }
void protobuf_AssignDesc_RceUpdateMisc_2eproto() { protobuf_AddDesc_RceUpdateMisc_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "RceUpdateMisc.proto"); GOOGLE_CHECK(file != NULL); RceUpdateMisc_descriptor_ = file->message_type(0); static const int RceUpdateMisc_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceUpdateMisc, planetid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceUpdateMisc, action_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceUpdateMisc, wk_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceUpdateMisc, chk_), }; RceUpdateMisc_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( RceUpdateMisc_descriptor_, RceUpdateMisc::default_instance_, RceUpdateMisc_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceUpdateMisc, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceUpdateMisc, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(RceUpdateMisc)); }
void protobuf_AssignDesc_RceObtainPayUrlParame_2eproto() { protobuf_AddDesc_RceObtainPayUrlParame_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "RceObtainPayUrlParame.proto"); GOOGLE_CHECK(file != NULL); RceObtainPayUrlParame_descriptor_ = file->message_type(0); static const int RceObtainPayUrlParame_offsets_[7] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceObtainPayUrlParame, openid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceObtainPayUrlParame, appmode_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceObtainPayUrlParame, platid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceObtainPayUrlParame, planetid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceObtainPayUrlParame, goodsmeta_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceObtainPayUrlParame, gdurl_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceObtainPayUrlParame, payitem_), }; RceObtainPayUrlParame_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( RceObtainPayUrlParame_descriptor_, RceObtainPayUrlParame::default_instance_, RceObtainPayUrlParame_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceObtainPayUrlParame, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceObtainPayUrlParame, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(RceObtainPayUrlParame)); }
void protobuf_AssignDesc_tictac_2eproto() { protobuf_AddDesc_tictac_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "tictac.proto"); GOOGLE_CHECK(file != NULL); tictacpacket_descriptor_ = file->message_type(0); static const int tictacpacket_offsets_[7] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(tictacpacket, ipv4_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(tictacpacket, msgtype_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(tictacpacket, playername_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(tictacpacket, state_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(tictacpacket, ipv4opp_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(tictacpacket, endtype_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(tictacpacket, npos_), }; tictacpacket_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( tictacpacket_descriptor_, tictacpacket::default_instance_, tictacpacket_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(tictacpacket, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(tictacpacket, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(tictacpacket)); tictacpacket_MsgType_descriptor_ = tictacpacket_descriptor_->enum_type(0); tictacpacket_EndType_descriptor_ = tictacpacket_descriptor_->enum_type(1); }
void GzipOutputStream::Init(ZeroCopyOutputStream* sub_stream, const Options& options) { sub_stream_ = sub_stream; sub_data_ = NULL; sub_data_size_ = 0; input_buffer_length_ = options.buffer_size; input_buffer_ = operator new(input_buffer_length_); GOOGLE_CHECK(input_buffer_ != NULL); zcontext_.zalloc = Z_NULL; zcontext_.zfree = Z_NULL; zcontext_.opaque = Z_NULL; zcontext_.next_out = NULL; zcontext_.avail_out = 0; zcontext_.total_out = 0; zcontext_.next_in = NULL; zcontext_.avail_in = 0; zcontext_.total_in = 0; zcontext_.msg = NULL; // default to GZIP format int windowBitsFormat = 16; if (options.format == ZLIB) { windowBitsFormat = 0; } zerror_ = deflateInit2( &zcontext_, options.compression_level, Z_DEFLATED, /* windowBits */15 | windowBitsFormat, /* memLevel (default) */8, options.compression_strategy); }
void protobuf_AssignDesc_RceQueryRefuseReceiveWishItem_2eproto() { protobuf_AddDesc_RceQueryRefuseReceiveWishItem_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "RceQueryRefuseReceiveWishItem.proto"); GOOGLE_CHECK(file != NULL); RceQueryRefuseReceiveWishItem_descriptor_ = file->message_type(0); static const int RceQueryRefuseReceiveWishItem_offsets_[9] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceQueryRefuseReceiveWishItem, type_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceQueryRefuseReceiveWishItem, name_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceQueryRefuseReceiveWishItem, playerid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceQueryRefuseReceiveWishItem, id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceQueryRefuseReceiveWishItem, guid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceQueryRefuseReceiveWishItem, planetid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceQueryRefuseReceiveWishItem, time_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceQueryRefuseReceiveWishItem, msg_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceQueryRefuseReceiveWishItem, url_), }; RceQueryRefuseReceiveWishItem_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( RceQueryRefuseReceiveWishItem_descriptor_, RceQueryRefuseReceiveWishItem::default_instance_, RceQueryRefuseReceiveWishItem_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceQueryRefuseReceiveWishItem, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RceQueryRefuseReceiveWishItem, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(RceQueryRefuseReceiveWishItem)); }
int UnescapeCEscapeString(const string& src, string* dest, vector<string> *errors) { scoped_array<char> unescaped(new char[src.size() + 1]); int len = UnescapeCEscapeSequences(src.c_str(), unescaped.get(), errors); GOOGLE_CHECK(dest); dest->assign(unescaped.get(), len); return len; }
void protobuf_AssignDesc_baidu_2frpc_2fserialized_5frequest_2eproto() { protobuf_AddDesc_baidu_2frpc_2fserialized_5frequest_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "baidu/rpc/serialized_request.proto"); GOOGLE_CHECK(file != NULL); SerializedRequest_descriptor_ = file->message_type(0); }
void protobuf_AssignDesc_GameProtocol_2eMsgID_2eproto() { protobuf_AddDesc_GameProtocol_2eMsgID_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "GameProtocol.MsgID.proto"); GOOGLE_CHECK(file != NULL); ProtocolMsgID_descriptor_ = file->enum_type(0); }
off_t RemoteCopyingFile::seek(size_t position, int whence) { GOOGLE_CHECK(!_is_closed); if (!_previous_seek_failed) { off_t res = fscalls->lseek(_fileno, position, whence); if (res == (off_t)-1) _previous_seek_failed = true; return res; } return false; }
void protobuf_AssignDesc_RseObtainAskForHelp_2eproto() { protobuf_AddDesc_RseObtainAskForHelp_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "RseObtainAskForHelp.proto"); GOOGLE_CHECK(file != NULL); RseObtainAskForHelp_descriptor_ = file->message_type(0); static const int RseObtainAskForHelp_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseObtainAskForHelp, items_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseObtainAskForHelp, units_), }; RseObtainAskForHelp_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( RseObtainAskForHelp_descriptor_, RseObtainAskForHelp::default_instance_, RseObtainAskForHelp_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseObtainAskForHelp, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseObtainAskForHelp, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(RseObtainAskForHelp)); Items_descriptor_ = file->message_type(1); static const int Items_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Items, ret_), }; Items_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( Items_descriptor_, Items::default_instance_, Items_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Items, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Items, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(Items)); Units_descriptor_ = file->message_type(2); static const int Units_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Units, ret_), }; Units_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( Units_descriptor_, Units::default_instance_, Units_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Units, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Units, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(Units)); }
char *FastHexToBuffer(int i, char* buffer) { GOOGLE_CHECK(i >= 0) << "FastHexToBuffer() wants non-negative integers, not " << i; static const char *hexdigits = "0123456789abcdef"; char *p = buffer + 21; *p-- = '\0'; do { *p-- = hexdigits[i & 15]; // mod by 16 i >>= 4; // divide by 16 } while (i > 0); return p + 1; }
void protobuf_AssignDesc_msg_2fShutdown_2eproto() { protobuf_AddDesc_msg_2fShutdown_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "msg/Shutdown.proto"); GOOGLE_CHECK(file != NULL); Shutdown_descriptor_ = file->message_type(0); static const int Shutdown_offsets_[1] = { }; Shutdown_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( Shutdown_descriptor_, Shutdown::default_instance_, Shutdown_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Shutdown, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Shutdown, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(Shutdown)); Shutdown_Req_descriptor_ = Shutdown_descriptor_->nested_type(0); static const int Shutdown_Req_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Shutdown_Req, code_), }; Shutdown_Req_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( Shutdown_Req_descriptor_, Shutdown_Req::default_instance_, Shutdown_Req_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Shutdown_Req, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Shutdown_Req, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(Shutdown_Req)); Shutdown_Res_descriptor_ = Shutdown_descriptor_->nested_type(1); static const int Shutdown_Res_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Shutdown_Res, code_), }; Shutdown_Res_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( Shutdown_Res_descriptor_, Shutdown_Res::default_instance_, Shutdown_Res_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Shutdown_Res, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Shutdown_Res, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(Shutdown_Res)); }
void protobuf_AssignDesc_RseObtainNeighborsList_2eproto() { protobuf_AddDesc_RseObtainNeighborsList_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "RseObtainNeighborsList.proto"); GOOGLE_CHECK(file != NULL); MsgNeighbor_descriptor_ = file->message_type(0); static const int MsgNeighbor_offsets_[13] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgNeighbor, platform_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgNeighbor, accountid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgNeighbor, score_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgNeighbor, xp_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgNeighbor, extid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgNeighbor, url_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgNeighbor, name_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgNeighbor, isneighbor_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgNeighbor, levelbasedonscore_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgNeighbor, wishlist_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgNeighbor, damageprotectiontimeleft_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgNeighbor, tutorialcompleted_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgNeighbor, neighbor_), }; MsgNeighbor_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( MsgNeighbor_descriptor_, MsgNeighbor::default_instance_, MsgNeighbor_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgNeighbor, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgNeighbor, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(MsgNeighbor)); RseObtainNeighborsList_descriptor_ = file->message_type(1); static const int RseObtainNeighborsList_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseObtainNeighborsList, neighborlist_), }; RseObtainNeighborsList_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( RseObtainNeighborsList_descriptor_, RseObtainNeighborsList::default_instance_, RseObtainNeighborsList_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseObtainNeighborsList, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseObtainNeighborsList, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(RseObtainNeighborsList)); }
int RemoteCopyingFile::Read(void* buffer, int size) { GOOGLE_CHECK(!_is_closed); int result; do { result = fscalls->read(_fileno, buffer, size); } while (result < 0 && fscalls->last_errno() == EINTR); if (result < 0) { // Read error (not EOF). _errno = fscalls->last_errno(); } _position += size; return result; }
void protobuf_AssignDesc_CHHashFileVSalted_2eproto() { protobuf_AddDesc_CHHashFileVSalted_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "CHHashFileVSalted.proto"); GOOGLE_CHECK(file != NULL); MFNHashFileSaltedProtobuf_descriptor_ = file->message_type(0); static const int MFNHashFileSaltedProtobuf_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MFNHashFileSaltedProtobuf, hash_length_bytes_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MFNHashFileSaltedProtobuf, salt_length_bytes_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MFNHashFileSaltedProtobuf, salted_hash_value_), }; MFNHashFileSaltedProtobuf_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( MFNHashFileSaltedProtobuf_descriptor_, MFNHashFileSaltedProtobuf::default_instance_, MFNHashFileSaltedProtobuf_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MFNHashFileSaltedProtobuf, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MFNHashFileSaltedProtobuf, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(MFNHashFileSaltedProtobuf)); MFNHashFileSaltedProtobuf_SaltedHash_descriptor_ = MFNHashFileSaltedProtobuf_descriptor_->nested_type(0); static const int MFNHashFileSaltedProtobuf_SaltedHash_offsets_[8] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MFNHashFileSaltedProtobuf_SaltedHash, hash_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MFNHashFileSaltedProtobuf_SaltedHash, salt_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MFNHashFileSaltedProtobuf_SaltedHash, iteration_count_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MFNHashFileSaltedProtobuf_SaltedHash, other_data_1_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MFNHashFileSaltedProtobuf_SaltedHash, other_data_2_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MFNHashFileSaltedProtobuf_SaltedHash, other_data_3_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MFNHashFileSaltedProtobuf_SaltedHash, other_data_4_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MFNHashFileSaltedProtobuf_SaltedHash, other_data_5_), }; MFNHashFileSaltedProtobuf_SaltedHash_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( MFNHashFileSaltedProtobuf_SaltedHash_descriptor_, MFNHashFileSaltedProtobuf_SaltedHash::default_instance_, MFNHashFileSaltedProtobuf_SaltedHash_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MFNHashFileSaltedProtobuf_SaltedHash, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MFNHashFileSaltedProtobuf_SaltedHash, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(MFNHashFileSaltedProtobuf_SaltedHash)); }
bool RemoteCopyingFile::Close() { GOOGLE_CHECK(!_is_closed); _is_closed = true; int result; do { result = fscalls->close(_fileno); } while (result < 0 && fscalls->last_errno() == EINTR); if (result != 0) { // The docs on close() do not specify whether a file descriptor is still // open after close() fails with EIO. However, the glibc source code // seems to indicate that it is not. _errno = fscalls->last_errno(); return false; } return true; }
int RemoteCopyingFile::Skip(int count) { GOOGLE_CHECK(!_is_closed); _position += count; if (!_previous_seek_failed && fscalls->lseek(_fileno, count, SEEK_CUR) != (off_t)-1) { // Seek succeeded. return count; } else { // Failed to seek. // Note to self: Don't seek again. This file descriptor doesn't // support it. _previous_seek_failed = true; // Use the default implementation. return CopyingInputStream::Skip(count); } }
void protobuf_AssignDesc_RseObtainSocialItems_2eproto() { protobuf_AddDesc_RseObtainSocialItems_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "RseObtainSocialItems.proto"); GOOGLE_CHECK(file != NULL); MsgItem_descriptor_ = file->message_type(0); static const int MsgItem_offsets_[7] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgItem, sku_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgItem, position_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgItem, item_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgItem, sequence_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgItem, counter_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgItem, quantity_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgItem, timeleft_), }; MsgItem_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( MsgItem_descriptor_, MsgItem::default_instance_, MsgItem_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgItem, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgItem, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(MsgItem)); RseObtainSocialItems_descriptor_ = file->message_type(1); static const int RseObtainSocialItems_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseObtainSocialItems, wishlist_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseObtainSocialItems, itemslist_), }; RseObtainSocialItems_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( RseObtainSocialItems_descriptor_, RseObtainSocialItems::default_instance_, RseObtainSocialItems_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseObtainSocialItems, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseObtainSocialItems, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(RseObtainSocialItems)); }
void protobuf_AssignDesc_FriendInfoLite_2eproto() { protobuf_AddDesc_FriendInfoLite_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "FriendInfoLite.proto"); GOOGLE_CHECK(file != NULL); FriendInfoLite_descriptor_ = file->message_type(0); static const int FriendInfoLite_offsets_[23] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, baseid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, first_name_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, pic_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, lvl_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, is_yellow_vip_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, is_yellow_year_vip_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, yellow_vip_level_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, totalpercharge_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, lastlogontime_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, qqdmdlvl_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, isqqdmd_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, isqqdmdyear_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, sameregion_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, platid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, finishcapturetm_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, is_sumptuous_yellow_vip_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, viplevel_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, viptype_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, qhalldmdlvl_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, isqhalldmd_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, isqhalldmdyear_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, ishighqhalldmd_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, ishighqhalldmeyear_), }; FriendInfoLite_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( FriendInfoLite_descriptor_, FriendInfoLite::default_instance_, FriendInfoLite_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FriendInfoLite, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(FriendInfoLite)); }
void protobuf_AssignDesc_mkd_2eproto() { protobuf_AddDesc_mkd_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "mkd.proto"); GOOGLE_CHECK(file != NULL); PriceInfo_descriptor_ = file->message_type(0); static const int PriceInfo_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PriceInfo, price_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PriceInfo, size_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PriceInfo, side_), }; PriceInfo_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( PriceInfo_descriptor_, PriceInfo::default_instance_, PriceInfo_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PriceInfo, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PriceInfo, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(PriceInfo)); MktData_descriptor_ = file->message_type(1); static const int MktData_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MktData, secu_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MktData, instrument_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MktData, quotes_), }; MktData_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( MktData_descriptor_, MktData::default_instance_, MktData_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MktData, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MktData, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(MktData)); Side_descriptor_ = file->enum_type(0); }
void protobuf_AssignDesc_matches_2eproto() { protobuf_AddDesc_matches_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "matches.proto"); GOOGLE_CHECK(file != NULL); DMatches_descriptor_ = file->message_type(0); static const int DMatches_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DMatches, queryidx_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DMatches, trainidx_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DMatches, imgidx_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DMatches, distance_), }; DMatches_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( DMatches_descriptor_, DMatches::default_instance_, DMatches_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DMatches, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DMatches, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(DMatches)); MatchesProto_descriptor_ = file->message_type(1); static const int MatchesProto_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MatchesProto, imagelseq_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MatchesProto, imagerseq_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MatchesProto, matches_), }; MatchesProto_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( MatchesProto_descriptor_, MatchesProto::default_instance_, MatchesProto_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MatchesProto, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MatchesProto, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(MatchesProto)); }
void protobuf_AssignDesc_RseHeartbeat_2eproto() { protobuf_AddDesc_RseHeartbeat_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "RseHeartbeat.proto"); GOOGLE_CHECK(file != NULL); RseHeartbeat_descriptor_ = file->message_type(0); static const int RseHeartbeat_offsets_[1] = { }; RseHeartbeat_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( RseHeartbeat_descriptor_, RseHeartbeat::default_instance_, RseHeartbeat_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseHeartbeat, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseHeartbeat, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(RseHeartbeat)); }
GzipInputStream::GzipInputStream( ZeroCopyInputStream* sub_stream, Format format, int buffer_size) : format_(format), sub_stream_(sub_stream), zerror_(Z_OK) { zcontext_.zalloc = Z_NULL; zcontext_.zfree = Z_NULL; zcontext_.opaque = Z_NULL; zcontext_.total_out = 0; zcontext_.next_in = NULL; zcontext_.avail_in = 0; zcontext_.total_in = 0; zcontext_.msg = NULL; if (buffer_size == -1) { output_buffer_length_ = kDefaultBufferSize; } else { output_buffer_length_ = buffer_size; } output_buffer_ = operator new(output_buffer_length_); GOOGLE_CHECK(output_buffer_ != NULL); zcontext_.next_out = static_cast<Bytef*>(output_buffer_); zcontext_.avail_out = output_buffer_length_; output_position_ = output_buffer_; }
void protobuf_AssignDesc_RseObtainSocialUserInfo_2eproto() { protobuf_AddDesc_RseObtainSocialUserInfo_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "RseObtainSocialUserInfo.proto"); GOOGLE_CHECK(file != NULL); MsgSocialUserInfo_descriptor_ = file->message_type(0); static const int MsgSocialUserInfo_offsets_[1] = { }; MsgSocialUserInfo_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( MsgSocialUserInfo_descriptor_, MsgSocialUserInfo::default_instance_, MsgSocialUserInfo_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgSocialUserInfo, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MsgSocialUserInfo, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(MsgSocialUserInfo)); RseObtainSocialUserInfo_descriptor_ = file->message_type(1); static const int RseObtainSocialUserInfo_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseObtainSocialUserInfo, name_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseObtainSocialUserInfo, photourl_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseObtainSocialUserInfo, fan_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseObtainSocialUserInfo, socialuserinfo_), }; RseObtainSocialUserInfo_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( RseObtainSocialUserInfo_descriptor_, RseObtainSocialUserInfo::default_instance_, RseObtainSocialUserInfo_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseObtainSocialUserInfo, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(RseObtainSocialUserInfo, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(RseObtainSocialUserInfo)); }