Home
last modified time | relevance | path

Searched refs:Get (Results 1 – 19 of 19) sorted by relevance

/leveldb-1.20/db/
H A Drecovery_test.cc169 ASSERT_EQ("bar", Get("foo")); in TEST()
172 ASSERT_EQ("bar", Get("foo")); in TEST()
199 ASSERT_EQ("bar", Get("foo")); in TEST()
203 ASSERT_EQ("bar", Get("foo")); in TEST()
270 ASSERT_EQ(buf, Get(buf)); in TEST()
291 ASSERT_EQ("bar2", Get("foo")); in TEST()
293 ASSERT_EQ("there", Get("hi")); in TEST()
302 ASSERT_EQ("bar2", Get("foo")); in TEST()
304 ASSERT_EQ("there", Get("hi")); in TEST()
315 ASSERT_EQ("bar2", Get("foo")); in TEST()
[all …]
H A Ddb_test.cc521 ASSERT_EQ("v1", Get("foo")); in TEST()
524 ASSERT_EQ("v3", Get("foo")); in TEST()
525 ASSERT_EQ("v2", Get("bar")); in TEST()
532 ASSERT_EQ("v1", Get("foo")); in TEST()
631 ASSERT_EQ("va", Get("a")); in TEST()
632 ASSERT_EQ("vf", Get("f")); in TEST()
633 ASSERT_EQ("vx", Get("x")); in TEST()
1561 ASSERT_EQ("v1", Get("foo")); in TEST()
1606 ASSERT_EQ("v1", Get("k1")); in TEST()
1611 ASSERT_EQ("v1", Get("k1")); in TEST()
[all …]
H A Dcorruption_test.cc289 ASSERT_OK(db_->Get(ReadOptions(), "foo", &v)); in TEST()
294 ASSERT_OK(db_->Get(ReadOptions(), "foo", &v)); in TEST()
297 ASSERT_OK(db_->Get(ReadOptions(), "foo", &v)); in TEST()
314 ASSERT_OK(db_->Get(ReadOptions(), "foo", &v)); in TEST()
363 ASSERT_OK(db_->Get(ReadOptions(), Key(1000, &tmp1), &v)); in TEST()
366 ASSERT_OK(db_->Get(ReadOptions(), Key(1000, &tmp1), &v)); in TEST()
H A Dskiplist_test.cc193 intptr_t Get(int k) { in Get() function
219 const intptr_t g = current_.Get(k) + 1; in WriteStep()
229 initial_state.Set(k, current_.Get(k)); in ReadStep()
253 (gen(pos) > static_cast<Key>(initial_state.Get(key(pos)))) in ReadStep()
257 << initial_state.Get(key(pos)); in ReadStep()
H A Dtable_cache.h40 Status Get(const ReadOptions& options,
H A Dmemtable.h61 bool Get(const LookupKey& key, std::string* value, Status* s);
H A Dtable_cache.cc105 Status TableCache::Get(const ReadOptions& options, in Get() function in leveldb::TableCache
H A Dmemtable.cc108 bool MemTable::Get(const LookupKey& key, std::string* value, Status* s) { in Get() function in leveldb::MemTable
H A Ddb_impl.h35 virtual Status Get(const ReadOptions& options,
H A Dversion_set.h73 Status Get(const ReadOptions&, const LookupKey& key, std::string* val,
H A Ddb_bench.cc808 if (db_->Get(options, key, &value).ok()) { in ReadRandom()
825 db_->Get(options, key, &value); in ReadMissing()
838 db_->Get(options, key, &value); in ReadHot()
H A Ddb_impl.cc1109 Status DBImpl::Get(const ReadOptions& options, in Get() function in leveldb::DBImpl
1136 if (mem->Get(lkey, value, &s)) { in Get()
1138 } else if (imm != NULL && imm->Get(lkey, value, &s)) { in Get()
1141 s = current->Get(options, lkey, value, &stats); in Get()
H A Dfault_injection_test.cc411 return db_->Get(options, key, val); in ReadValue()
H A Dc.cc205 Status s = db->rep->Get(options->rep, Slice(key, keylen), &tmp); in leveldb_get()
H A Dversion_set.cc332 Status Version::Get(const ReadOptions& options, in Get() function in leveldb::Version
408 s = vset_->table_cache_->Get(options, f->number, f->file_size, in Get()
/leveldb-1.20/include/leveldb/
H A Ddb.h83 virtual Status Get(const ReadOptions& options,
/leveldb-1.20/helpers/memenv/
H A Dmemenv_test.cc210 ASSERT_OK(db->Get(ReadOptions(), keys[i], &res)); in TEST()
230 ASSERT_OK(db->Get(ReadOptions(), keys[i], &res)); in TEST()
/leveldb-1.20/doc/
H A Dindex.md58 The database provides Put, Delete, and Get methods to modify/query the database.
63 leveldb::Status s = db->Get(leveldb::ReadOptions(), key1, &value);
78 leveldb::Status s = db->Get(leveldb::ReadOptions(), key1, &value);
137 iterators or call Get on the same database without any external synchronization
394 Because of the way leveldb data is organized on disk, a single `Get()` call may
412 unnecessary disk reads needed for Get() calls by a factor of approximately
/leveldb-1.20/
H A DREADME.md11 * The basic operations are `Put(key,value)`, `Get(key)`, `Delete(key)`.