MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Seek

Method Seek

tensorflow/core/kernels/lmdb_reader_op.cc:98–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96
97 private:
98 bool Seek(MDB_cursor_op op) {
99 CHECK_NOTNULL(mdb_cursor_);
100 int mdb_status = mdb_cursor_get(mdb_cursor_, &mdb_key_, &mdb_value_, op);
101 if (mdb_status == MDB_NOTFOUND) {
102 return false;
103 } else {
104 MDB_CHECK(mdb_status);
105 return true;
106 }
107 }
108
109 MDB_env* mdb_env_;
110 MDB_dbi mdb_dbi_;

Callers 4

AllTensorKeysFunction · 0.45
RestoreInternalMethod · 0.45
RestoreInternalMethod · 0.45
RestoreInternalMethod · 0.45

Calls

no outgoing calls

Tested by 1

AllTensorKeysFunction · 0.36