Home
last modified time | relevance | path

Searched refs:avail (Results 1 – 6 of 6) sorted by relevance

/rocksdb-6.9/memory/
Dconcurrent_arena.h158 size_t avail = s->allocated_and_unused_.load(std::memory_order_relaxed); in AllocateImpl() local
159 if (avail < bytes) { in AllocateImpl()
182 avail = exact >= shard_block_size_ / 2 && exact < shard_block_size_ * 2 in AllocateImpl()
185 s->free_begin_ = arena_.AllocateAligned(avail); in AllocateImpl()
188 s->allocated_and_unused_.store(avail - bytes, std::memory_order_relaxed); in AllocateImpl()
197 rv = s->free_begin_ + avail - bytes; in AllocateImpl()
/rocksdb-6.9/db/
Dlog_writer.cc85 const size_t avail = kBlockSize - block_offset_ - header_size; in AddRecord() local
86 const size_t fragment_length = (left < avail) ? left : avail; in AddRecord()
/rocksdb-6.9/port/win/
Dio_win.cc390 size_t avail = mapped_end_ - dst_; in Append() local
392 if (avail == 0) { in Append()
402 size_t n = std::min(left, avail); in Append()
/rocksdb-6.9/env/
Dio_posix.cc987 size_t avail = limit_ - dst_; in Append() local
988 if (avail == 0) { in Append()
1000 size_t n = (left <= avail) ? left : avail; in Append()
/rocksdb-6.9/
DCMakeLists.txt19 # or simply /m to use all avail cores)
/rocksdb-6.9/third-party/gtest-1.8.1/fused-src/gtest/
Dgtest-all.cc9574 size_t avail; in GetThreadCount() local
9581 &avail); in GetThreadCount()
9583 return avail; in GetThreadCount()