MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getId

Method getId

valdi_core/src/valdi_core/cpp/Utils/SequenceIDGenerator.cpp:27–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27uint64_t SequenceID::getId() const {
28 return static_cast<uint64_t>(_salt) << 32 | static_cast<uint64_t>(_index);
29}
30
31uint32_t SequenceID::getIndex() const {
32 return _index;

Calls

no outgoing calls

Tested by

no test coverage detected