Home
last modified time | relevance | path

Searched defs:foo (Results 1 – 25 of 4283) sorted by relevance

12345678910>>...172

/third_party/typescript/tests/baselines/reference/
DprivateNameDuplicateField.js6 #foo = "foo"; field in Field.A_Field_Field
7 #foo = "foo"; field in Field.A_Field_Field
12 #foo = "foo"; field in Field.A_Field_Method
13 #foo() { } method in Field.A_Field_Method
18 #foo = "foo"; field in Field.A_Field_Getter
19 get #foo() { return ""} method in Field.A_Field_Getter
24 #foo = "foo"; field in Field.A_Field_Setter
25 set #foo(value: string) { } method in Field.A_Field_Setter
30 #foo = "foo"; field in Field.A_Field_StaticField
31 static #foo = "foo"; field in Field.A_Field_StaticField
[all …]
DassignmentToExpandingArrayType.js4 x[0] = { foo: 'hi' } property
5 x[0] = { foo: 'hi' } property
6 x[0] = { foo: 'hi' } property
7 x[0] = { foo: 'hi' } property
8 x[0] = { foo: 'hi' } property
9 x[0] = { foo: 'hi' } property
10 x[0] = { foo: 'hi' } property
11 x[0] = { foo: 'hi' } property
12 x[0] = { foo: 'hi' } property
13 x[0] = { foo: 'hi' } property
[all …]
DspreadOfObjectLiteralAssignableToIndexSignature.js2 const foo: Record<never, never> = {} // OK constant
6 recordOfRecords.propA = {...(foo !== undefined ? {foo} : {})} // OK field
7 recordOfRecords.propB = {...(foo && {foo})} // OK field
8 recordOfRecords.propC = {...(foo !== undefined && {foo})} // error'd in 3.7 beta, should be OK field
12 recordsOfRecordsOrEmpty.propA = {...(foo !== undefined ? {foo} : {})} // OK field
13 recordsOfRecordsOrEmpty.propB = {...(foo && {foo})} // OK field
14 recordsOfRecordsOrEmpty.propC = {...(foo !== undefined && {foo})} // OK field
29 var foo = {}; // OK variable
31 recordOfRecords.propA = __assign({}, (foo !== undefined ? { foo: foo } : {})); // OK property
32 recordOfRecords.propB = __assign({}, (foo && { foo: foo })); // OK property
[all …]
/third_party/typescript/tests/cases/conformance/types/objectTypeLiteral/callSignatures/
DspecializedSignatureIsSubtypeOfNonSpecializedSignature.ts4 function foo(x: 'a'); function
9 foo(x: 'a'); method in C
15 foo(x: 'a'); method in C2
22 foo(x: 'a'); method in C3
32 foo(x: 'a'); method
33 foo(x: string); method
34 foo(x: number); method
41 foo(x: 'a'); method
42 foo(x: string); method
43 foo(x: T); method
[all …]
DspecializedSignatureIsNotSubtypeOfNonSpecializedSignature.ts3 function foo(x: 'a'); function
7 foo(x: 'a'); method in C
13 foo(x: 'a'); method in C2
19 foo(x: 'a'); method in C3
27 foo(x: 'a'); method
28 foo(x: number); method
34 foo(x: 'a'); method
35 foo(x: T); method
41 foo(x: 'a'); method
42 foo(x: T); method
[all …]
/third_party/typescript/tests/cases/conformance/types/typeRelationships/subtypesAndSuperTypes/
DsubtypesOfTypeParameterWithConstraints.ts4 foo: T; property in C3
9 foo: T; // ok property in D1
14 foo: T; // ok property in D2
19 foo: U; // error property in D3
24 foo: U; // ok property in D4
33 foo: T; // ok property in D5
38 foo: T; property in D6
43 foo: T; // ok property in D7
50 foo: U; // error property in D8
55 foo: U; // ok property in D9
[all …]
DsubtypesOfTypeParameterWithRecursiveConstraints.ts3 class Foo<T> { foo: T; } property in Foo
58 foo: T; property in Base
63 foo: T property in D1
68 foo: U property in D2
73 foo: V property in D3
78 foo: T property in D4
83 foo: U property in D5
88 foo: V property in D6
93 foo: T property in D7
98 foo: U property in D8
[all …]
DsubtypesOfAny.ts5 foo: any; property
11 foo: number; property
17 foo: string; property
23 foo: boolean; property
29 foo: Date; property
35 foo: RegExp; property
41 foo: { bar: number }; property
47 foo: number[]; property
53 foo: I8; property
56 class A { foo: number; } property in A
[all …]
DenumIsNotASubtypeOfAnythingButNumber.ts6 foo: E; // ok property
12 foo: E; // ok property
18 foo: E; property
24 foo: E; property
30 foo: E; property
36 foo: E; property
42 foo: E; property
48 foo: E; property
54 foo: E; property
57 class A { foo: number; } property in A
[all …]
DundefinedIsSubtypeOfEverything.ts4 foo: typeof undefined; property in Base
8 foo: any; property in D0
12 foo: typeof undefined; property in DA
16 foo: string; property in D1
20 foo: String; property in D1A
25 foo: number; property in D2
29 foo: Number; property in D2A
34 foo: boolean; property in D3
38 foo: Boolean; property in D3A
43 foo: RegExp; property in D4
[all …]
/third_party/mindspore/mindspore-src/source/tests/st/graph_syntax/statements/
Dtest_starred_expression.py33 def foo(): function
53 def foo(): function
73 def foo(): function
93 def foo(): function
113 def foo(): function
133 def foo(x): function
152 def foo(x): function
170 def foo(): function
190 def foo(): function
210 def foo(): function
[all …]
/third_party/mindspore/mindspore-src/source/tests/ut/python/graph_syntax/python_builtin_functions/
Dtest_isinstance2.py77 def foo(): function
92 def foo(): function
107 def foo(): function
122 def foo(): function
137 def foo(): function
152 def foo(): function
167 def foo(): function
182 def foo(): function
197 def foo(): function
212 def foo(): function
[all …]
Dtest_int_float.py31 def foo(x): function
44 def foo(): function
60 def foo(): function
76 def foo(): function
90 def foo(): function
106 def foo(): function
120 def foo(): function
135 def foo(): function
151 def foo(): function
167 def foo(): function
[all …]
Dtest_max_min.py33 def foo(): function
47 def foo(): function
61 def foo(): function
75 def foo(): function
89 def foo(): function
103 def foo(): function
117 def foo(): function
131 def foo(): function
148 def foo(): function
165 def foo(): function
[all …]
Dtest_getattr.py34 def foo(): function
51 def foo(): function
68 def foo(x): function
85 def foo(): function
101 def foo(): function
117 def foo(): function
134 def foo(x): function
150 def foo(): function
168 def foo(x): function
185 def foo(): function
[all …]
Dtest_list_tuple.py36 def foo(): function
55 def foo(): function
74 def foo(): function
93 def foo(): function
114 def foo(): function
130 def foo(): function
145 def foo(): function
160 def foo(): function
177 def foo(): function
196 def foo(): function
[all …]
Dtest_all_any.py30 def foo(): function
47 def foo(): function
64 def foo(): function
81 def foo(): function
98 def foo(): function
115 def foo(): function
132 def foo(): function
149 def foo(): function
166 def foo(): function
183 def foo(): function
[all …]
Dtest_hasattr.py33 def foo(x): function
47 def foo(x): function
61 def foo(): function
77 def foo(): function
93 def foo(): function
109 def foo(): function
125 def foo(): function
141 def foo(): function
168 def foo(): function
183 def foo(): function
[all …]
/third_party/typescript/tests/cases/conformance/types/typeRelationships/assignmentCompatibility/
DanyAssignableToEveryType2.ts5 foo: any; // ok, any identical to itself property
11 foo: any; property
17 foo: any; property
23 foo: any; property
29 foo: any; property
35 foo: any; property
41 foo: any; property
47 foo: any; property
53 foo: any; property
56 class A { foo: number; } property in A
[all …]
/third_party/mindspore/mindspore-src/source/tests/st/fallback/
Dtest_graph_fallback_runtime_return_list.py39 def foo(): function
58 def foo(): function
77 def foo(): function
96 def foo(): function
118 def foo(): function
137 def foo(): function
160 def foo(): function
180 def foo(x): function
199 def foo(x): function
218 def foo(x): function
[all …]
Dtest_graph_fallback_runtime_tuple_func.py39 def foo(): function
59 def foo(): function
79 def foo(x): function
99 def foo(): function
119 def foo(x): function
138 def foo(x): function
157 def foo(): function
178 def foo(): function
199 def foo(): function
226 def foo(): function
[all …]
/third_party/mindspore/mindspore-src/source/tests/ut/python/graph_syntax/string/
Dtest_string_ops.py28 def foo(): function
43 def foo(): function
62 def foo(): function
78 def foo(): function
95 def foo(): function
112 def foo(): function
129 def foo(): function
146 def foo(): function
164 def foo(): function
182 def foo(): function
[all …]
/third_party/mindspore/mindspore-src/source/tests/ut/python/graph_syntax/statements/
Dtest_list_comprehension.py31 def foo(): function
47 def foo(): function
63 def foo(): function
79 def foo(): function
96 def foo(): function
113 def foo(): function
130 def foo(): function
147 def foo(): function
167 def foo(): function
187 def foo(): function
[all …]
/third_party/mindspore/mindspore-src/source/tests/ut/python/mutable/
Dtest_mutable_variable_length.py32 def foo(): function
48 def foo(): function
65 def foo(): function
82 def foo(): function
145 def foo(): function
159 def foo(): function
176 def foo(): function
193 def foo(): function
210 def foo(): function
227 def foo(): function
[all …]
/third_party/mindspore/mindspore-src/source/tests/ut/python/dynamic_sequence/
Dtest_dynamic_sequence_add.py34 def foo(): function
53 def foo(): function
72 def foo(): function
91 def foo(): function
110 def foo(): function
129 def foo(): function
148 def foo(): function
167 def foo(): function
186 def foo(): function
205 def foo(): function
[all …]

12345678910>>...172