| /rocksdb-6.9/third-party/folly/folly/ |
| D | Optional.h | 59 template <class Value> 63 template <class Value> 84 template <class Value> 219 Value&>::type 252 Value& value() & { in value() 257 Value&& value() && { in value() 290 Value& operator*() & { 303 Value* operator->() { 368 Value value; 382 Value value; [all …]
|
| /rocksdb-6.9/tools/rdb/ |
| D | db_wrapper.h | 36 static Handle<Value> CompactOptions(const Arguments& args); 37 static Handle<Value> CompactAll(const Arguments& args); 41 static Handle<Value> Open(const Arguments& args); 42 static Handle<Value> New(const Arguments& args); 43 static Handle<Value> Get(const Arguments& args); 44 static Handle<Value> Put(const Arguments& args); 45 static Handle<Value> Delete(const Arguments& args); 46 static Handle<Value> Dump(const Arguments& args); 47 static Handle<Value> WriteBatch(const Arguments& args); 49 static Handle<Value> CompactRange(const Arguments& args); [all …]
|
| D | db_wrapper.cc | 76 Handle<Value> DBWrapper::Open(const Arguments& args) { in Open() 130 Handle<Value> DBWrapper::New(const Arguments& args) { in New() 132 Handle<Value> to_return; in New() 142 Local<Value> argv[0] = {}; in New() 147 Handle<Value> DBWrapper::Get(const Arguments& args) { in Get() 171 Handle<Value> v = db_wrapper->status_.ok() ? in Get() 177 Handle<Value> DBWrapper::Put(const Arguments& args) { in Put() 205 Handle<Value> DBWrapper::Delete(const Arguments& args) { in Delete() 231 Handle<Value> DBWrapper::Dump(const Arguments& args) { in Dump() 356 Handle<Value> DBWrapper::WriteBatch(const Arguments& args) { in WriteBatch() [all …]
|
| /rocksdb-6.9/util/ |
| D | crc32c_test.cc | 73 ASSERT_EQ(0x8a9136aaU, Value(buf, sizeof(buf))); in TEST() 76 ASSERT_EQ(0x62a8ab43U, Value(buf, sizeof(buf))); in TEST() 81 ASSERT_EQ(0x46dd794eU, Value(buf, sizeof(buf))); in TEST() 86 ASSERT_EQ(0x113fdb5cU, Value(buf, sizeof(buf))); in TEST() 102 ASSERT_EQ(0xd9963a56, Value(reinterpret_cast<char*>(data), sizeof(data))); in TEST() 107 uint32_t result = Value(buffer + expected.offset, expected.length); in TEST() 114 uint32_t partialChecksum = Value(buffer + expected.offset, partialLength); in TEST() 124 ASSERT_NE(Value("a", 1), Value("foo", 3)); in TEST() 128 ASSERT_EQ(Value("hello world", 11), in TEST() 129 Extend(Value("hello ", 6), "world", 5)); in TEST() [all …]
|
| D | crc32c.h | 28 inline uint32_t Value(const char* data, size_t n) { in Value() function
|
| /rocksdb-6.9/cache/ |
| D | cache_test.cc | 331 ASSERT_EQ(101, DecodeValue(cache_->Value(h1))); in TEST_P() 336 ASSERT_EQ(102, DecodeValue(cache_->Value(h2))); in TEST_P() 375 ASSERT_EQ(101, DecodeValue(cache_->Value(h))); in TEST_P() 478 ASSERT_EQ(DecodeValue(cache_->Value(h1)), 1000); in TEST_P() 479 ASSERT_EQ(DecodeValue(cache_->Value(h2)), 1000); in TEST_P() 528 class Value { class 530 explicit Value(size_t v) : v_(v) { } in Value() function in ROCKSDB_NAMESPACE::Value 621 s = cache->Insert(key, new Value(i + 1), 1, in TEST_P() 630 Value* extra_value = new Value(0); in TEST_P() 647 s = cache2->Insert(key, new Value(i + 1), 1, in TEST_P() [all …]
|
| D | sharded_cache.h | 64 virtual void* Value(Handle* handle) override = 0;
|
| D | lru_cache.h | 324 virtual void* Value(Handle* handle) override;
|
| /rocksdb-6.9/db/ |
| D | fault_injection_test.cc | 195 batch.Put(key, Value(i, &value_space)); in Build() 203 Value(i, &value_space); in ReadValue() 214 Value(i, &value_space); in Verify() 250 Slice Value(int k, std::string* storage) const { in Value() function in ROCKSDB_NAMESPACE::FaultInjectionTest 404 db_->Put(write_options, Key(1, &key_space), Value(1, &value_space))); in TEST_P() 410 db_->Put(write_options, Key(2, &key_space), Value(2, &value_space))); in TEST_P() 420 Value(2, &value_space); in TEST_P() 424 Value(1, &value_space); in TEST_P() 490 db_->Put(write_options, Key(1, &key_space), Value(1, &value_space))); in TEST_P() 505 Value(2, &value_space); in TEST_P() [all …]
|
| D | corruption_test.cc | 115 batch.Put(key, Value(i, &value_space)); in Build() 144 if (iter->value() != Value(static_cast<int>(key), &value_space)) { in Check() 252 Slice Value(int k, std::string* storage) { in Value() function in ROCKSDB_NAMESPACE::CorruptionTest 305 batch.Put("a", Value(100, &value_storage)); in TEST_F() 508 s = db_->Put(WriteOptions(), Key(i, &tmp1), Value(i, &tmp2)); in TEST_F() 526 ASSERT_OK(db_->Put(WriteOptions(), Key(1000, &tmp1), Value(1000, &tmp2))); in TEST_F() 529 ASSERT_EQ(Value(1000, &tmp2).ToString(), v); in TEST_F() 532 ASSERT_EQ(Value(1000, &tmp2).ToString(), v); in TEST_F()
|
| D | log_reader.cc | 380 uint32_t actual_crc = crc32c::Value(header + 6, length + header_size - 6); in ReadPhysicalRecord() 607 uint32_t actual_crc = crc32c::Value(header + 6, length + header_size - 6); in TryReadFragment()
|
| D | log_writer.cc | 30 type_crc_[i] = crc32c::Value(&t, 1); in Writer()
|
| D | table_cache.cc | 79 return reinterpret_cast<TableReader*>(cache_->Value(handle)); in GetTableReaderFromHandle() 331 static_cast<const std::string*>(ioptions_.row_cache->Value(row_handle)); in GetFromRowCache()
|
| /rocksdb-6.9/utilities/blob_db/ |
| D | blob_log_format.cc | 70 crc = crc32c::Value(dst->c_str(), dst->size()); in EncodeTo() 83 src_crc = crc32c::Value(src.data(), BlobLogFooter::kSize - sizeof(uint32_t)); in DecodeFrom() 107 header_crc = crc32c::Value(dst->c_str(), dst->size()); in EncodeHeaderTo() 110 blob_crc = crc32c::Value(key.data(), key.size()); in EncodeHeaderTo() 123 src_crc = crc32c::Value(src.data(), BlobLogRecord::kHeaderSize - 8); in DecodeHeaderFrom() 138 expected_crc = crc32c::Value(key.data(), key.size()); in CheckBlobCRC()
|
| /rocksdb-6.9/third-party/folly/folly/synchronization/detail/ |
| D | InlineFunctionRef.h | 165 using Value = _t<std::remove_reference<Func>>; in construct() local 172 static_assert(alignof(Value) <= alignof(Storage), ""); in construct() 174 static_assert(folly::is_trivially_copyable<Value>{}, ""); in construct() 176 new (&storage_) Value{func}; in construct() 177 call_ = &callInline<Value>; in construct()
|
| /rocksdb-6.9/db_stress_tool/ |
| D | db_stress_shared_state.h | 236 std::atomic<uint32_t>& Value(int cf, int64_t key) const { in Value() function 241 std::fill(&Value(cf, 0 /* key */), &Value(cf + 1, 0 /* key */), in ClearColumnFamily() 253 Value(cf, key).store(pending ? UNKNOWN_SENTINEL : value_base, in Put() 261 uint32_t Get(int cf, int64_t key) const { return Value(cf, key); } in Get() 266 if (Value(cf, key) == DELETION_SENTINEL) { in Delete() 301 uint32_t expected_value = Value(cf, key).load(); in Exists()
|
| /rocksdb-6.9/memory/ |
| D | memory_usage.h | 14 template <class Key, class Value, class Hash> 16 const std::unordered_map<Key, Value, Hash>& umap) { in ApproximateMemoryUsage() argument 17 typedef std::unordered_map<Key, Value, Hash> Map; in ApproximateMemoryUsage()
|
| /rocksdb-6.9/ |
| D | CMakeCache.txt | 135 //Value Computed by CMake. 224 //Value Computed by CMake 227 //Value Computed by CMake 230 //Value Computed by CMake 233 //Value Computed by CMake 236 //Value Computed by CMake 239 //Value Computed by CMake 242 //Value Computed by CMake 245 //Value Computed by CMake 419 //Value Computed by CMake [all …]
|
| D | README.md | 1 ## RocksDB: A Persistent Key-Value Store for Flash and RAM Storage
|
| /rocksdb-6.9/utilities/persistent_cache/ |
| D | hash_table_bench.cc | 41 template <class Key, class Value> 46 virtual bool Insert(const Key& key, const Value& val) = 0; 48 virtual bool Lookup(const Key& key, Value* val) = 0;
|
| /rocksdb-6.9/utilities/simulator_cache/ |
| D | sim_cache.cc | 220 void* Value(Handle* handle) override { return cache_->Value(handle); } in Value() function in ROCKSDB_NAMESPACE::__anona55187990111::SimCacheImpl
|
| /rocksdb-6.9/table/block_based/ |
| D | reader_common.cc | 30 actual = crc32c::Value(buf, len); in VerifyChecksum()
|
| /rocksdb-6.9/include/rocksdb/ |
| D | cache.h | 217 virtual void* Value(Handle* handle) = 0;
|
| /rocksdb-6.9/docs/_posts/ |
| D | 2016-09-28-rocksdb-4-11-2-released.markdown | 41 …* enum type CompressionType and PerfLevel changes from char to unsigned char. Value of all PerfLev…
|
| /rocksdb-6.9/table/ |
| D | block_fetcher.cc | 44 actual = crc32c::Value(data, block_size_ + 1); in CheckBlockChecksum()
|