| /rocksdb-6.9/util/ |
| D | slice_test.cc | 42 PinnableSlice v3; in TEST_F() 59 PinnableSlice v1; in TEST_F() 75 PinnableSlice v1; in TEST_F() 86 PinnableSlice v1; in TEST_F() 88 PinnableSlice v2; in TEST_F() 109 PinnableSlice v1; in TEST_F() 111 PinnableSlice v2; in TEST_F() 128 PinnableSlice v1; in TEST_F() 130 PinnableSlice v2; in TEST_F() 141 PinnableSlice v1; in TEST_F() [all …]
|
| D | slice.cc | 212 PinnableSlice::PinnableSlice(PinnableSlice&& other) { in PinnableSlice() function in ROCKSDB_NAMESPACE::PinnableSlice 216 PinnableSlice& PinnableSlice::operator=(PinnableSlice&& other) { in operator =()
|
| /rocksdb-6.9/include/rocksdb/ |
| D | slice.h | 145 class PinnableSlice : public Slice, public Cleanable { 147 PinnableSlice() { buf_ = &self_space_; } in PinnableSlice() function 148 explicit PinnableSlice(std::string* buf) { buf_ = buf; } in PinnableSlice() function 150 PinnableSlice(PinnableSlice&& other); 151 PinnableSlice& operator=(PinnableSlice&& other); 154 PinnableSlice(PinnableSlice&) = delete; 155 PinnableSlice& operator=(PinnableSlice&) = delete;
|
| D | db.h | 402 PinnableSlice pinnable_val(value); in Get() 412 PinnableSlice* value) = 0; 424 PinnableSlice pinnable_val(value); in Get() 434 const Slice& /*key*/, PinnableSlice* /*value*/, in Get() argument 456 const Slice& key, PinnableSlice* merge_operands, 524 PinnableSlice* values, Status* statuses, 546 PinnableSlice* values, std::string* timestamps, 588 PinnableSlice* values, Status* statuses, 608 PinnableSlice* values, std::string* timestamps,
|
| /rocksdb-6.9/docs/_posts/ |
| D | 2017-08-24-pinnableslice.markdown | 2 title: PinnableSlice; less memcpy with point lookups 8 …44f580390ce21a49a8ceacca338fcd5/include/rocksdb/db.h#L322) receives a PinnableSlice instead, which… 10 ### What is PinnableSlice? 12 …PinnableSlice refers to some in-memory data so it does not incur the memcpy cost. To ensure that t… 22 PinnableSlice tries to avoid memcpy as much as possible. The primary gain is when reading large val… 29 PinnableSlice pinnable_val; 37 …e583711144f580390ce21a49a8ceacca338fcd5/include/rocksdb/db.h#L314) of PinnableSlice by passing you…
|
| D | 2017-05-26-rocksdb-5-4-5-released.markdown | 11 * DB::Get in place of std::string accepts PinnableSlice, which avoids the extra memcpy of value to … 12 …* PinnableSlice releases the pinned resources that contain the value when it is destructed or when… 29 * Fix PinnableSlice access invalid address when row cache is enabled.
|
| /rocksdb-6.9/include/rocksdb/utilities/ |
| D | write_batch_with_index.h | 211 const Slice& key, PinnableSlice* value); 220 PinnableSlice* value); 225 PinnableSlice* values, Status* statuses, 266 PinnableSlice* value, ReadCallback* callback); 270 PinnableSlice* values, Status* statuses,
|
| D | transaction.h | 186 PinnableSlice* pinnable_val) { in Get() 196 PinnableSlice* pinnable_val) { in Get() 218 PinnableSlice* values, Status* statuses, 263 const Slice& key, PinnableSlice* pinnable_val,
|
| /rocksdb-6.9/examples/ |
| D | simple_example.cc | 54 PinnableSlice pinnable_val; in main() 63 PinnableSlice pinnable_val(&string_val); in main() 70 PinnableSlice pinnable_val; in main()
|
| /rocksdb-6.9/utilities/blob_db/ |
| D | blob_db_impl.h | 105 const Slice& key, PinnableSlice* value) override; 108 const Slice& key, PinnableSlice* value, 179 PinnableSlice* value); 222 PinnableSlice* value, uint64_t* expiration = nullptr); 225 PinnableSlice* value, uint64_t* expiration = nullptr); 229 PinnableSlice* value,
|
| D | blob_db.h | 140 PinnableSlice* value) override = 0; 145 PinnableSlice* value, uint64_t* expiration) = 0; 147 PinnableSlice* value, uint64_t* expiration) { in Get() 174 PinnableSlice* /*values*/, Status* statuses,
|
| /rocksdb-6.9/table/ |
| D | get_context.h | 90 const Slice& user_key, PinnableSlice* value, 99 const Slice& user_key, PinnableSlice* value, 171 PinnableSlice* pinnable_val_;
|
| D | multiget_context.h | 31 PinnableSlice* value; 36 PinnableSlice* val, std::string* ts, Status* stat) in KeyContext()
|
| D | cleanable_test.cc | 205 class PinnableSlice4Test : public PinnableSlice { 216 TEST_F(CleanableTest, PinnableSlice) { in TEST_F() argument
|
| /rocksdb-6.9/utilities/write_batch_with_index/ |
| D | write_batch_with_index.cc | 800 PinnableSlice pinnable_val(value); in GetFromBatchAndDB() 813 PinnableSlice* pinnable_val) { in GetFromBatchAndDB() 824 PinnableSlice pinnable_val(value); in GetFromBatchAndDB() 838 PinnableSlice* pinnable_val) { in GetFromBatchAndDB() 845 const Slice& key, PinnableSlice* pinnable_val, ReadCallback* callback) { in GetFromBatchAndDB() 930 const size_t num_keys, const Slice* keys, PinnableSlice* values, in MultiGetFromBatchAndDB() 938 const size_t num_keys, const Slice* keys, PinnableSlice* values, in MultiGetFromBatchAndDB() 955 PinnableSlice* pinnable_val = &values[i]; in MultiGetFromBatchAndDB()
|
| /rocksdb-6.9/utilities/transactions/ |
| D | write_prepared_txn.h | 57 PinnableSlice* value) override; 63 PinnableSlice* values, Status* statuses,
|
| D | transaction_base.h | 59 const Slice& key, PinnableSlice* value) override; 74 PinnableSlice* pinnable_val, bool exclusive, 100 const size_t num_keys, const Slice* keys, PinnableSlice* values,
|
| D | write_prepared_transaction_test.cc | 968 PinnableSlice pinnable_val; in TEST_P() 2191 PinnableSlice v; in ASSERT_SAME() 2249 PinnableSlice v1; in TEST_P() 2252 PinnableSlice v2; in TEST_P() 2255 PinnableSlice v3; in TEST_P() 2258 PinnableSlice v4; in TEST_P() 3163 PinnableSlice value; in TEST_P() 3240 PinnableSlice value; in TEST_P() 3318 PinnableSlice value; in TEST_P() 3355 PinnableSlice value; in TEST_P() [all …]
|
| D | transaction_base.cc | 245 PinnableSlice pinnable_val(value); in Get() 256 const Slice& key, PinnableSlice* pinnable_val) { in Get() 276 PinnableSlice pinnable_val(value); in GetForUpdate() 289 PinnableSlice* pinnable_val, in GetForUpdate() 325 PinnableSlice* values, Status* statuses, in MultiGet()
|
| D | write_unprepared_txn.h | 190 PinnableSlice* value) override; 196 PinnableSlice* values, Status* statuses,
|
| D | write_prepared_txn.cc | 46 PinnableSlice* values, Status* statuses, in MultiGet() 67 const Slice& key, PinnableSlice* pinnable_val) { in Get() 290 PinnableSlice pinnable_val; in RollbackInternal()
|
| /rocksdb-6.9/db/db_impl/ |
| D | db_impl.h | 165 PinnableSlice* value) override; 168 PinnableSlice* value, std::string* timestamp) override; 173 PinnableSlice* merge_operands, in GetMergeOperands() 207 PinnableSlice* values, Status* statuses, 212 PinnableSlice* values, std::string* timestamps, 218 PinnableSlice* values, Status* statuses, 222 PinnableSlice* values, std::string* timestamps, 454 PinnableSlice* value = nullptr; 465 PinnableSlice* merge_operands = nullptr;
|
| /rocksdb-6.9/db/ |
| D | compacted_db_impl.cc | 37 const Slice& key, PinnableSlice* value) { in Get() 69 PinnableSlice pinnable_val; in MultiGet()
|
| /rocksdb-6.9/table/cuckoo/ |
| D | cuckoo_table_reader_test.cc | 124 PinnableSlice value; in CreateCuckooFileAndCheckReader() 349 PinnableSlice value; in TEST_F() 456 PinnableSlice value; in WriteFile() 505 PinnableSlice value; in ReadKeys()
|
| /rocksdb-6.9/table/block_based/ |
| D | data_block_hash_index_test.cc | 629 PinnableSlice value; in TEST() 654 PinnableSlice value; in TEST() 679 PinnableSlice value; in TEST() 704 PinnableSlice value; in TEST()
|