Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/bolt
/ serial
Function
serial
bolt/examples/VectorReaderWriter.cpp:46–49 ·
view source on GitHub ↗
produce serial number for each call
Source
from the content-addressed store, hash-verified
44
namespace {
45
// produce serial number for each call
46
auto serial() {
47
static int64_t n = 0;
48
return n++;
49
}
50
} // namespace
51
52
int main() {
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected