Home
last modified time | relevance | path

Searched refs:cache_config (Results 1 – 5 of 5) sorted by relevance

/wasmtime-44.0.1/crates/cache/src/worker/
H A Dtests.rs14 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()
39 let cache_config = load_config!( in test_on_get_update_usage_counter() localVariable
71 let cache_config = load_config!( in test_on_get_recompress_no_mod_file() localVariable
111 let cache_config = load_config!( in test_on_get_recompress_with_mod_file() localVariable
184 let cache_config = load_config!( in test_on_get_recompress_lock() localVariable
252 let cache_config = load_config!( in test_on_update_fresh_stats_file() localVariable
299 let cache_config = load_config!( in test_on_update_cleanup_limits_trash_locks() localVariable
438 let cache_config = load_config!( in test_on_update_cleanup_lru_policy() localVariable
568 let cache_config = load_config!( in test_on_update_cleanup_future_files() localVariable
[all …]
/wasmtime-44.0.1/crates/cache/src/
H A Dworker.rs47 cache_config: CacheConfig, field
79 cache_config: cache_config.clone(), in start_new()
169 fn default(cache_config: &CacheConfig) -> Self { in default()
292 .cache_config in handle_on_cache_get()
301 self.cache_config in handle_on_cache_get()
397 self.cache_config in directory()
428 self.cache_config.cleanup_interval(), in handle_on_cache_update()
429 self.cache_config in handle_on_cache_update()
442 self.cache_config in handle_on_cache_update()
481 self.cache_config in handle_on_cache_update()
[all …]
H A Dtests.rs23 let cache_config = CacheConfig::from_file(Some(&config_path)).unwrap(); in test_cache_init() localVariable
27 cache_config.directory(), in test_cache_init()
31 cache_config.baseline_compression_level(), in test_cache_init()
36 Cache::new(cache_config) in test_cache_init()
45 let cache_config = load_config!( in test_write_read_cache() localVariable
52 let cache = Cache::new(cache_config.clone()).unwrap(); in test_write_read_cache()
56 cache_config.directory(), in test_write_read_cache()
/wasmtime-44.0.1/crates/wasmtime/src/engine/
H A Dserialization.rs705 let cache_config = engine in cache_accounts_for_opt_level() localVariable
710 assert_eq!(cache_config.cache_hits(), 0); in cache_accounts_for_opt_level()
713 assert_eq!(cache_config.cache_hits(), 1); in cache_accounts_for_opt_level()
720 let cache_config = engine in cache_accounts_for_opt_level() localVariable
726 assert_eq!(cache_config.cache_hits(), 0); in cache_accounts_for_opt_level()
729 assert_eq!(cache_config.cache_hits(), 1); in cache_accounts_for_opt_level()
736 let cache_config = engine in cache_accounts_for_opt_level() localVariable
742 assert_eq!(cache_config.cache_hits(), 0); in cache_accounts_for_opt_level()
745 assert_eq!(cache_config.cache_hits(), 1); in cache_accounts_for_opt_level()
752 let cache_config = engine in cache_accounts_for_opt_level() localVariable
[all …]
/wasmtime-44.0.1/crates/cli-flags/src/
H A Dlib.rs236 pub cache_config: Option<String>,
843 let cache = match &self.codegen.cache_config { in config()