MCPcopy Create free account
hub / github.com/Selectively11/CloudRedirect / ServeCacheKey

Function ServeCacheKey

src/common/app_state.cpp:53–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51std::atomic<uint64_t> g_ownClientId{0};
52
53inline uint64_t ServeCacheKey(uint32_t accountId, uint32_t appId) {
54 return (static_cast<uint64_t>(accountId) << 32) | appId;
55}
56
57inline int64_t NowMs() {
58 using namespace std::chrono;

Callers 5

SetPendingPublishFunction · 0.85
WaitForPendingPublishFunction · 0.85
InvalidateServeCacheFunction · 0.85
RefreshServeCacheFunction · 0.85
FetchCloudStateForServeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected