Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ GetUniqueId
Function
GetUniqueId
tensorflow/compiler/xla/service/compilation_cache.cc:30–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
namespace {
29
30
int64 GetUniqueId() {
31
static tensorflow::mutex mu(tensorflow::LINKER_INITIALIZED);
32
static int64 counter = 0;
33
tensorflow::mutex_lock loc(mu);
34
const int64 id = counter++;
35
return id;
36
}
37
38
} // namespace
39
Callers
2
TEST_F
Function · 0.85
Insert
Method · 0.85
Calls
no outgoing calls
Tested by
1
TEST_F
Function · 0.68