OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:covariant
(Results
1 - 25
of
283
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/clang/test/CodeGenCXX/
microsoft-abi-vtables-ambiguous.cpp
12
virtual B *foo(); // expected-note{{
covariant
thunk required by 'foo'}}
17
virtual C *bar(); // expected-note{{
covariant
thunk required by 'bar'}}
31
virtual B *foo(); // expected-note{{
covariant
thunk required by 'foo'}}
36
virtual C *foo(); // expected-note{{
covariant
thunk required by 'foo'}}
thunks.cpp
51
// Check that we emit a
covariant
thunk for B::f.
299
// Varargs thunk; check that both the this and
covariant
adjustments
347
// Varargs non-
covariant
thunk test.
microsoft-abi-vtables-return-thunks.cpp
7
// Some
covariant
types.
14
// One base class and two overrides, all with
covariant
return types.
73
//
Covariant
types. D* is not trivially convertible to C*.
/external/mockito/src/test/java/org/mockitousage/bugs/
CovariantOverrideTest.java
24
// Java 5
covariant
override of method from parent interface
52
mock.callMe(); //
covariant
override not generated
53
ReturnsObject mock2 = mock; // Switch to base type to call
covariant
override
/external/clang/test/SemaCXX/
virtual-override.cpp
25
virtual b* f(); // expected-error{{return type of virtual function 'f' is not
covariant
with the return type of the function it overrides ('T2::b *' is not derived from 'T2::a *')}}
40
virtual b* f(); // expected-error{{invalid
covariant
return for virtual function: 'T3::a' is a private base class of 'T3::b'}}
56
virtual b* f(); // expected-error{{return type of virtual function 'f' is not
covariant
with the return type of the function it overrides (ambiguous conversion from derived class 'T4::b' to base class 'T4::a':\n\
74
virtual a* g(); // expected-error{{return type of virtual function 'g' is not
covariant
with the return type of the function it overrides ('T5::a *' has different qualifiers than 'T5::a *const')}}
90
virtual const a* g(); // expected-error{{return type of virtual function 'g' is not
covariant
with the return type of the function it overrides (class type 'const T6::a *' is more qualified than class type 'T6::a *'}}
117
b* f(); // expected-error {{return type of virtual function 'f' is not
covariant
with the return type of the function it overrides ('T8::b' is incomplete)}}
233
virtual TD<M>* f1(); // expected-error{{return type of virtual function 'f1' is not
covariant
with the return type of the function it overrides ('TD<1> *'}}
234
virtual D* f2(); // expected-error{{return type of virtual function 'f2' is not
covariant
with the return type of the function it overrides ('type_dependent_covariance::D *' is not derived from 'TB<1> *')}}
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/builder/
TestChildComponentWithBuilderInterface.java
41
@Override Builder setM2(IntModuleIncludingDoubleAndFloat m2); // Test
covariant
overrides
TestComponentWithGenericBuilderAbstractClass.java
42
@Override abstract Builder setM2(IntModuleIncludingDoubleAndFloat m2); // Test
covariant
overrides
TestComponentWithGenericBuilderInterface.java
41
@Override Builder setM2(IntModuleIncludingDoubleAndFloat m2); // Test
covariant
overrides allowed
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
RegularImmutableAsList.java
51
@SuppressWarnings("unchecked") // safe
covariant
cast!
ImmutableMap.java
102
@SuppressWarnings("unchecked") // all supported methods are
covariant
153
// immutable collections are safe for
covariant
casts
ImmutableSet.java
101
@SuppressWarnings("unchecked") // all supported methods are
covariant
/external/clang/utils/VtableTest/
gen.cc
9
#define
COVARIANT
0
31
// The return type for each function when doing
covariant
testcase generation.
45
if (!
COVARIANT
)
110
if (!
COVARIANT
)
158
if (
COVARIANT
) {
234
if (
COVARIANT
) {
/external/clang/test/SemaObjC/
comptypes-legal.m
34
// GCC currently allows this (it has some fiarly new support for
covariant
return types and contravariant argument types).
/external/guava/guava/src/com/google/common/cache/
RemovalListener.java
46
// RemovalNotification is guaranteed
covariant
, let's make users' lives simpler.
/external/guava/guava/src/com/google/common/collect/
RegularImmutableAsList.java
52
@SuppressWarnings("unchecked") // safe
covariant
cast!
GenericMapMaker.java
128
@SuppressWarnings("unchecked") // safe
covariant
cast
ImmutableClassToInstanceMap.java
127
@SuppressWarnings("unchecked") //
covariant
casts safe (unmodifiable)
/libcore/ojluni/src/main/java/java/time/chrono/
IsoChronology.java
186
@Override // override with
covariant
return type
203
@Override // override with
covariant
return type
217
@Override // override with
covariant
return type
232
@Override // override with
covariant
return type
246
@Override // override with
covariant
return type
261
@Override // override with
covariant
return type
275
@Override // override with
covariant
return type
289
@Override // override with
covariant
return type
322
@Override // override with
covariant
return type
339
@Override // override with
covariant
return typ
[
all
...]
/external/dagger2/core/src/main/java/dagger/internal/
DoubleCheckLazy.java
65
// are different types using
covariant
return on get(). Right now this is used with
/external/guava/guava/src/com/google/common/base/
Absent.java
54
@SuppressWarnings("unchecked") // safe
covariant
cast
/development/tools/apkcheck/
README.txt
111
(4)
Covariant
return types
159
as a
covariant
return type. When the generic type is in the parameter
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
ProvidesMethodValidator.java
140
// TODO(gak): should we allow "
covariant
return" for set values?
/external/llvm/unittests/Support/
ErrorOrTest.cpp
57
TEST(ErrorOr,
Covariant
) {
/external/python/cpython3/Lib/
typing.py
451
Type variables defined with
covariant
=True or contravariant=True
452
can be used do declare
covariant
or contravariant generic types.
469
covariant
=False, contravariant=False):
471
covariant
=
covariant
, contravariant=contravariant)
473
if
covariant
and contravariant:
475
self.__covariant__ = bool(
covariant
)
513
T_co = TypeVar('T_co',
covariant
=True) # Any type
covariant
containers.
514
V_co = TypeVar('V_co',
covariant
=True) # Any type covariant containers
[
all
...]
/external/python/cpython3/Doc/library/
typing.rst
420
Type variables may be marked
covariant
or contravariant by passing
421
``
covariant
=True`` or ``contravariant=True``. See :pep:`484` for more
463
Note that ``Type[C]`` is
covariant
::
475
The fact that ``Type[C]`` is
covariant
implies that all subclasses of
513
An ABC with one abstract method ``__abs__`` that is
covariant
519
that is
covariant
in its return type.
Completed in 3764 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>