Searched refs:kDefaultCacheSize (Results 1 – 2 of 2) sorted by relevance
17 const int kDefaultCacheSize = 10 * 1024 * 1024; variable63 max_size_ = kDefaultCacheSize; in Init()70 if (total_memory > kDefaultCacheSize * 5) in Init()71 max_size_ = kDefaultCacheSize * 5; in Init()75 max_size_ = kDefaultCacheSize*3; in Init()
48 const int kDefaultCacheSize = 80 * 1024 * 1024; variable312 if (available < kDefaultCacheSize * 10 / 8) in PreferedCacheSize()316 if (available < kDefaultCacheSize * 10) in PreferedCacheSize()317 return kDefaultCacheSize; in PreferedCacheSize()321 if (available < static_cast<int64>(kDefaultCacheSize) * 25) in PreferedCacheSize()326 if (available < static_cast<int64>(kDefaultCacheSize) * 250) in PreferedCacheSize()327 return kDefaultCacheSize * 5 / 2; in PreferedCacheSize()1428 max_size_ = kDefaultCacheSize; in AdjustMaxCacheSize()1439 if (max_size_ > kDefaultCacheSize * 4) in AdjustMaxCacheSize()1440 max_size_ = kDefaultCacheSize * 4; in AdjustMaxCacheSize()[all …]