OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kDefaultCacheSize
(Results
1 - 2
of
2
) 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
...]
Completed in 84 milliseconds