| 40 | } |
| 41 | |
| 42 | CacheOptions CacheOptions::LazyDefaults() { |
| 43 | return CacheOptions{internal::ReadRangeCache::kDefaultHoleSizeLimit, |
| 44 | internal::ReadRangeCache::kDefaultRangeSizeLimit, |
| 45 | /*lazy=*/true, |
| 46 | /*prefetch_limit=*/0}; |
| 47 | } |
| 48 | |
| 49 | CacheOptions CacheOptions::MakeFromNetworkMetrics(int64_t time_to_first_byte_millis, |
| 50 | int64_t transfer_bandwidth_mib_per_sec, |
nothing calls this directly
no outgoing calls
no test coverage detected