Home
last modified time | relevance | path

Searched refs:type_key (Results 1 – 25 of 375) sorted by relevance

12345678910>>...15

/dports/x11/terminator/terminator-2.1.1/terminatorlib/
H A Dfactory.py58 type_key = 'terminatorlib.%s' % self.types[classtype]
59 if type_key not in self.instance_types_keys:
60 self.instance_types[type_key] = __import__(type_key, None, None, [''])
61 self.instance_types_keys.append(type_key)
62 module = self.instance_types[type_key]
64 type_key = self.types[classtype]
65 if type_key not in self.instance_types_keys:
66 self.instance_types[type_key] = __import__(type_key, None, None, [''])
67 self.instance_types_keys.append(type_key)
68 module = self.instance_types[type_key]
/dports/misc/tvm/incubator-tvm-0.6.1/python/tvm/relay/
H A Dbase.py27 def register_relay_node(type_key=None): argument
35 if not isinstance(type_key, str):
37 "relay." + type_key.__name__)(type_key)
38 return _register_tvm_node(type_key)
41 def register_relay_attr_node(type_key=None): argument
49 if not isinstance(type_key, str):
51 "relay.attrs." + type_key.__name__)(type_key)
52 return _register_tvm_node(type_key)
/dports/misc/py-tvm/incubator-tvm-0.6.1/python/tvm/relay/
H A Dbase.py27 def register_relay_node(type_key=None): argument
35 if not isinstance(type_key, str):
37 "relay." + type_key.__name__)(type_key)
38 return _register_tvm_node(type_key)
41 def register_relay_attr_node(type_key=None): argument
49 if not isinstance(type_key, str):
51 "relay.attrs." + type_key.__name__)(type_key)
52 return _register_tvm_node(type_key)
/dports/misc/tvm/incubator-tvm-0.6.1/python/tvm/
H A Dmodule.py35 return "Module(%s, %x)" % (self.type_key, self.handle.value)
38 def type_key(self): member in Module
114 if self.type_key == "stackvm":
117 "did you build with LLVM enabled?" % self.type_key)
121 if not (self.type_key == "llvm" or self.type_key == "c"):
122 raise ValueError("Module[%s]: Only llvm and c support export shared" % self.type_key)
127 if self.type_key == "llvm":
130 assert self.type_key == "c"
135 is_system_lib = self.type_key == "llvm" and self.get_function("__tvm_is_system_module")()
146 if self.type_key == "c":
/dports/misc/py-tvm/incubator-tvm-0.6.1/python/tvm/
H A Dmodule.py35 return "Module(%s, %x)" % (self.type_key, self.handle.value)
38 def type_key(self): member in Module
114 if self.type_key == "stackvm":
117 "did you build with LLVM enabled?" % self.type_key)
121 if not (self.type_key == "llvm" or self.type_key == "c"):
122 raise ValueError("Module[%s]: Only llvm and c support export shared" % self.type_key)
127 if self.type_key == "llvm":
130 assert self.type_key == "c"
135 is_system_lib = self.type_key == "llvm" and self.get_function("__tvm_is_system_module")()
146 if self.type_key == "c":
/dports/comms/anyremote/anyremote-6.7.3/src/
H A Dconf.h47 void printKeys (type_key* k);
60 void setRepeatNow (type_key *k);
61 type_key* repeatNow ();
63 type_key* findItem (const char *key, int *flag, cmdParams *param);
64 type_key* findExact (mode *mode, const char *key);
65 SingleList* getCommand (type_key* item);
H A Dconf.c192 static type_key* repeatCMD = NULL;
194 void setRepeatNow(type_key* repeat) in setRepeatNow()
199 type_key* repeatNow() in repeatNow()
328 type_key* It = mode->keys; in findExact()
335 It = (type_key*) It->next; in findExact()
347 type_key* It = mode->keys; in findStartingWith()
374 It = (type_key*) It->next; in findStartingWith()
633 type_key *tk = NULL; in findItem()
679 SingleList *getCommand(type_key* item) in getCommand()
745 void printKeys(type_key* key) in printKeys()
[all …]
/dports/www/drupal8/drupal-8.9.20/core/lib/Drupal/Core/Language/ContextProvider/
H A DCurrentLanguageContext.php53 foreach ($language_types as $type_key) {
54 if (isset($info[$type_key]['name'])) {
55 …ew ContextDefinition('language', $info[$type_key]['name']), $this->languageManager->getCurrentLang…
58 $cacheability->setCacheContexts(['languages:' . $type_key]);
61 $result[$type_key] = $context;
/dports/www/drupal9/drupal-9.2.10/core/lib/Drupal/Core/Language/ContextProvider/
H A DCurrentLanguageContext.php53 foreach ($language_types as $type_key) {
54 if (isset($info[$type_key]['name'])) {
55 …ew ContextDefinition('language', $info[$type_key]['name']), $this->languageManager->getCurrentLang…
58 $cacheability->setCacheContexts(['languages:' . $type_key]);
61 $result[$type_key] = $context;
/dports/devel/pyside2-tools/pyside-setup-opensource-src-5.15.2/sources/shiboken2/libshiboken/signature/
H A Dsignature.cpp126 PyObject *TypeKey_to_PropsDict(PyObject *type_key, PyObject *obtype) in TypeKey_to_PropsDict() argument
128 PyObject *dict = PyDict_GetItem(pyside_globals->arg_dict, type_key); in TypeKey_to_PropsDict()
135 dict = PySide_BuildSignatureProps(type_key); in TypeKey_to_PropsDict()
177 AutoDecRef type_key(GetTypeKey(obtype_mod)); in GetSignature_Function() local
178 if (type_key.isNull()) in GetSignature_Function()
180 PyObject *dict = TypeKey_to_PropsDict(type_key, obtype_mod); in GetSignature_Function()
300 AutoDecRef type_key(GetTypeKey(obtype_mod)); in PySide_BuildSignatureArgs() local
309 if (type_key.isNull() || numkey.isNull() in PySide_BuildSignatureArgs()
319 PyObject *PySide_BuildSignatureProps(PyObject *type_key) in PySide_BuildSignatureProps() argument
328 if (type_key == nullptr) in PySide_BuildSignatureProps()
[all …]
/dports/devel/pyside2/pyside-setup-opensource-src-5.15.2/sources/shiboken2/libshiboken/signature/
H A Dsignature.cpp126 PyObject *TypeKey_to_PropsDict(PyObject *type_key, PyObject *obtype) in TypeKey_to_PropsDict() argument
128 PyObject *dict = PyDict_GetItem(pyside_globals->arg_dict, type_key); in TypeKey_to_PropsDict()
135 dict = PySide_BuildSignatureProps(type_key); in TypeKey_to_PropsDict()
177 AutoDecRef type_key(GetTypeKey(obtype_mod)); in GetSignature_Function() local
178 if (type_key.isNull()) in GetSignature_Function()
180 PyObject *dict = TypeKey_to_PropsDict(type_key, obtype_mod); in GetSignature_Function()
300 AutoDecRef type_key(GetTypeKey(obtype_mod)); in PySide_BuildSignatureArgs() local
309 if (type_key.isNull() || numkey.isNull() in PySide_BuildSignatureArgs()
319 PyObject *PySide_BuildSignatureProps(PyObject *type_key) in PySide_BuildSignatureProps() argument
328 if (type_key == nullptr) in PySide_BuildSignatureProps()
[all …]
/dports/devel/shiboken2/pyside-setup-opensource-src-5.15.2/sources/shiboken2/libshiboken/signature/
H A Dsignature.cpp126 PyObject *TypeKey_to_PropsDict(PyObject *type_key, PyObject *obtype) in TypeKey_to_PropsDict() argument
128 PyObject *dict = PyDict_GetItem(pyside_globals->arg_dict, type_key); in TypeKey_to_PropsDict()
135 dict = PySide_BuildSignatureProps(type_key); in TypeKey_to_PropsDict()
177 AutoDecRef type_key(GetTypeKey(obtype_mod)); in GetSignature_Function() local
178 if (type_key.isNull()) in GetSignature_Function()
180 PyObject *dict = TypeKey_to_PropsDict(type_key, obtype_mod); in GetSignature_Function()
300 AutoDecRef type_key(GetTypeKey(obtype_mod)); in PySide_BuildSignatureArgs() local
309 if (type_key.isNull() || numkey.isNull() in PySide_BuildSignatureArgs()
319 PyObject *PySide_BuildSignatureProps(PyObject *type_key) in PySide_BuildSignatureProps() argument
328 if (type_key == nullptr) in PySide_BuildSignatureProps()
[all …]
/dports/editors/neovim/neovim-0.6.1/test/unit/api/
H A Dhelpers.lua14 local type_key = eval_helpers.type_key
30 local ret = {[type_key]=list_type}
35 ret[type_key] = nil
61 return {[type_key]=int_type, value=tonumber(obj.data.integer)}
128 if l[type_key] then
129 return lua2obj_type_tab[l[type_key]](l)
160 type_key=type_key,
H A Dprivate_helpers_spec.lua17 local type_key = api_helpers.type_key
45 simple_test('converts integer 10', {[type_key]=int_type, value=10})
49 simple_test('converts empty list', {[type_key]=list_type})
83 eq({[type_key]=list_type}, obj2lua(api.vim_to_object(tt)))
95 [type_key]=func_type,
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/tests/python/unittest/
H A Dtest_runtime_module_export.py95 assert loaded_lib.type_key == "library"
96 assert loaded_lib.imported_modules[0].type_key == "cuda"
97 assert loaded_lib.imported_modules[0].imported_modules[0].type_key == "library"
127 assert loaded_lib.type_key == "library"
128 assert loaded_lib.imported_modules[0].type_key == "library"
182 assert lib.type_key == "examplejson"
183 assert lib.imported_modules[0].type_key == "library"
217 assert loaded_lib.type_key == "library"
218 assert loaded_lib.imported_modules[0].type_key == "library"
219 assert loaded_lib.imported_modules[1].type_key == "library"
/dports/misc/tvm/incubator-tvm-0.6.1/python/tvm/_ffi/
H A Dobject.py51 def register_object(type_key=None): argument
70 object_name = type_key if isinstance(type_key, str) else type_key.__name__
91 if isinstance(type_key, str):
94 return register(type_key)
/dports/misc/py-tvm/incubator-tvm-0.6.1/python/tvm/_ffi/
H A Dobject.py51 def register_object(type_key=None): argument
70 object_name = type_key if isinstance(type_key, str) else type_key.__name__
91 if isinstance(type_key, str):
94 return register(type_key)
/dports/devel/py-oci/oci-2.53.1/src/oci/data_catalog/models/
H A Dcreate_data_asset_details.py115 def type_key(self): member in CreateDataAssetDetails
126 @type_key.setter
127 def type_key(self, type_key): argument
136 self._type_key = type_key
H A Dcreate_connection_details.py129 def type_key(self): member in CreateConnectionDetails
140 @type_key.setter
141 def type_key(self, type_key): member in CreateConnectionDetails
150 self._type_key = type_key
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/src/node/
H A Dreflection.cc155 ObjectPtr<Object> ReflectionVTable::CreateInitObject(const std::string& type_key, in CreateInitObject() argument
157 uint32_t tindex = Object::TypeKey2Index(type_key); in CreateInitObject()
166 std::string type_key; member in tvm::NodeAttrSetter
190 LOG(FATAL) << type_key << ": require field " << key; in GetAttr()
200 setter.type_key = n->GetTypeKey(); in InitNodeByPackedArgs()
209 os << setter.type_key << " does not contain field "; in InitNodeByPackedArgs()
217 ObjectRef ReflectionVTable::CreateObject(const std::string& type_key, const TVMArgs& kwargs) { in CreateObject() argument
218 ObjectPtr<Object> n = this->CreateInitObject(type_key); in CreateObject()
227 ObjectRef ReflectionVTable::CreateObject(const std::string& type_key, in CreateObject() argument
274 std::string type_key = args[0]; in MakeNode() local
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/python/tvm/runtime/
H A Dmodule.py115 return "Module(%s, %x)" % (self.type_key, self.handle.value)
118 def type_key(self): member in Module
253 return self.type_key == "llvm" or self.type_key == "c"
285 if self.type_key == "stackvm":
289 "did you build with LLVM enabled?" % self.type_key
304 if module.type_key == "llvm":
307 assert module.type_key == "c"
314 module.type_key == "llvm" and module.get_function("__tvm_is_system_module")()
317 module.type_key == "llvm" and module.get_function("_get_target_triple")()
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/rust/tvm/src/ir/relay/
H A Dmod.rs28 #[type_key = "relay.Id"]
47 #[type_key = "Expr"]
69 #[type_key = "relay.Expr"]
89 #[type_key = "GlobalVar"]
108 #[type_key = "relay.Constant"]
127 #[type_key = "relay.Var"]
159 #[type_key = "relay.Call"]
190 #[type_key = "BaseFunc"]
208 #[type_key = "relay.Function"]
/dports/math/viennacl/ViennaCL-1.7.1/viennacl/device_specific/templates/
H A Dutils.hpp60 inline void process_all(std::string const & type_key, std::string const & str, in process_all() argument
65 if (mmit->second->type_key()==type_key) in process_all()
70 inline void process_all_at(std::string const & type_key, std::string const & str, in process_all_at() argument
77 if (obj->type_key()==type_key) in process_all_at()
/dports/games/tycho/species/
H A Doperand.cpp45 PANIC(MISC,"bad ",type_key()); in desc_to_impl()
60 kvp = ini.get(type_key()); in read_ini()
72 PANIC(MISC,kvp->getValueAsChar(),type_key()); in read_ini()
83 kvp = ini.get(type_key()); in read_override_ini()
105 PANIC(MISC,kvp->getValueAsChar(),type_key()); in read_override_ini()
/dports/games/species/species/
H A Doperand.cpp45 PANIC(MISC,"bad ",type_key()); in desc_to_impl()
60 kvp = ini.get(type_key()); in read_ini()
72 PANIC(MISC,kvp->getValueAsChar(),type_key()); in read_ini()
83 kvp = ini.get(type_key()); in read_override_ini()
105 PANIC(MISC,kvp->getValueAsChar(),type_key()); in read_override_ini()

12345678910>>...15