Lines Matching refs:cache_config

14     let cache_config = load_config!(  in test_on_get_create_stats_file()  localVariable
20 let worker = Worker::start_new(&cache_config); in test_on_get_create_stats_file()
32 cache_config.baseline_compression_level() in test_on_get_create_stats_file()
39 let cache_config = load_config!( in test_on_get_update_usage_counter() localVariable
46 let worker = Worker::start_new(&cache_config); in test_on_get_update_usage_counter()
50 let default_stats = ModuleCacheStatistics::default(&cache_config); in test_on_get_update_usage_counter()
71 let cache_config = load_config!( in test_on_get_recompress_no_mod_file() localVariable
81 let worker = Worker::start_new(&cache_config); in test_on_get_recompress_no_mod_file()
85 let mut start_stats = ModuleCacheStatistics::default(&cache_config); in test_on_get_recompress_no_mod_file()
103 cache_config.baseline_compression_level() in test_on_get_recompress_no_mod_file()
111 let cache_config = load_config!( in test_on_get_recompress_with_mod_file() localVariable
121 let worker = Worker::start_new(&cache_config); in test_on_get_recompress_with_mod_file()
127 cache_config.baseline_compression_level(), in test_on_get_recompress_with_mod_file()
133 let mut start_stats = ModuleCacheStatistics::default(&cache_config); in test_on_get_recompress_with_mod_file()
144 assert!(usages < cache_config.optimized_compression_usage_counter_threshold()); in test_on_get_recompress_with_mod_file()
159 if usages < cache_config.optimized_compression_usage_counter_threshold() { in test_on_get_recompress_with_mod_file()
160 cache_config.baseline_compression_level() in test_on_get_recompress_with_mod_file()
162 cache_config.optimized_compression_level() in test_on_get_recompress_with_mod_file()
171 assert!(usages >= cache_config.optimized_compression_usage_counter_threshold()); in test_on_get_recompress_with_mod_file()
177 assert!(usages >= cache_config.optimized_compression_usage_counter_threshold()); in test_on_get_recompress_with_mod_file()
184 let cache_config = load_config!( in test_on_get_recompress_lock() localVariable
196 let worker = Worker::start_new(&cache_config); in test_on_get_recompress_lock()
202 cache_config.baseline_compression_level(), in test_on_get_recompress_lock()
208 let mut start_stats = ModuleCacheStatistics::default(&cache_config); in test_on_get_recompress_lock()
237 cache_config.baseline_compression_level() in test_on_get_recompress_lock()
239 cache_config.optimized_compression_level() in test_on_get_recompress_lock()
252 let cache_config = load_config!( in test_on_update_fresh_stats_file() localVariable
262 let worker = Worker::start_new(&cache_config); in test_on_update_fresh_stats_file()
283 cache_config.baseline_compression_level() in test_on_update_fresh_stats_file()
299 let cache_config = load_config!( in test_on_update_cleanup_limits_trash_locks() localVariable
314 let worker = Worker::start_new(&cache_config); in test_on_update_cleanup_limits_trash_locks()
438 let cache_config = load_config!( in test_on_update_cleanup_lru_policy() localVariable
449 let worker = Worker::start_new(&cache_config); in test_on_update_cleanup_lru_policy()
568 let cache_config = load_config!( in test_on_update_cleanup_future_files() localVariable
580 let worker = Worker::start_new(&cache_config); in test_on_update_cleanup_future_files()
674 let cache_config = load_config!( in test_on_update_cleanup_self_lock() localVariable
683 let worker = Worker::start_new(&cache_config); in test_on_update_cleanup_self_lock()