Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ newId
Method
newId
valdi_core/src/valdi_core/cpp/Utils/SequenceIDGenerator.cpp:60–62 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
58
}
59
60
SequenceID SequenceIDGenerator::newId() {
61
return SequenceID(nextIndex(), nextSalt());
62
}
63
64
void SequenceIDGenerator::releaseId(SequenceID id) {
65
_freeIndexes.emplace_back(id.getIndex());
Callers
4
makeRef
Method · 0.45
TEST
Function · 0.45
storeObject
Method · 0.45
stashJSValue
Method · 0.45
Calls
1
SequenceID
Class · 0.85
Tested by
1
TEST
Function · 0.36