HomeSort by relevance Sort by last modified time
    Searched refs:kDefaultCacheSize (Results 1 - 7 of 7) sorted by null

  /external/chromium/net/disk_cache/
mem_backend_impl.cc 17 const int kDefaultCacheSize = 10 * 1024 * 1024;
63 max_size_ = kDefaultCacheSize;
70 if (total_memory > kDefaultCacheSize * 5)
71 max_size_ = kDefaultCacheSize * 5;
75 max_size_ = kDefaultCacheSize*3;
backend_impl.cc 48 const int kDefaultCacheSize = 80 * 1024 * 1024;
311 // kDefaultCacheSize.
312 if (available < kDefaultCacheSize * 10 / 8)
315 // Return kDefaultCacheSize if it uses 80% to 10% of the available space.
316 if (available < kDefaultCacheSize * 10)
317 return kDefaultCacheSize;
320 // (2.5 * kDefaultCacheSize) is more than 10%.
321 if (available < static_cast<int64>(kDefaultCacheSize) * 25)
324 // Return the target size (2.5 * kDefaultCacheSize) if it uses 10% to 1%
326 if (available < static_cast<int64>(kDefaultCacheSize) * 250
    [all...]
  /external/chromium_org/net/disk_cache/
mem_backend_impl.cc 17 const int kDefaultCacheSize = 10 * 1024 * 1024;
62 max_size_ = kDefaultCacheSize;
69 if (total_memory > kDefaultCacheSize * 5)
70 max_size_ = kDefaultCacheSize * 5;
backend_impl.cc 48 const int kDefaultCacheSize = 80 * 1024 * 1024;
115 // kDefaultCacheSize.
116 if (available < kDefaultCacheSize * 10 / 8)
119 // Return kDefaultCacheSize if it uses 80% to 10% of the available space.
120 if (available < kDefaultCacheSize * 10)
121 return kDefaultCacheSize;
124 // (2.5 * kDefaultCacheSize) is more than 10%.
125 if (available < static_cast<int64>(kDefaultCacheSize) * 25)
128 // Return the target size (2.5 * kDefaultCacheSize) if it uses 10% to 1%
130 if (available < static_cast<int64>(kDefaultCacheSize) * 250
    [all...]
  /external/chromium_org/net/disk_cache/v3/
backend_worker.cc 47 const int kDefaultCacheSize = 80 * 1024 * 1024;
427 (max_size_ < kint32max - kDefaultCacheSize &&
428 data_->header.num_bytes > max_size_ + kDefaultCacheSize)) {
backend_impl_v3.cc 47 const int kDefaultCacheSize = 80 * 1024 * 1024;
813 max_size_ = kDefaultCacheSize;
824 if (max_size_ > kDefaultCacheSize * 4)
825 max_size_ = kDefaultCacheSize * 4;
    [all...]
  /external/chromium_org/net/disk_cache/simple/
simple_backend_impl.cc 54 const uint64 kDefaultCacheSize = 80 * 1024 * 1024;
412 result.max_size = kDefaultCacheSize;

Completed in 73 milliseconds