Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
39
struct 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
Legacy64ExactMatch
Function · 0.45
Legacy64PrefixSearch
Function · 0.45
ValidateLegacy64
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected