Home
last modified time | relevance | path

Searched refs:rv (Results 1 – 20 of 20) sorted by relevance

/rocksdb-6.9/memory/
Dconcurrent_arena.h145 auto rv = func(); in AllocateImpl() local
147 return rv; in AllocateImpl()
177 auto rv = func(); in AllocateImpl() local
179 return rv; in AllocateImpl()
190 char* rv; in AllocateImpl() local
193 rv = s->free_begin_; in AllocateImpl()
197 rv = s->free_begin_ + avail - bytes; in AllocateImpl()
199 return rv; in AllocateImpl()
/rocksdb-6.9/util/
Drandom.cc29 auto rv = tls_instance; in GetTLSInstance() local
30 if (UNLIKELY(rv == nullptr)) { in GetTLSInstance()
32 rv = new (&tls_instance_bytes) Random((uint32_t)seed); in GetTLSInstance()
33 tls_instance = rv; in GetTLSInstance()
35 return rv; in GetTLSInstance()
Ddynamic_bloom.cc20 uint32_t rv = 1; in roundUpToPow2() local
21 while (rv < x) { in roundUpToPow2()
22 rv <<= 1; in roundUpToPow2()
24 return rv; in roundUpToPow2()
Dhash_test.cc227 std::string rv; in Hash64TestDescriptor() local
230 rv.append(1, mod61_encode[static_cast<size_t>(h % 61)]); in Hash64TestDescriptor()
232 return rv; in Hash64TestDescriptor()
Dbloom_test.cc347 std::string rv; in FirstFPs() local
353 rv += std::to_string(i); in FirstFPs()
357 rv += ','; in FirstFPs()
360 return rv; in FirstFPs()
/rocksdb-6.9/include/rocksdb/
Dcompaction_filter.h163 bool rv = Filter(level, key, existing_value, new_value, &value_changed); in FilterV2() local
164 if (rv) { in FilterV2()
170 bool rv = FilterMergeOperand(level, key, existing_value); in FilterV2() local
171 return rv ? Decision::kRemove : Decision::kKeep; in FilterV2()
/rocksdb-6.9/db/
Dflush_scheduler.cc68 auto rv = head_.load(std::memory_order_relaxed) == nullptr; in Empty() local
73 assert((rv == checking_set_.empty()) || rv); in Empty()
75 return rv; in Empty()
Dplain_table_db_test.cc811 std::string rv(16, filler); in NthKey() local
812 rv[0] = n % 10; in NthKey()
813 rv[1] = (n / 10) % 10; in NthKey()
814 rv[2] = (n / 100) % 10; in NthKey()
815 rv[3] = (n / 1000) % 10; in NthKey()
816 return rv; in NthKey()
Dwrite_batch.cc340 auto rv = content_flags_.load(std::memory_order_relaxed); in ComputeContentFlags() local
341 if ((rv & ContentFlags::DEFERRED) != 0) { in ComputeContentFlags()
344 rv = classifier.content_flags; in ComputeContentFlags()
350 content_flags_.store(rv, std::memory_order_relaxed); in ComputeContentFlags()
352 return rv; in ComputeContentFlags()
Ddb_bloom_filter_test.cc791 std::string rv; in DumpTestReport() local
792 std::swap(rv, test_report_); in DumpTestReport()
793 return rv; in DumpTestReport()
/rocksdb-6.9/third-party/folly/folly/detail/
DFutex.cpp52 long rv = syscall( in nativeFutexWake() local
65 if (rv < 0) { in nativeFutexWake()
68 return static_cast<int>(rv); in nativeFutexWake()
114 long rv = syscall( in nativeFutexWaitImpl() local
123 if (rv == 0) { in nativeFutexWaitImpl()
DFutex-inl.h90 auto rv = futexWaitImpl(futex, expected, nullptr, nullptr, waitMask); in futexWait() local
91 assert(rv != FutexResult::TIMEDOUT); in futexWait()
92 return rv; in futexWait()
/rocksdb-6.9/buckifier/
Dbuckify_rocksdb.py124 rv = {}
128 rv[k] = v
129 return rv
/rocksdb-6.9/third-party/folly/folly/synchronization/
DBaton.h287 auto rv = detail::futexWaitUntil(&state_, WAITING, deadline); in tryWaitSlow() local
290 if (rv == detail::FutexResult::TIMEDOUT) { in tryWaitSlow()
/rocksdb-6.9/table/block_based/
Dfull_filter_block_test.cc222 Slice rv = b_->Finish(buf); in Finish() local
224 return rv; in Finish()
/rocksdb-6.9/memtable/
Dinlineskiplist_test.cc29 Key rv; in Decode() local
30 memcpy(&rv, key, sizeof(Key)); in Decode()
31 return rv; in Decode()
Dinlineskiplist.h303 int rv;
304 memcpy(&rv, &next_[0], sizeof(int));
305 return rv;
/rocksdb-6.9/build_tools/
Dgnu_parallel5207 my $rv = syswrite($in, $buf);
5208 if (!defined($rv) && $! == EAGAIN) {
5211 } elsif ($self->{'stdin_buffer_pos'}+$rv != $self->{'stdin_buffer_length'}) {
5214 $self->{'stdin_buffer_pos'} += $rv;
5215 $something_written = $rv;
5220 $something_written = $rv;
/rocksdb-6.9/tools/
Ddb_bench_tool.cc1373 Status rv = target_->Read(n, result, scratch); in NewSequentialFile() local
1376 return rv; in NewSequentialFile()
1405 Status rv = target_->Read(offset, n, result, scratch); in NewRandomAccessFile() local
1408 return rv; in NewRandomAccessFile()
1434 Status rv = target_->Append(data); in NewWritableFile() local
1437 return rv; in NewWritableFile()
/rocksdb-6.9/CMakeFiles/
DCMakeConfigureLog.yaml150 Parsed CXX implicit include dir info: rv=done
302 Parsed C implicit include dir info: rv=done