Home
last modified time | relevance | path

Searched refs:hint (Results 1 – 16 of 16) sorted by relevance

/rocksdb-6.9/memtable/
Dskiplistrep.cc45 void InsertWithHint(KeyHandle handle, void** hint) override { in InsertWithHint() argument
46 skip_list_.InsertWithHint(static_cast<char*>(handle), hint); in InsertWithHint()
49 bool InsertKeyWithHint(KeyHandle handle, void** hint) override { in InsertKeyWithHint() argument
50 return skip_list_.InsertWithHint(static_cast<char*>(handle), hint); in InsertKeyWithHint()
53 void InsertWithHintConcurrently(KeyHandle handle, void** hint) override { in InsertWithHintConcurrently() argument
54 skip_list_.InsertWithHintConcurrently(static_cast<char*>(handle), hint); in InsertWithHintConcurrently()
57 bool InsertKeyWithHintConcurrently(KeyHandle handle, void** hint) override { in InsertKeyWithHintConcurrently() argument
59 hint); in InsertKeyWithHintConcurrently()
Dinlineskiplist.h109 bool InsertWithHint(const char* key, void** hint);
115 bool InsertWithHintConcurrently(const char* key, void** hint);
682 bool InlineSkipList<Comparator>::InsertWithHint(const char* key, void** hint) {
683 assert(hint != nullptr);
684 Splice* splice = reinterpret_cast<Splice*>(*hint);
687 *hint = reinterpret_cast<void*>(splice);
694 void** hint) {
695 assert(hint != nullptr);
696 Splice* splice = reinterpret_cast<Splice*>(*hint);
699 *hint = reinterpret_cast<void*>(splice);
Dinlineskiplist_test.cc73 bool InsertWithHint(TestInlineSkipList* list, Key key, void** hint) { in InsertWithHint() argument
76 bool res = list->InsertWithHint(buf, hint); in InsertWithHint()
220 void* hint = nullptr; in TEST_F() local
223 InsertWithHint(&list, key, &hint); in TEST_F()
421 void* hint = nullptr; in ConcurrentWriteStep() local
422 list_.InsertWithHintConcurrently(buf, &hint); in ConcurrentWriteStep()
423 delete[] reinterpret_cast<char*>(hint); in ConcurrentWriteStep()
/rocksdb-6.9/include/rocksdb/
Dmemtablerep.h118 virtual bool InsertKeyWithHint(KeyHandle handle, void** hint) { in InsertKeyWithHint() argument
119 InsertWithHint(handle, hint); in InsertKeyWithHint()
140 virtual bool InsertKeyWithHintConcurrently(KeyHandle handle, void** hint) { in InsertKeyWithHintConcurrently() argument
141 InsertWithHintConcurrently(handle, hint); in InsertKeyWithHintConcurrently()
Dfile_system.h784 virtual void SetWriteLifeTimeHint(Env::WriteLifeTimeHint hint) { in SetWriteLifeTimeHint() argument
785 write_hint_ = hint; in SetWriteLifeTimeHint()
1299 void SetWriteLifeTimeHint(Env::WriteLifeTimeHint hint) override { in SetWriteLifeTimeHint() argument
1300 target_->SetWriteLifeTimeHint(hint); in SetWriteLifeTimeHint()
Denv.h809 virtual void SetWriteLifeTimeHint(Env::WriteLifeTimeHint hint) { in SetWriteLifeTimeHint() argument
810 write_hint_ = hint; in SetWriteLifeTimeHint()
1487 void SetWriteLifeTimeHint(Env::WriteLifeTimeHint hint) override { in SetWriteLifeTimeHint() argument
1488 target_->SetWriteLifeTimeHint(hint); in SetWriteLifeTimeHint()
/rocksdb-6.9/db/
Ddb_memtable_test.cc34 void InsertWithHint(KeyHandle handle, void** hint) override { in InsertWithHint() argument
36 EXPECT_NE(nullptr, hint); in InsertWithHint()
37 last_hint_in_ = *hint; in InsertWithHint()
38 rep_->InsertWithHint(handle, hint); in InsertWithHint()
39 last_hint_out_ = *hint; in InsertWithHint()
Dmemtable.cc474 MemTablePostProcessInfo* post_process_info, void** hint) { in Add() argument
552 bool res = (hint == nullptr) in Add()
554 : table->InsertKeyWithHintConcurrently(handle, hint); in Add()
Dmemtable.h189 void** hint = nullptr);
/rocksdb-6.9/utilities/
Denv_librados.cc102 LibradosSequentialFile(librados::IoCtx * io_ctx, std::string fid, std::string hint): in LibradosSequentialFile() argument
103 _io_ctx(io_ctx), _fid(fid), _hint(hint), _offset(0) {} in LibradosSequentialFile()
186 LibradosRandomAccessFile(librados::IoCtx * io_ctx, std::string fid, std::string hint): in LibradosRandomAccessFile() argument
187 _io_ctx(io_ctx), _fid(fid), _hint(hint) {} in LibradosRandomAccessFile()
295 std::string hint, const EnvLibrados* const env, in LibradosWritableFile() argument
300 _hint(hint), in LibradosWritableFile()
/rocksdb-6.9/env/
Dio_posix.cc1275 void PosixWritableFile::SetWriteLifeTimeHint(Env::WriteLifeTimeHint hint) { in SetWriteLifeTimeHint() argument
1279 if (hint == write_hint_) { in SetWriteLifeTimeHint()
1282 if (fcntl(fd_, F_SET_RW_HINT, &hint) == 0) { in SetWriteLifeTimeHint()
1283 write_hint_ = hint; in SetWriteLifeTimeHint()
1286 (void)hint; in SetWriteLifeTimeHint()
1289 (void)hint; in SetWriteLifeTimeHint()
Dcomposite_env_wrapper.h156 void SetWriteLifeTimeHint(Env::WriteLifeTimeHint hint) override { in SetWriteLifeTimeHint() argument
157 target_->SetWriteLifeTimeHint(hint); in SetWriteLifeTimeHint()
746 void SetWriteLifeTimeHint(Env::WriteLifeTimeHint hint) override { in SetWriteLifeTimeHint() argument
747 target_->SetWriteLifeTimeHint(hint); in SetWriteLifeTimeHint()
Dio_posix.h253 virtual void SetWriteLifeTimeHint(Env::WriteLifeTimeHint hint) override;
/rocksdb-6.9/docs/_posts/
D2016-02-24-rocksdb-4-2-release.markdown32 …2. The need-compaction hint given by TablePropertiesCollector::NeedCompact() will be persistent an…
/rocksdb-6.9/
DCMakeCache.txt10 # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
DHISTORY.md837 * The need-compaction hint given by TablePropertiesCollector::NeedCompact() will be persistent and …