MCPcopy Index your code
hub / github.com/ContentSquare/chproxy / newScopeID

Function newScopeID

scope.go:31–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31func newScopeID() scopeID {
32 sid := atomic.AddUint64(&nextScopeID, 1)
33 return scopeID(sid)
34}
35
36var nextScopeID = uint64(time.Now().UnixNano())
37

Callers 4

newScopeFunction · 0.85
TestRunningQueriesFunction · 0.85
TestDecorateRequestFunction · 0.85
testGetScopeFunction · 0.85

Calls 1

scopeIDTypeAlias · 0.85

Tested by 3

TestRunningQueriesFunction · 0.68
TestDecorateRequestFunction · 0.68
testGetScopeFunction · 0.68