MCPcopy Create free account
hub / github.com/Tencent/phxsql / MmapLeakyBucket

Method MmapLeakyBucket

phxsqlclient/utils/leakybucket.cpp:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19namespace phxsql {
20
21MmapLeakyBucket::MmapLeakyBucket() {
22 m_poLock = NULL;
23 memset(&m_tConfig, 0, sizeof(m_tConfig));
24 m_ptBucket = NULL;
25}
26
27MmapLeakyBucket::~MmapLeakyBucket() {
28 if (NULL != m_poLock)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected