HomeSort by relevance Sort by last modified time
    Searched full:max_size_ (Results 1 - 25 of 44) sorted by null

1 2

  /external/chromium_org/cc/scheduler/
rolling_time_delta_history.cc 12 : max_size_(max_size) {
19 if (max_size_ == 0)
22 if (sample_set_.size() == max_size_) {
rolling_time_delta_history.h 37 size_t max_size_; member in class:cc::RollingTimeDeltaHistory
  /external/chromium_org/third_party/re2/util/
sparse_set.h 57 : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(NULL), valgrind_(RunningOnValgrind()) {}
60 max_size_ = max_size;
94 if (new_max_size > max_size_) {
97 memmove(a, sparse_to_dense_, max_size_*sizeof a[0]);
99 for (int i = max_size_; i < new_max_size; i++)
117 max_size_ = new_max_size;
122 int max_size() const { return max_size_; }
130 DCHECK_LT(i, max_size_);
131 if (static_cast<uint>(i) >= max_size_) {
148 if (static_cast<uint>(i) >= max_size_) {
169 int max_size_; member in class:re2::SparseSet
    [all...]
sparse_array.h 56 // size max_size_. At any point, the number of elements in the sparse array is
142 return max_size_;
224 int max_size_; member in class:re2::SparseArray
234 : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(), valgrind_(RunningOnValgrind()) {}
271 if (new_max_size > max_size_) {
274 memmove(a, sparse_to_dense_, max_size_*sizeof a[0]);
277 for (int i = max_size_; i < new_max_size; i++)
286 max_size_ = new_max_size;
287 if (size_ > max_size_)
288 size_ = max_size_;
    [all...]
  /external/regex-re2/util/
sparse_set.h 57 : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(NULL), valgrind_(RunningOnValgrind()) {}
60 max_size_ = max_size;
94 if (new_max_size > max_size_) {
97 memmove(a, sparse_to_dense_, max_size_*sizeof a[0]);
99 for (int i = max_size_; i < new_max_size; i++)
117 max_size_ = new_max_size;
122 int max_size() const { return max_size_; }
130 DCHECK_LT(i, max_size_);
131 if (static_cast<uint>(i) >= max_size_) {
148 if (static_cast<uint>(i) >= max_size_) {
169 int max_size_; member in class:re2::SparseSet
    [all...]
sparse_array.h 56 // size max_size_. At any point, the number of elements in the sparse array is
142 return max_size_;
224 int max_size_; member in class:re2::SparseArray
234 : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(), valgrind_(RunningOnValgrind()) {}
271 if (new_max_size > max_size_) {
274 memmove(a, sparse_to_dense_, max_size_*sizeof a[0]);
277 for (int i = max_size_; i < new_max_size; i++)
286 max_size_ = new_max_size;
287 if (size_ > max_size_)
288 size_ = max_size_;
    [all...]
  /external/chromium/net/disk_cache/
mem_backend_impl.cc 32 : max_size_(0), current_size_(0), net_log_(net_log) {}
57 if (max_size_)
63 max_size_ = kDefaultCacheSize;
71 max_size_ = kDefaultCacheSize * 5;
73 max_size_ = static_cast<int32>(total_memory);
75 max_size_ = kDefaultCacheSize*3;
81 COMPILE_ASSERT(sizeof(max_bytes) == sizeof(max_size_), unsupported_int_model);
89 max_size_ = max_bytes;
119 return max_size_ / 8;
298 int target_size = empty ? 0 : LowWaterAdjust(max_size_);
    [all...]
eviction.h 75 int max_size_; member in class:disk_cache::Eviction
  /external/chromium_org/net/disk_cache/
mem_backend_impl.cc 32 : max_size_(0), current_size_(0), net_log_(net_log) {}
56 if (max_size_)
62 max_size_ = kDefaultCacheSize;
70 max_size_ = kDefaultCacheSize * 5;
72 max_size_ = static_cast<int32>(total_memory);
78 COMPILE_ASSERT(sizeof(max_bytes) == sizeof(max_size_), unsupported_int_model);
86 max_size_ = max_bytes;
116 return max_size_ / 8;
312 int target_size = empty ? 0 : LowWaterAdjust(max_size_);
328 if (current_size_ > max_size_)
    [all...]
eviction.h 75 int max_size_; member in class:disk_cache::Eviction
  /external/chromium_org/chrome/browser/net/
evicted_domain_cookie_counter.cc 71 max_size_(kMaxEvictedDomainCookies),
82 max_size_(max_size),
85 DCHECK_LT(purge_count, max_size_);
129 if (evicted_cookies_.size() <= max_size_)
134 size_t size_goal = max_size_ - purge_count_;
  /external/chromium_org/third_party/tcmalloc/vendor/src/
thread_cache.cc 118 max_size_ = 0;
120 if (max_size_ == 0) {
123 max_size_ = kMinThreadCacheSize;
280 max_size_ += kStealAmount;
295 next_memory_steal_->max_size_ <= kMinThreadCacheSize) {
298 next_memory_steal_->max_size_ -= kStealAmount;
299 max_size_ += kStealAmount;
455 unclaimed_cache_space_ += heap->max_size_;
473 // slow-start growth of max_size_.
475 h->max_size_ = static_cast<size_t>(h->max_size_ * ratio)
    [all...]
thread_cache.h 235 // Increase max_size_ by reducing unclaimed_cache_space_ or by
236 // reducing the max_size_ of some other thread. In both cases,
275 // the next ThreadCache from which a thread over its max_size_ should
289 // Represents overall_thread_cache_size_ minus the sum of max_size_
297 size_t max_size_; // size_ > max_size_ --> Scavenge() member in class:tcmalloc::ThreadCache
350 ssize_t size_headroom = max_size_ - size_ - 1;
368 if (size_ >= max_size_) Scavenge();
  /art/runtime/
reference_table.h 60 size_t max_size_; member in class:art::ReferenceTable
reference_table.cc 33 : name_(name), max_size_(max_size) {
43 if (entries_.size() == max_size_) {
45 << "overflowed (" << max_size_ << " entries)"; local
  /external/chromium_org/net/disk_cache/v3/
eviction_v3.h 58 int max_size_; member in class:disk_cache::Eviction
backend_impl_v3.cc 88 max_size_(0),
114 max_size_(0),
170 COMPILE_ASSERT(sizeof(max_bytes) == sizeof(max_size_), unsupported_int_model);
183 max_size_ = max_bytes;
241 if (data_->header.num_bytes > max_size_ && !read_only_ &&
259 return max_size_ / 8;
770 item.second = base::StringPrintf("%d", max_size_);
804 if (max_size_)
813 max_size_ = kDefaultCacheSize;
820 max_size_ = PreferedCacheSize(available)
    [all...]
  /external/chromium_org/base/containers/
mru_cache.h 69 explicit MRUCacheBase(size_type max_size) : max_size_(max_size) {
73 : max_size_(max_size), deletor_(deletor) {
82 size_type max_size() const { return max_size_; }
97 } else if (max_size_ != NO_AUTO_EVICT) {
100 ShrinkToSize(max_size_ - 1);
198 size_type max_size_; member in class:base::MRUCacheBase
  /external/chromium_org/third_party/tcmalloc/chromium/src/
thread_cache.h 241 // Increase max_size_ by reducing unclaimed_cache_space_ or by
242 // reducing the max_size_ of some other thread. In both cases,
290 // the next ThreadCache from which a thread over its max_size_ should
304 // Represents overall_thread_cache_size_ minus the sum of max_size_
312 size_t max_size_; // size_ > max_size_ --> Scavenge() member in class:tcmalloc::ThreadCache
377 ssize_t size_headroom = max_size_ - size_ - 1;
395 if (size_ >= max_size_) Scavenge();
thread_cache.cc 121 max_size_ = 0;
123 if (max_size_ == 0) {
126 max_size_ = kMinThreadCacheSize;
286 max_size_ += kStealAmount;
301 next_memory_steal_->max_size_ <= kMinThreadCacheSize) {
304 next_memory_steal_->max_size_ -= kStealAmount;
305 max_size_ += kStealAmount;
466 unclaimed_cache_space_ += heap->max_size_;
484 // slow-start growth of max_size_.
486 h->max_size_ = static_cast<size_t>(h->max_size_ * ratio)
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/session/media/
mediarecorder.cc 46 : max_size_(INT_MAX),
56 max_size_ = size;
83 current_size + RtpDumpPacket::kHeaderLength + size <= max_size_) {
  /external/chromium_org/ui/views/controls/button/
label_button.h 55 void set_max_size(const gfx::Size& max_size) { max_size_ = max_size; }
120 // |max_size_| may be set to clamp the preferred size.
121 gfx::Size max_size_; member in class:views::LabelButton
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_quarantine.h 50 max_size_ = size;
66 if (cache_.Size() > max_size_ && recycle_mutex_.TryLock())
73 uptr max_size_; member in class:__sanitizer::Quarantine
  /external/chromium_org/chrome/browser/ui/panels/
panel.cc 560 int current_max_width = max_size_.width();
563 int current_max_height = max_size_.height();
636 if (min_size == min_size_ && max_size == max_size_)
642 max_size_ = max_size;
648 gfx::Size new_max_size = max_size_;
683 if (new_width > max_size_.width())
684 new_width = max_size_.width();
691 if (new_height > max_size_.height())
692 new_height = max_size_.height();
811 max_size_(max_size)
    [all...]
  /external/chromium_org/net/disk_cache/simple/
simple_index.cc 106 max_size_(0),
172 max_size_ = max_bytes;
173 high_watermark_ = max_size_ - max_size_ / kEvictionMarginDivisor;
174 low_watermark_ = max_size_ - 2 * (max_size_ / kEvictionMarginDivisor);
259 max_size_ / kBytesInKb);

Completed in 3541 milliseconds

1 2