Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ Instance
Method
Instance
include/singa/utils/singleton.h:30–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
class Singleton {
29
public:
30
static T* Instance() {
31
static T data_;
32
return &data_;
33
}
34
};
35
36
/// Thread Specific Singleton
Callers
3
InitChannel
Function · 0.80
SetChannelDirectory
Function · 0.80
GetChannel
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected