Home
last modified time | relevance | path

Searched refs:gen_cache (Results 1 – 14 of 14) sorted by relevance

/dports/devel/py-libcst/libcst-0.3.23/libcst/metadata/tests/
H A Dtest_full_repo_manager.py20 def test_get_metadata_wrapper_with_empty_cache(self, gen_cache: Mock) -> None:
22 gen_cache.return_value = {path: {"types": []}}
28 def test_get_metadata_wrapper_with_patched_cache(self, gen_cache: Mock) -> None:
31 gen_cache.return_value = {
39 def test_get_metadata_wrapper_with_invalid_path(self, gen_cache: Mock) -> None:
41 gen_cache.return_value = {path: {"types": []}}
52 def test_get_full_repo_cache(self, gen_cache: Mock) -> None:
58 gen_cache.return_value = mock_cache
H A Dtest_metadata_wrapper.py53 gen_cache = tuple variable in MetadataWrapperTest.test_metadata_cache.DummyMetadataProvider
63 gen_cache = tuple variable in MetadataWrapperTest.test_metadata_cache.SimpleCacheMetadataProvider
H A Dtest_type_inference_provider.py79 cache = TypeInferenceProvider.gen_cache(
H A Dtest_name_provider.py46 FullyQualifiedNameProvider: FullyQualifiedNameProvider.gen_cache(
/dports/sysutils/py-salt/salt-3004.1/tests/integration/runners/
H A Dtest_fileserver.py87 def gen_cache(): function
96 with gen_cache():
102 with gen_cache():
110 with gen_cache():
118 with gen_cache():
125 with gen_cache():
132 with gen_cache():
139 with gen_cache():
146 with gen_cache():
/dports/devel/ros-rosdistro/rosdistro-0.7.5/scripts/
H A Drosdistro_generate_cache9 def gen_cache(options, args):
29 gen_cache(options, args)
/dports/devel/py-libcst/libcst-0.3.23/libcst/metadata/
H A Dbase_provider.py60 gen_cache: Optional[Callable[[Path, List[str], int], Mapping[str, object]]] = None variable in BaseMetadataProvider
65 if self.gen_cache and cache is None:
H A Dwrapper.py89 if P.gen_cache
95 p(wrapper._cache.get(p)) if p.gen_cache else p() for p in batchable
H A Dfull_repo_manager.py64 handler = provider.gen_cache
H A Dtype_inference_provider.py56 def gen_cache( member in TypeInferenceProvider
H A Dname_provider.py119 def gen_cache( member in FullyQualifiedNameProvider
/dports/multimedia/lives/lives-3.2.0/src/
H A Dmainwindow.h1519 LiVESList *gen_cache; ///< general cache of fi member
H A Dmain.c2882 cache_backup = mainw->gen_cache; in set_palette_colours()
2883 if (!(mainw->gen_cache = cache_file_contents(themefile))) themefile = NULL; in set_palette_colours()
2888 if (!is_OK || !(pstyle = get_val_from_cached_list(THEME_DETAIL_STYLE, 8, mainw->gen_cache))) { in set_palette_colours()
2936 lives_list_free_all(&mainw->gen_cache); in set_palette_colours()
2937 mainw->gen_cache = cache_backup; in set_palette_colours()
2968 lives_list_free_all(&mainw->gen_cache); in set_palette_colours()
2969 mainw->gen_cache = cache_backup; in set_palette_colours()
4305 mainw->prefs_cache = mainw->hdrs_cache = mainw->gen_cache = NULL; in real_main()
H A Dpreferences.c108 return get_pref_inner(filename, key, val, maxlen, mainw->gen_cache); in get_pref_from_file()
240 tmp = get_val_from_cached_list(key, 64, mainw->gen_cache); in get_theme_colour_pref()