Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ Match
Function
Match
tensorflow/core/framework/hash_table/hash_table.cc:574–576 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
572
constexpr int64 kIndexBase = 0xFFFFFFFFFFFFF;
573
574
bool Match(int64 key, int64 index) {
575
return (key >> kIndexLen) == index;
576
}
577
578
int64 Encode(int64 key, int64 index) {
579
return (key & kIndexBase) | (index << kIndexLen);
Callers
1
ChildSnapshot
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected