Home
last modified time | relevance | path

Searched refs:PinnableSlice (Results 1 – 25 of 65) sorted by relevance

123

/rocksdb-6.9/util/
Dslice_test.cc42 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 …]
Dslice.cc212 PinnableSlice::PinnableSlice(PinnableSlice&& other) { in PinnableSlice() function in ROCKSDB_NAMESPACE::PinnableSlice
216 PinnableSlice& PinnableSlice::operator=(PinnableSlice&& other) { in operator =()
/rocksdb-6.9/include/rocksdb/
Dslice.h145 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;
Ddb.h402 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/
D2017-08-24-pinnableslice.markdown2 title: PinnableSlice; less memcpy with point lookups
8 …44f580390ce21a49a8ceacca338fcd5/include/rocksdb/db.h#L322) receives a PinnableSlice instead, which…
10 ### What is PinnableSlice?
12PinnableSlice 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…
D2017-05-26-rocksdb-5-4-5-released.markdown11 * 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/
Dwrite_batch_with_index.h211 const Slice& key, PinnableSlice* value);
220 PinnableSlice* value);
225 PinnableSlice* values, Status* statuses,
266 PinnableSlice* value, ReadCallback* callback);
270 PinnableSlice* values, Status* statuses,
Dtransaction.h186 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/
Dsimple_example.cc54 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/
Dblob_db_impl.h105 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,
Dblob_db.h140 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/
Dget_context.h90 const Slice& user_key, PinnableSlice* value,
99 const Slice& user_key, PinnableSlice* value,
171 PinnableSlice* pinnable_val_;
Dmultiget_context.h31 PinnableSlice* value;
36 PinnableSlice* val, std::string* ts, Status* stat) in KeyContext()
Dcleanable_test.cc205 class PinnableSlice4Test : public PinnableSlice {
216 TEST_F(CleanableTest, PinnableSlice) { in TEST_F() argument
/rocksdb-6.9/utilities/write_batch_with_index/
Dwrite_batch_with_index.cc800 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/
Dwrite_prepared_txn.h57 PinnableSlice* value) override;
63 PinnableSlice* values, Status* statuses,
Dtransaction_base.h59 const Slice& key, PinnableSlice* value) override;
74 PinnableSlice* pinnable_val, bool exclusive,
100 const size_t num_keys, const Slice* keys, PinnableSlice* values,
Dwrite_prepared_transaction_test.cc968 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 …]
Dtransaction_base.cc245 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()
Dwrite_unprepared_txn.h190 PinnableSlice* value) override;
196 PinnableSlice* values, Status* statuses,
Dwrite_prepared_txn.cc46 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/
Ddb_impl.h165 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/
Dcompacted_db_impl.cc37 const Slice& key, PinnableSlice* value) { in Get()
69 PinnableSlice pinnable_val; in MultiGet()
/rocksdb-6.9/table/cuckoo/
Dcuckoo_table_reader_test.cc124 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/
Ddata_block_hash_index_test.cc629 PinnableSlice value; in TEST()
654 PinnableSlice value; in TEST()
679 PinnableSlice value; in TEST()
704 PinnableSlice value; in TEST()

123