OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kDefaultCacheSize
(Results
1 - 8
of
8
) sorted by null
/external/chromium_org/net/disk_cache/
cache_util.cc
52
using disk_cache::
kDefaultCacheSize
;
54
//
kDefaultCacheSize
.
55
if (available <
kDefaultCacheSize
* 10 / 8)
58
// Return
kDefaultCacheSize
if it uses 10% to 80% of the available space.
59
if (available <
kDefaultCacheSize
* 10)
60
return
kDefaultCacheSize
;
63
// (2.5 *
kDefaultCacheSize
) is more than 10%.
64
if (available < static_cast<int64>(
kDefaultCacheSize
) * 25)
67
// Return the target size (2.5 *
kDefaultCacheSize
) if it uses 10% to 1%
69
if (available < static_cast<int64>(
kDefaultCacheSize
) * 250
[
all
...]
cache_util.h
44
NET_EXPORT_PRIVATE extern const int
kDefaultCacheSize
;
backend_unittest.cc
[
all
...]
backend_impl.cc
[
all
...]
/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/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
...]
Completed in 621 milliseconds