Searched refs:creation_function (Results 1 – 9 of 9) sorted by relevance
/aosp_15_r20/external/python/mako/mako/ |
D | cache.py | 79 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 D | computation_placer.cc | 163 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 D | transfer_manager.cc | 253 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 D | computation_placer.h | 102 ComputationPlacerCreationFunction creation_function); 118 ComputationPlacerCreationFunction creation_function = nullptr; member
|
H A D | transfer_manager.h | 337 TransferManagerCreationFunction creation_function = nullptr; member
|
/aosp_15_r20/external/python/mako/test/ |
D | test_cache.py | 31 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/ |
D | beaker_cache.py | 68 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/ |
D | fixtures.py | 102 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/ |
D | caching.rst | 306 def get_or_create(self, key, creation_function, **kw): 310 self._cache[key] = value = creation_function()
|