Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ getSalt
Method
getSalt
valdi_core/src/valdi_core/cpp/Utils/SequenceIDGenerator.cpp:23–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
}
22
23
uint32_t SequenceID::getSalt() const {
24
return _salt;
25
}
26
27
uint64_t SequenceID::getId() const {
28
return static_cast<uint64_t>(_salt) << 32 | static_cast<uint64_t>(_index);
Callers
4
checkEntry
Method · 0.80
TEST
Function · 0.80
stashJSValue
Method · 0.80
doGetStashedJSValue
Method · 0.80
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.64