Searched refs:cap (Results 1 – 3 of 3) sorted by relevance
42 for (size_t cap = buf_.Capacity(); in Append() local43 cap < max_buffer_size_; // There is still room to increase in Append()44 cap *= 2) { in Append()47 size_t desired_capacity = std::min(cap * 2, max_buffer_size_); in Append()100 size_t cap = buf_.Capacity() - buf_.CurrentSize(); in Pad() local106 size_t append_bytes = std::min(cap, left); in Pad()115 cap = buf_.Capacity() - buf_.CurrentSize(); in Pad()
16 * Users can pass a cache object to write buffer manager, so that they can cap memory usage for memt…
623 * Users can pass a cache object to write buffer manager, so that they can cap memory usage for memt…