MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / Add

Method Add

native/thirdpart/flatbuffers/idl.h:209–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207 }
208
209 bool Add(const std::string &name, T *e) {
210 vector_emplace_back(&vec, e);
211 auto it = dict.find(name);
212 if (it != dict.end()) return true;
213 dict[name] = e;
214 return false;
215 }
216
217 void Move(const std::string &oldname, const std::string &newname) {
218 auto it = dict.find(oldname);

Callers 11

AddFieldMethod · 0.80
ParseFieldMethod · 0.80
ParseMetaDataMethod · 0.80
LookupCreateStructMethod · 0.80
AcceptEnumeratorMethod · 0.80
ParseEnumMethod · 0.80
ParseDeclMethod · 0.80
ParseServiceMethod · 0.80
StartEnumMethod · 0.80
DeserializeMethod · 0.80
DeserializeAttributesMethod · 0.80

Calls 2

vector_emplace_backFunction · 0.85
endMethod · 0.45

Tested by

no test coverage detected