Home
last modified time | relevance | path

Searched refs:creation_function (Results 1 – 9 of 9) sorted by relevance

/aosp_15_r20/external/python/mako/mako/
Dcache.py79 def get_or_create(self, key, creation_function, **kw): argument
83 return self._ctx_get_or_create(key, creation_function, None, **kw)
85 def _ctx_get_or_create(self, key, creation_function, context, **kw): argument
90 return creation_function()
93 key, creation_function, **self._get_cache_kw(kw, context)
195 def get_or_create(self, key, creation_function, **kw): argument
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/
H A Dcomputation_placer.cc163 ComputationPlacerCreationFunction creation_function) { in RegisterComputationPlacer() argument
167 (*computation_placers)[platform_id].creation_function = creation_function; in RegisterComputationPlacer()
185 it->second.placer = (*it->second.creation_function)(); in GetForPlatform()
H A Dtransfer_manager.cc253 TransferManagerCreationFunction creation_function) { in RegisterTransferManager() argument
257 (*managers)[platform_id].creation_function = creation_function; in RegisterTransferManager()
275 it->second.manager = (*it->second.creation_function)(); in GetForPlatform()
H A Dcomputation_placer.h102 ComputationPlacerCreationFunction creation_function);
118 ComputationPlacerCreationFunction creation_function = nullptr; member
H A Dtransfer_manager.h337 TransferManagerCreationFunction creation_function = nullptr; member
/aosp_15_r20/external/python/mako/test/
Dtest_cache.py31 def get_or_create(self, key, creation_function, **kw): argument
35 self.cache[key] = value = creation_function()
58 def get_or_create(self, key, creation_function, **kw): argument
61 return self.realcacheimpl.get_or_create(key, creation_function, **kw)
/aosp_15_r20/external/python/mako/mako/ext/
Dbeaker_cache.py68 def get_or_create(self, key, creation_function, **kw): argument
70 return cache.get(key, createfunc=creation_function, **kw)
/aosp_15_r20/external/python/mako/mako/testing/
Dfixtures.py102 def get_or_create(self, key, creation_function, **kw): argument
106 self.data[key] = data = creation_function(**kw)
/aosp_15_r20/external/python/mako/doc/build/
Dcaching.rst306 def get_or_create(self, key, creation_function, **kw):
310 self._cache[key] = value = creation_function()