| /rocksdb-6.9/util/ |
| D | dynamic_bloom.cc | 58 char* raw = allocator->AllocateAligned(sz, huge_page_tlb_size, logger); in DynamicBloom() local 59 memset(raw, 0, sz); in DynamicBloom() 60 auto block_offset = reinterpret_cast<uintptr_t>(raw) % block_bytes; in DynamicBloom() 63 raw += block_bytes - block_offset; in DynamicBloom() 67 data_ = reinterpret_cast<std::atomic<uint64_t>*>(raw); in DynamicBloom()
|
| D | thread_local.cc | 295 void* raw = e.ptr.load(); in OnThreadExit() local 296 if (raw != nullptr) { in OnThreadExit() 299 unref(raw); in OnThreadExit()
|
| /rocksdb-6.9/table/plain/ |
| D | plain_table_bloom.cc | 59 char* raw = allocator->AllocateAligned(sz, huge_page_tlb_size, logger); in SetTotalBits() local 60 memset(raw, 0, sz); in SetTotalBits() 61 auto cache_line_offset = reinterpret_cast<uintptr_t>(raw) % CACHE_LINE_SIZE; in SetTotalBits() 63 raw += CACHE_LINE_SIZE - cache_line_offset; in SetTotalBits() 65 data_ = raw; in SetTotalBits()
|
| /rocksdb-6.9/table/block_based/ |
| D | block_based_table_builder.cc | 106 bool CompressBlockInternal(const Slice& raw, in CompressBlockInternal() argument 114 return Snappy_Compress(compression_info, raw.data(), raw.size(), in CompressBlockInternal() 120 raw.data(), raw.size(), compressed_output); in CompressBlockInternal() 125 raw.data(), raw.size(), compressed_output); in CompressBlockInternal() 130 raw.data(), raw.size(), compressed_output); in CompressBlockInternal() 135 raw.data(), raw.size(), compressed_output); in CompressBlockInternal() 137 return XPRESS_Compress(raw.data(), raw.size(), compressed_output); in CompressBlockInternal() 140 return ZSTD_Compress(compression_info, raw.data(), raw.size(), in CompressBlockInternal() 151 Slice CompressBlock(const Slice& raw, const CompressionInfo& info, in CompressBlock() argument 159 return raw; in CompressBlock() [all …]
|
| D | block_based_table_builder.h | 151 Slice CompressBlock(const Slice& raw, const CompressionInfo& info,
|
| D | block_based_table_reader.cc | 1712 Slice raw = Slice(req.scratch + req_offset, block_size(handle)); in RetrieveMultipleBlocks() local 1714 CopyBufferToHeap(GetMemoryAllocator(rep_->table_options), raw), in RetrieveMultipleBlocks()
|
| /rocksdb-6.9/db/ |
| D | write_batch_test.cc | 423 std::string raw(kKeyValueSize, 'A'); in TEST_F() local 430 raw[0] = c; in TEST_F() 431 raw[raw.length() - 1] = c; in TEST_F() 433 batch.Put(raw, raw); in TEST_F() 484 std::string raw(kKeyValueSize, 'A'); in TEST_F() local 487 raw[0] = 'A' + i; in TEST_F() 488 raw[raw.length() - 1] = 'A' - i; in TEST_F() 489 batch.Put(raw, raw); in TEST_F()
|
| D | table_properties_collector.cc | 24 Slice raw = pos->second; in GetUint64Property() local 27 return GetVarint64(&raw, &val) ? val : 0; in GetUint64Property()
|
| D | db_test.cc | 675 std::string raw(kValueSize, 'v'); in TEST_F() local 684 ASSERT_TRUE(Put("foo", raw).IsInvalidArgument()); in TEST_F() 685 ASSERT_TRUE(Merge("foo", raw).IsInvalidArgument()); in TEST_F() 688 ASSERT_TRUE(wb.Put("foo", raw).IsInvalidArgument()); in TEST_F() 689 ASSERT_TRUE(wb.Merge("foo", raw).IsInvalidArgument()); in TEST_F() 691 Slice value_slice = raw; in TEST_F() 706 std::string raw(kValueSize, 'v'); in TEST_F() local 718 ASSERT_OK(Put(key1, raw)); in TEST_F() 719 raw[0] = 'w'; in TEST_F() 720 ASSERT_OK(Put(key2, raw)); in TEST_F()
|
| /rocksdb-6.9/docs/_posts/ |
| D | 2014-04-02-the-1st-rocksdb-local-meetup-held-on-march-27-2014.markdown | 21 …* [Supporting a 1PB In-Memory Workload](https://github.com/facebook/rocksdb/raw/gh-pages/talks/201… 26 …* [Column Families in RocksDB](https://github.com/facebook/rocksdb/raw/gh-pages/talks/2014-03-27-R… 31 …* ["Lockless" Get() in RocksDB?](https://github.com/facebook/rocksdb/raw/gh-pages/talks/2014-03-27… 36 …* [Prefix Hashing in RocksDB](https://github.com/facebook/rocksdb/raw/gh-pages/talks/2014-03-27-Ro…
|
| D | 2014-06-27-avoid-expensive-locks-in-get.markdown | 27 …re CPU leads to [70% system CPU usage](https://github.com/facebook/rocksdb/raw/gh-pages/talks/2014… 54 …RocksDB can nicely [scale to 32 cores](https://github.com/facebook/rocksdb/raw/gh-pages/talks/2014…
|
| D | 2014-09-15-rocksdb-3-5-release.markdown | 29 …val, filter_policy, whole_key_filtering. filter_policy is changed to shared_ptr from a raw pointer.
|
| D | 2014-06-23-plaintable-a-new-file-format.markdown | 15 1. Optimize for [prefix hashing](https://github.com/facebook/rocksdb/raw/gh-pages/talks/2014-03-27-…
|
| D | 2014-05-14-lock.markdown | 33 …-free approach to do it. See [details](https://github.com/facebook/rocksdb/raw/gh-pages/talks/2014…
|
| /rocksdb-6.9/memtable/ |
| D | inlineskiplist.h | 627 char* raw = allocator_->AllocateAligned(prefix + sizeof(Node) + key_size); 628 Node* x = reinterpret_cast<Node*>(raw + prefix); 646 char* raw = allocator_->AllocateAligned(sizeof(Splice) + array_size * 2); 647 Splice* splice = reinterpret_cast<Splice*>(raw); 649 splice->prev_ = reinterpret_cast<Node**>(raw + sizeof(Splice)); 650 splice->next_ = reinterpret_cast<Node**>(raw + sizeof(Splice) + array_size); 658 char* raw = new char[sizeof(Splice) + array_size * 2]; 659 Splice* splice = reinterpret_cast<Splice*>(raw); 661 splice->prev_ = reinterpret_cast<Node**>(raw + sizeof(Splice)); 662 splice->next_ = reinterpret_cast<Node**>(raw + sizeof(Splice) + array_size);
|
| /rocksdb-6.9/test_util/ |
| D | testutil.cc | 76 int raw = static_cast<int>(len * compressed_fraction); in CompressibleString() local 77 if (raw < 1) raw = 1; in CompressibleString() 79 RandomString(rnd, raw, &raw_data); in CompressibleString()
|
| /rocksdb-6.9/docs/_docs/ |
| D | getting-started.md | 14 …tory talk](https://github.com/facebook/rocksdb/blob/gh-pages-old/intro.pdf?raw=true) from the Data…
|
| D | faq.md | 16 …tory talk](https://github.com/facebook/rocksdb/blob/gh-pages-old/intro.pdf?raw=true) from the Data…
|
| /rocksdb-6.9/utilities/blob_db/ |
| D | blob_db_impl.h | 232 Slice GetCompressedSlice(const Slice& raw,
|
| D | blob_db_impl.cc | 1096 Slice BlobDBImpl::GetCompressedSlice(const Slice& raw, in GetCompressedSlice() argument 1099 return raw; in GetCompressedSlice() 1107 CompressBlock(raw, info, &type, kBlockBasedTableVersionFormat, false, in GetCompressedSlice()
|
| /rocksdb-6.9/ |
| D | HISTORY.md | 432 * Changes the format of index blocks by storing the key in their raw form rather than converting th… 1017 …val, filter_policy, whole_key_filtering. filter_policy is changed to shared_ptr from a raw pointer. 1099 * Changed Options.prefix_extractor from raw pointer to shared_ptr (take ownership) 1151 * Use raw pointer instead of shared pointer for statistics: [5b825d](https://github.com/facebook/ro…
|