MCPcopy Create free account
hub / github.com/acl-dev/acl / Clear

Method Clear

lib_rpc/samples/test.pb.cpp:147–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147void Person_PhoneNumber::Clear() {
148 if (_has_bits_[0 / 32] & 3) {
149 if (has_number()) {
150 if (number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
151 number_->clear();
152 }
153 }
154 type_ = 1;
155 }
156 ::memset(_has_bits_, 0, sizeof(_has_bits_));
157 mutable_unknown_fields()->clear();
158}
159
160bool Person_PhoneNumber::MergePartialFromCodedStream(
161 ::google::protobuf::io::CodedInputStream* input) {

Callers 6

fFunction · 0.45
drawFunction · 0.45
clear_phoneMethod · 0.45
clear_personMethod · 0.45
handle_oneFunction · 0.45
mainFunction · 0.45

Calls 2

mutable_unknown_fieldsFunction · 0.50
clearMethod · 0.45

Tested by

no test coverage detected