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

Function FindHashFunction64

native/thirdpart/flatbuffers/hash.h:114–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114inline NamedHashFunction<uint64_t>::HashFunction FindHashFunction64(
115 const char *name) {
116 std::size_t size = sizeof(kHashFunctions64) / sizeof(kHashFunctions64[0]);
117 for (std::size_t i = 0; i < size; ++i) {
118 if (std::strcmp(name, kHashFunctions64[i].name) == 0) {
119 return kHashFunctions64[i].function;
120 }
121 }
122 return nullptr;
123}
124
125} // namespace flatbuffers
126

Callers 2

ParseFieldMethod · 0.85
ParseHashMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected