MCPcopy 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

28class Singleton {
29 public:
30 static T* Instance() {
31 static T data_;
32 return &data_;
33 }
34};
35
36/// Thread Specific Singleton

Callers 3

InitChannelFunction · 0.80
SetChannelDirectoryFunction · 0.80
GetChannelFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected