MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / has_leaf

Method has_leaf

src/DartsDict.cpp:41–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39struct LegacyUnit64 {
40 uint64_t unit;
41 bool has_leaf() const { return ((unit >> 8) & 1) == 1; }
42 int value() const {
43 return static_cast<int>(unit & ((1U << 31) - 1));
44 }

Callers 3

Legacy64ExactMatchFunction · 0.45
Legacy64PrefixSearchFunction · 0.45
ValidateLegacy64Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected