/dports/devel/py-pydantic/pydantic-1.8.2/pydantic/ |
H A D | dataclasses.py | 81 return not hasattr(_cls, '__processed__') and dataclasses.is_dataclass(_cls) 109 _cls: Type[Any], 141 if is_builtin_dataclass(_cls): 143 _cls = type( 145 _cls.__name__, 146 (_cls,), 148 '__annotations__': resolve_annotations(_cls.__annotations__, _cls.__module__), 218 _cls: Type[Any], 232 _cls: Optional[Type[Any]] = None, 252 if _cls is None: [all …]
|
/dports/math/py-Pyomo/Pyomo-6.1.2/pyomo/common/ |
H A D | factory.py | 28 self._cls = {} 34 if not name in self._cls: 40 return self._cls[name](**kwds) 43 for name in self._cls: 47 return str(name) in self._cls 50 return self._cls[name] 57 if name in self._cls: 58 del self._cls[name] 63 self._cls[name] = cls
|
/dports/devel/py-PyUtilib/PyUtilib-6.0.0/pyutilib/factory/ |
H A D | factory.py | 21 self._cls = {} 33 if not name in self._cls: 41 self._cache[name] = self._cls[name](**kwds) 43 return self._cls[name](**kwds) 46 for name in self._cls: 50 return str(name) in self._cls 53 return self._cls[name] 60 if name in self._cls: 61 del self._cls[name] 66 self._cls[name] = cls
|
/dports/astro/py-astropy/astropy-5.0/astropy/cosmology/ |
H A D | connect.py | 82 if self._cls is not Cosmology: 83 kwargs.setdefault("cosmology", self._cls) # set, if not present 86 valid = (self._cls, self._cls.__qualname__) 93 cosmo = self.registry.read(self._cls, *args, **kwargs) 209 if self._cls is not Cosmology: 210 kwargs.setdefault("cosmology", self._cls) # set, if not present 213 valid = (self._cls, self._cls.__qualname__) 219 cosmo = self.registry.read(self._cls, obj, *args, **kwargs)
|
/dports/devel/php-ice37/ice-3.7.2/java-compat/src/Ice/src/main/java/IceInternal/ |
H A D | ListPatcher.java | 12 _cls = cls; in ListPatcher() 23 if(!_cls.isInstance(v)) in valueReady() 25 … throw new ClassCastException("expected element of type " + _cls.getName() + " but received " + in valueReady() 35 _list.set(_index, _cls.cast(v)); in valueReady() 39 private Class<T> _cls; field in ListPatcher
|
H A D | DictionaryPatcher.java | 12 _cls = cls; in DictionaryPatcher() 23 if(!_cls.isInstance(v)) in valueReady() 25 … throw new ClassCastException("expected element of type " + _cls.getName() + " but received " + in valueReady() 30 _dict.put(_key, _cls.cast(v)); in valueReady() 34 private Class<V> _cls; field in DictionaryPatcher
|
H A D | SequencePatcher.java | 12 _cls = cls; in SequencePatcher() 23 if(!_cls.isInstance(v)) in valueReady() 25 … throw new ClassCastException("expected element of type " + _cls.getName() + " but received " + in valueReady() 34 private Class<?> _cls; field in SequencePatcher
|
/dports/devel/ice37/ice-3.7.2/java-compat/src/Ice/src/main/java/IceInternal/ |
H A D | ListPatcher.java | 12 _cls = cls; in ListPatcher() 23 if(!_cls.isInstance(v)) in valueReady() 25 … throw new ClassCastException("expected element of type " + _cls.getName() + " but received " + in valueReady() 35 _list.set(_index, _cls.cast(v)); in valueReady() 39 private Class<T> _cls; field in ListPatcher
|
H A D | DictionaryPatcher.java | 12 _cls = cls; in DictionaryPatcher() 23 if(!_cls.isInstance(v)) in valueReady() 25 … throw new ClassCastException("expected element of type " + _cls.getName() + " but received " + in valueReady() 30 _dict.put(_key, _cls.cast(v)); in valueReady() 34 private Class<V> _cls; field in DictionaryPatcher
|
H A D | SequencePatcher.java | 12 _cls = cls; in SequencePatcher() 23 if(!_cls.isInstance(v)) in valueReady() 25 … throw new ClassCastException("expected element of type " + _cls.getName() + " but received " + in valueReady() 34 private Class<?> _cls; field in SequencePatcher
|
/dports/devel/py-ice37/ice-3.7.2/java-compat/src/Ice/src/main/java/IceInternal/ |
H A D | ListPatcher.java | 12 _cls = cls; in ListPatcher() 23 if(!_cls.isInstance(v)) in valueReady() 25 … throw new ClassCastException("expected element of type " + _cls.getName() + " but received " + in valueReady() 35 _list.set(_index, _cls.cast(v)); in valueReady() 39 private Class<T> _cls; field in ListPatcher
|
H A D | DictionaryPatcher.java | 12 _cls = cls; in DictionaryPatcher() 23 if(!_cls.isInstance(v)) in valueReady() 25 … throw new ClassCastException("expected element of type " + _cls.getName() + " but received " + in valueReady() 30 _dict.put(_key, _cls.cast(v)); in valueReady() 34 private Class<V> _cls; field in DictionaryPatcher
|
H A D | SequencePatcher.java | 12 _cls = cls; in SequencePatcher() 23 if(!_cls.isInstance(v)) in valueReady() 25 … throw new ClassCastException("expected element of type " + _cls.getName() + " but received " + in valueReady() 34 private Class<?> _cls; field in SequencePatcher
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/interfaces/cython/cantera/test/ |
H A D | test_reaction.py | 202 _cls = ct.ArrheniusRate variable in TestArrheniusRate 236 _cls = ct.PlogRate variable in TestPlogRate 313 _cls = ct.ChebyshevRate variable in TestChebyshevRate 626 _cls = ct.ThreeBodyReaction variable in TestThreeBody 662 _cls = ct.ThreeBodyReaction variable in TestThreeBody2 676 _cls = ct.ThreeBodyReaction variable in TestImplicitThreeBody 706 _cls = ct.PlogReaction variable in TestPlog 770 _cls = ct.PlogReaction variable in TestPlog2 788 _cls = ct.ChebyshevReaction variable in TestChebyshev 823 _cls = ct.ChebyshevReaction variable in TestChebyshev2 [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/tools/idl_parser/ |
H A D | idl_node.py | 60 self._cls = 'Property' 68 return self._cls 85 self._cls = cls 106 return '%s(%s) = "%s"' % (self._cls, name, value) 107 return '%s(%s)' % (self._cls, name) 128 return self._cls 137 if self._cls in filter_nodes: 178 if self._cls in typelist:
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/tools/idl_parser/ |
H A D | idl_node.py | 60 self._cls = 'Property' 68 return self._cls 85 self._cls = cls 106 return '%s(%s) = "%s"' % (self._cls, name, value) 107 return '%s(%s)' % (self._cls, name) 128 return self._cls 137 if self._cls in filter_nodes: 178 if self._cls in typelist:
|
/dports/cad/py-pymtl/pymtl3-3.1.6/pymtl3/passes/testcases/ |
H A D | TestCase.py | 25 def set_attributes( _cls, *args ): argument 29 cls = type(_cls.__name__, (_cls,), dict(_cls.__dict__))
|
/dports/science/py-obspy/obspy-1.2.2/obspy/clients/fdsn/tests/ |
H A D | test_federator_routing_client.py | 30 self._cls = ("obspy.clients.fdsn.routing.federator_routing_client." 103 with mock.patch(self._cls + ".get_waveforms_bulk") as p: 124 with mock.patch(self._cls + ".get_waveforms_bulk") as p: 163 with mock.patch(self._cls + "._download") as p1, \ 164 mock.patch(self._cls + "._download_waveforms") as p2: 208 with mock.patch(self._cls + ".get_stations_bulk") as p: 228 with mock.patch(self._cls + ".get_stations_bulk") as p: 266 with mock.patch(self._cls + "._download") as p1, \ 267 mock.patch(self._cls + "._download_stations") as p2:
|
H A D | test_eidaws_routing_client.py | 31 self._cls = ("obspy.clients.fdsn.routing.eidaws_routing_client." 157 with mock.patch(self._cls + ".get_waveforms_bulk") as p: 185 with mock.patch(self._cls + "._download") as p1, \ 186 mock.patch(self._cls + "._download_waveforms") as p2, \ 187 mock.patch(self._cls + ".get_stations_bulk") as p3: 245 with mock.patch(self._cls + "._download") as p1, \ 246 mock.patch(self._cls + "._download_stations") as p2: 285 with mock.patch(self._cls + "._download") as p1, \ 286 mock.patch(self._cls + "._download_stations") as p2:
|
/dports/databases/py-fdb/fdb-2.0.1/fdb/ |
H A D | utils.py | 246 def __init__(self, items=None, _cls=None, key_expr=None): argument 262 self._cls = _cls 265 if self._cls and not isinstance(value, self._cls): 369 return ObjectList(self.ifilter(expr), self._cls, self.__key_expr) 482 …eturn ObjectList(self.ifilter(expr), self._cls, self.__key_expr), ObjectList(self.ifilterfalse(exp… 501 l = ObjectList(_cls=self._cls, key_expr=self.__key_expr) 612 …class_type = property(fget=lambda self: self._cls, doc='Class or list/tuple of classes that this l…
|
/dports/math/py-Pyomo/Pyomo-6.1.2/pyomo/scripting/plugins/ |
H A D | build_ext.py | 47 _cls = str(_info[0].__name__ if _info[0] is not None 49 logger.error(_cls + str(_info[1])) 54 _cls = str(_info[0].__name__ if _info[0] is not None 56 logger.error(_cls + str(_info[1]))
|
H A D | download.py | 51 _cls = str(_info[0].__name__ if _info[0] is not None 53 logger.error(_cls + str(_info[1])) 58 _cls = str(_info[0].__name__ if _info[0] is not None 60 logger.error(_cls + str(_info[1]))
|
/dports/databases/grass7/grass-7.8.6/raster/r.terraflow/ |
H A D | types.h | 124 #define SHALLOW_OP_EQ(_cls) \ argument 126 operator==(const _cls &a, const _cls &b) { \ 127 const int n = sizeof(_cls); \
|
/dports/devel/py-logbook/Logbook-1.1.0/logbook/ |
H A D | _fallback.py | 99 def greenletbound(self, _cls=_StackBound): argument 103 return _cls(self, self.push_greenlet, self.pop_greenlet) 105 def threadbound(self, _cls=_StackBound): argument 109 return _cls(self, self.push_thread, self.pop_thread) 111 def applicationbound(self, _cls=_StackBound): argument 115 return _cls(self, self.push_application, self.pop_application)
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/gui/src/jni/ |
H A D | StartPlotBrowser.hxx | 147 jclass _cls = curEnv->FindClass(className().c_str()); in initClass() local 148 if (_cls) in initClass() 150 cls = static_cast<jclass>(curEnv->NewGlobalRef(_cls)); in initClass()
|