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

Function FindHashFunction16

native/thirdpart/flatbuffers/hash.h:92–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90};
91
92inline NamedHashFunction<uint16_t>::HashFunction FindHashFunction16(
93 const char *name) {
94 std::size_t size = sizeof(kHashFunctions16) / sizeof(kHashFunctions16[0]);
95 for (std::size_t i = 0; i < size; ++i) {
96 if (std::strcmp(name, kHashFunctions16[i].name) == 0) {
97 return kHashFunctions16[i].function;
98 }
99 }
100 return nullptr;
101}
102
103inline NamedHashFunction<uint32_t>::HashFunction FindHashFunction32(
104 const char *name) {

Callers 2

ParseFieldMethod · 0.85
ParseHashMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected