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

Method Distance

native/thirdpart/flatbuffers/idl_parser.cpp:2109–2112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2107}
2108
2109uint64_t EnumDef::Distance(const EnumVal *v1, const EnumVal *v2) const {
2110 return IsUInt64() ? EnumDistanceImpl(v1->GetAsUInt64(), v2->GetAsUInt64())
2111 : EnumDistanceImpl(v1->GetAsInt64(), v2->GetAsInt64());
2112}
2113
2114std::string EnumDef::AllFlags() const {
2115 FLATBUFFERS_ASSERT(attributes.Lookup("bit_flags"));

Callers

nothing calls this directly

Calls 3

EnumDistanceImplFunction · 0.85
GetAsUInt64Method · 0.80
GetAsInt64Method · 0.80

Tested by

no test coverage detected