MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / Close

Method Close

rtpose_wrapper/include/caffe/util/db_lmdb.hpp:77–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 virtual ~LMDB() { Close(); }
76 virtual void Open(const string& source, Mode mode);
77 virtual void Close() {
78 if (mdb_env_ != NULL) {
79 mdb_dbi_close(mdb_env_, mdb_dbi_);
80 mdb_env_close(mdb_env_);
81 mdb_env_ = NULL;
82 }
83 }
84 virtual LMDBCursor* NewCursor();
85 virtual LMDBTransaction* NewTransaction();
86

Callers 5

TEST_FFunction · 0.45
FillMethod · 0.45
TestReshapeMethod · 0.45
TYPED_TESTFunction · 0.45

Calls

no outgoing calls

Tested by 4

TEST_FFunction · 0.36
FillMethod · 0.36
TestReshapeMethod · 0.36
TYPED_TESTFunction · 0.36