Home
last modified time | relevance | path

Searched refs:covariant (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython3/Lib/
Dtyping.py722 def __init__(self, bound, covariant, contravariant): argument
726 if covariant and contravariant:
728 self.__covariant__ = bool(covariant)
802 covariant=False, contravariant=False): argument
804 super().__init__(bound, covariant, contravariant)
924 def __init__(self, name, *, bound=None, covariant=False, contravariant=False): argument
926 super().__init__(bound, covariant, contravariant)
2077 T_co = TypeVar('T_co', covariant=True) # Any type covariant containers.
2078 V_co = TypeVar('V_co', covariant=True) # Any type covariant containers.
2079 VT_co = TypeVar('VT_co', covariant=True) # Value type covariant containers.
[all …]
/external/tensorflow/tensorflow/core/framework/
Dfull_type_util.h87 bool covariant = true);
Dfull_type_util.cc373 bool IsSubtype(const FullTypeDef& lhs, const FullTypeDef& rhs, bool covariant) { in IsSubtype() argument
403 if (covariant) { in IsSubtype()
/external/clang/test/SemaObjC/
Dcomptypes-legal.m34 …// GCC currently allows this (it has some fiarly new support for covariant return types and contra…
Dparameterized_classes.m355 …xpected-error{{contravariant type parameter 'X' conflicts with previous covariant type parameter '…
356 …__covariant Y> () // expected-error{{covariant type parameter 'Y' conflicts with previous contrava…
361 …xpected-error{{contravariant type parameter 'T' conflicts with previous covariant type parameter '…
Dkindof.m352 // Other covariant and contravariant conversions still not permitted.
/external/rust/beto-rust/nearby/crypto/crypto_provider_openssl/src/
Dhmac_openssl.rs29 #[covariant]
/external/rust/crates/hashlink/
DCHANGELOG.md59 - Fix variance for LinkedHashMap (now covariant where appropriate)
/external/python/typing/typing_extensions/src/
Dtyping_extensions.py142 T_co = typing.TypeVar('T_co', covariant=True) # Any type covariant containers.
1154 def __init__(self, name, *, bound=None, covariant=False, contravariant=False): argument
1157 self.__covariant__ = bool(covariant)
Dtest_typing_extensions.py340 T_ints = IntVar("T_ints", covariant=True) # noqa
2094 P_co = ParamSpec('P_co', covariant=True)
2182 P_co = ParamSpec('P_co', covariant=True)
/external/clang/include/clang/Basic/
DDiagnosticASTKinds.td185 "ambiguous vftable component for %0 introduced via covariant thunks; "
188 "covariant thunk required by %0">;
DDiagnosticSemaKinds.td1506 "invalid covariant return for virtual function: %1 is a "
1509 "return type of virtual function %3 is not covariant with the return type of "
1513 "return type of virtual function %0 is not covariant with the return type of "
1516 "return type of virtual function %0 is not covariant with the return type of "
1519 "return type of virtual function %0 is not covariant with the return type of "
1522 "return type of virtual function %0 is not covariant with the return type of "
/external/python/setuptools/setuptools/_vendor/
Dtyping_extensions.py122 T_co = typing.TypeVar('T_co', covariant=True) # Any type covariant containers.
1672 def __init__(self, name, *, bound=None, covariant=False, contravariant=False): argument
1675 self.__covariant__ = bool(covariant)
/external/python/setuptools/setuptools/config/
Dexpand.py54 _V = TypeVar("_V", covariant=True)
/external/python/cpython3/Doc/library/
Dtyping.rst790 Note that ``Type[C]`` is covariant::
802 The fact that ``Type[C]`` is covariant implies that all subclasses of
1110 Type variables may be marked covariant or contravariant by passing
1111 ``covariant=True`` or ``contravariant=True``. See :pep:`484` for more
1118 .. class:: ParamSpec(name, *, bound=None, covariant=False, contravariant=False)
1181 Parameter specification variables created with ``covariant=True`` or
1182 ``contravariant=True`` can be used to declare covariant or contravariant
1982 An ABC with one abstract method ``__abs__`` that is covariant
2010 that is covariant in its return type.
/external/python/typing/typing_extensions/
D__init__.py183 T_co = typing.TypeVar('T_co', covariant=True) # Any type covariant containers.
1824 def __init__(self, name, *, bound=None, covariant=False, contravariant=False): argument
1827 self.__covariant__ = bool(covariant)
/external/python/typing/docs/source/
Dlibraries.rst313 because their type parameters are covariant rather than invariant. A
/external/python/cpython3/Lib/test/
Dtest_typing.py210 T_co = TypeVar('T_co', covariant=True)
248 TypeVar('T', covariant=True, contravariant=True)
1770 U = TypeVar('U', covariant=True)
/external/jline/src/src/test/resources/jline/example/
Denglish.gz
/external/cldr/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/transforms/
Den-IPA.txt9699 $x{covariant → kovɛriənt ; # kɑvɑrɑɪænt
Dinternal_raw_IPA-old.txt44232 covariant %12694 kovˈɛriənt
Dinternal_raw_IPA.txt37394 covariant %25527 kovˈɛriənt