Home
last modified time | relevance | path

Searched refs:Type (Results 1 – 25 of 30) sorted by relevance

12

/rocksdb-6.9/db/blob/
Dblob_index.h46 enum class Type : unsigned char { enum
53 BlobIndex() : type_(Type::kUnknown) {} in BlobIndex()
55 bool IsInlined() const { return type_ == Type::kInlinedTTL; } in IsInlined()
58 return type_ == Type::kInlinedTTL || type_ == Type::kBlobTTL; in HasTTL()
89 type_ = static_cast<Type>(*slice.data()); in DecodeFrom()
90 if (type_ >= Type::kUnknown) { in DecodeFrom()
136 dst->push_back(static_cast<char>(Type::kInlinedTTL)); in EncodeInlinedTTL()
147 dst->push_back(static_cast<char>(Type::kBlob)); in EncodeBlob()
160 dst->push_back(static_cast<char>(Type::kBlobTTL)); in EncodeBlobTTL()
169 Type type_ = Type::kUnknown;
/rocksdb-6.9/tools/advisor/test/
Dtest_db_bench_runner.py125 data_sources[DataSource.Type.DB_OPTIONS][0].type,
126 DataSource.Type.DB_OPTIONS
129 data_sources[DataSource.Type.LOG][0].type,
130 DataSource.Type.LOG
132 self.assertEqual(len(data_sources[DataSource.Type.TIME_SERIES]), 2)
134 data_sources[DataSource.Type.TIME_SERIES][0].type,
135 DataSource.Type.TIME_SERIES
138 data_sources[DataSource.Type.TIME_SERIES][1].type,
139 DataSource.Type.TIME_SERIES
142 data_sources[DataSource.Type.TIME_SERIES][1].stats_freq_sec, 0
Dtest_rule_parser.py56 DataSource.Type.DB_OPTIONS: [db_options_parser],
57 DataSource.Type.LOG: [db_logs_parser]
82 if cond.get_data_source() is DataSource.Type.TIME_SERIES:
113 DataSource.Type.DB_OPTIONS: [db_options_parser],
114 DataSource.Type.LOG: [db_logs_parser]
/rocksdb-6.9/include/rocksdb/utilities/
Dobject_registry.h76 AddEntry(T::Type(), entry); in Register()
115 const auto* basic = FindEntry(T::Type(), target); in NewObject()
121 *errmsg = std::string("Could not load ") + T::Type(); in NewObject()
142 T::Type() + " from unguarded one ", in NewUniqueObject()
165 T::Type() + " from unguarded one ", in NewSharedObject()
184 T::Type() + " from a guarded one ", in NewStaticObject()
/rocksdb-6.9/tools/advisor/advisor/
Drule_parser_example.py29 DataSource.Type.DB_OPTIONS: [db_options],
30 DataSource.Type.LOG: [db_logs],
31 DataSource.Type.TIME_SERIES: [db_log_stats]
34 data_sources[DataSource.Type.TIME_SERIES].append(OdsStatsFetcher(
Drule_parser.py133 condition1.get_data_source() is DataSource.Type.TIME_SERIES and
134 condition2.get_data_source() is DataSource.Type.TIME_SERIES
169 cond.get_data_source() is DataSource.Type.LOG or
170 cond.get_data_source() is DataSource.Type.DB_OPTIONS
178 elif cond.get_data_source() is DataSource.Type.TIME_SERIES:
319 base_condition.set_data_source(DataSource.Type['LOG'])
343 base_condition.set_data_source(DataSource.Type['DB_OPTIONS'])
375 base_condition.set_data_source(DataSource.Type['TIME_SERIES'])
Ddb_bench_runner.py228 DataSource.Type.DB_OPTIONS: [db_options],
229 DataSource.Type.LOG: [db_logs],
230 DataSource.Type.TIME_SERIES: [db_log_stats, db_perf_context]
237 data_sources[DataSource.Type.TIME_SERIES].append(OdsStatsFetcher(
Ddb_log_parser.py18 class Type(Enum): class in DataSource
90 super().__init__(DataSource.Type.LOG)
Ddb_timeseries_parser.py28 super().__init__(DataSource.Type.TIME_SERIES)
Ddb_options_parser.py123 super().__init__(DataSource.Type.DB_OPTIONS)
/rocksdb-6.9/db/compaction/
Dcompaction_iterator_test.cc92 enum class Type { enum
98 Type type;
101 explicit Action(Type _type, std::string _arg = "") in Action()
118 log.emplace_back(Action::Type::SEEK_TO_FIRST); in SeekToFirst()
124 log.emplace_back(Action::Type::SEEK, target.ToString()); in Seek()
133 log.emplace_back(Action::Type::NEXT); in Next()
471 using T = A::Type; in TEST_P()
/rocksdb-6.9/include/rocksdb/
Dtransaction_log.h47 virtual WalFileType Type() const = 0;
Dcomparator.h40 static const char* Type() { return "Comparator"; } in Type() function
Dmerge_operator.h49 static const char* Type() { return "MergeOperator"; } in Type() function
Dstatistics.h487 static const char* Type() { return "Statistics"; } in Type() function
Dfile_system.h164 static const char* Type() { return "FileSystem"; } in Type() function
/rocksdb-6.9/db/
Dtransaction_log_impl.h41 WalFileType Type() const override { return type_; } in Type() function
Ddeletefile_test.cc460 ASSERT_EQ(alive_log->Type(), kAliveLogFile); in TEST_F()
478 ASSERT_EQ(archived_log->Type(), kArchivedLogFile); in TEST_F()
Dtransaction_log_impl.cc50 if (log_file->Type() == kArchivedLogFile) { in OpenLogFile()
Ddb_wal_test.cc627 ASSERT_EQ(log_file->Type(), kAliveLogFile); in TEST_F()
639 ASSERT_EQ(log_file->Type(), kAliveLogFile); in TEST_F()
658 ASSERT_EQ(log_file->Type(), kAliveLogFile); in TEST_F()
/rocksdb-6.9/third-party/folly/folly/synchronization/
DDistributedMutex-inl.h722 template <typename Type>
723 Type* extractPtr(std::uintptr_t from) {
730 return folly::bit_cast<Type*>(from & mask);
/rocksdb-6.9/docs/_sass/
D_syntax-highlighting.scss32 .rougeHighlight .kt { color: #dc322f } /* Keyword.Type */
/rocksdb-6.9/third-party/gtest-1.8.1/fused-src/gtest/
Dgtest-all.cc175 TestPartResult::Type type, const std::string& substr);
179 const TestPartResult::Type type_;
1860 AssertHelper::AssertHelper(TestPartResult::Type type, in AssertHelper()
2138 TestPartResult::Type type, in HasOneFailure()
2174 TestPartResult::Type type, in SingleFailureChecker()
3747 void ReportFailureInUnknownLocation(TestPartResult::Type result_type, in ReportFailureInUnknownLocation()
4819 #define GTEST_REPEATER_METHOD_(Name, Type) \ argument
4820 void TestEventRepeater::Name(const Type& parameter) { \
4829 #define GTEST_REVERSE_REPEATER_METHOD_(Name, Type) \ argument
4830 void TestEventRepeater::Name(const Type& parameter) { \
[all …]
/rocksdb-6.9/utilities/checkpoint/
Dcheckpoint_impl.cc310 if ((live_wal_files[i]->Type() == kAliveLogFile) && in CreateCustomCheckpoint()
/rocksdb-6.9/env/
Denv.cc67 s = Status::NotFound(std::string("Cannot load ") + Env::Type() + ": " + in LoadEnv()

12