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

Method Seek

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

Source from the content-addressed store, hash-verified

38
39 private:
40 void Seek(MDB_cursor_op op) {
41 int mdb_status = mdb_cursor_get(mdb_cursor_, &mdb_key_, &mdb_value_, op);
42 if (mdb_status == MDB_NOTFOUND) {
43 valid_ = false;
44 } else {
45 MDB_CHECK(mdb_status);
46 valid_ = true;
47 }
48 }
49
50 MDB_txn* mdb_txn_;
51 MDB_cursor* mdb_cursor_;

Callers

nothing calls this directly

Calls 1

MDB_CHECKFunction · 0.85

Tested by

no test coverage detected