Home
last modified time | relevance | path

Searched full:can (Results 1 – 25 of 1508) sorted by relevance

12345678910>>...61

/arkcompiler/ets_frontend/ets2panda/linter/test/
Dsendable_function.ts.json21 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-functio…
33 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-functio…
39 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" typeAlias (arkts-sendable-typeAl…
45 …"rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declar…
51 …"rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declar…
57 …"rule": "Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declar…
64 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
71 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
78 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-deco…
84 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-functio…
[all …]
Dsendable_captured_variables.ts.json22 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
29 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
36 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
43 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
50 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
57 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
64 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
71 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
78 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
85 …"rule": "Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-va…
[all …]
Dshared_module.ts.json22 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
29 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
36 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
43 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
50 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
57 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
64 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
71 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
85 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
92 …"rule": "Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)"
[all …]
Dsendable_decorator_limited.ts.json21 …"rule": "The \"@Sendable\" decorator can only be used on \"class\", \"function\", \"typeAlias\" (a…
27 …"rule": "The \"@Sendable\" decorator can only be used on \"class\", \"function\", \"typeAlias\" (a…
33 …"rule": "The \"@Sendable\" decorator can only be used on \"class\", \"function\", \"typeAlias\" (a…
39 …"rule": "The \"@Sendable\" decorator can only be used on \"class\", \"function\", \"typeAlias\" (a…
45 …"rule": "The \"@Sendable\" decorator can only be used on \"class\", \"function\", \"typeAlias\" (a…
51 …"rule": "The \"@Sendable\" decorator can only be used on \"class\", \"function\", \"typeAlias\" (a…
Dsendable_class_decorator.sts35 @NonSendable // ERROR, only `@Sendable` can be used on a sendable class declaration
38 @SomeDecorator // ERROR, no decorators can be used in a sendable class
43 @SomeDecorator // ERROR, no decorators can be used in a sendable class
46 … myMethod2(@SomeDecorator param: string) {} // ERROR, no decorators can be used in a sendable class
48 @SomeDecorator // ERROR, no decorators can be used in a sendable class
52 @SomeDecorator // ERROR, no decorators can be used in a sendable class
Dsendable_class_initialization.ts.json29 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
36 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
50 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
64 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
78 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
85 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
92 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
99 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
Dsendable_class_decorator.ts.json22 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-deco…
29 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-deco…
36 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-deco…
43 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-deco…
50 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-deco…
57 …"rule": "Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-deco…
Des_object.sts176 foo2({ k: 'k', h: {t: 1}}) // we can assign anything to the esobject, even untyped literal
177 let q1: ESObject = 1; // CTE - ``ESObject`` typed variable can only be local
178 let q2: ESObject = fooOh(); // CTE - ``ESObject`` typed variable can only be local
179 let q3: ESObject = q2; // CTE - ``ESObject`` typed variable can only be local
182 let e2: ESObject = 1; // CTE - can't initialize ESObject with not dynamic values
183 let e3: ESObject = {}; // CTE - can't initialize ESObject with not dynamic values
184 let e4: ESObject = []; // CTE - can't initialize ESObject with not dynamic values
185 let e5: ESObject = ""; // CTE - can't initialize ESObject with not dynamic values
188 e6['prop'] // CTE - can't access dynamic properties of ESObject
189 e6[1] // CTE - can't access dynamic properties of ESObject
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe151.md11 with ``ESObject`` type is also limited. Such variables can only be initialized
15 of type ``ESObject`` can only be passed to interop calls and assigned to other
28 let e0: ESObject = foo(); // CTE - ``ESObject`` typed variable can only be local
32 let e2: ESObject = 1; // CTE - can't initialize ESObject with not dynamic values
33 let e3: ESObject = {}; // CTE - can't initialize ESObject with not dynamic values
34 let e4: ESObject = []; // CTE - can't initialize ESObject with not dynamic values
35 let e5: ESObject = ""; // CTE - can't initialize ESObject with not dynamic values
36 e5['prop'] // CTE - can't access dynamic properties of ESObject
37 e5[1] // CTE - can't access dynamic properties of ESObject
38 e5.prop // CTE - can't access dynamic properties of ESObject
/arkcompiler/ets_frontend/test/scripts/sdk_test/
Dreadme.md3 This test suite can perform end-to-end SDK test verification. There are two ways to perform verific…
5 2) Verify if the application of the compiled package can run normally (this feature is under develo…
15 …rs of Deveco and the test application. Detailed configuration instructions can be found in the fil…
16 …ew test application, you can modify the config.yaml configuration file and add the configuration u…
20 The test functionality requires a connection to the RK board for testing. You can control whether t…
28 By default, it will run all the test items. Optional parameters can be viewed through `--help`.
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dcheckcast.yaml48 Resolve object type by specified id and if an object in accumulator can be cast to the
58 description: Check that null object reference can be cast to any type
61 'null' object reference can be cast to every type.
100 description: Check that null object reference can be cast to any type
103 'null' object reference can be cast to every type.
150 description: Check that null object reference can be cast to any array type
153 'null' object reference can be cast to every type.
193 description: Check that null object reference can be cast to any array type
196 'null' object reference can be cast to every type.
243 description: Check that any object can be cast to the base type
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/tutorial/
Dclasses.rst38 After the class is defined, its instances can be created by using
46 Similarly, an instance can be created by using object literals:
62 Classes can have instance fields, static fields, or both.
144 // that name can be undefined. The most correct would be
193 // name can be "undefined", so we cannot say to those who use this API
219 Setters and getters can be used to provide controlled access to object
243 A class can define a getter, a setter, or both.
252 A class can define instance methods, static methods, or both.
253 A ``static`` method belongs to the class itself. It can access
255 An instance method can access both ``static`` (class) fields
[all …]
Dgenerics.rst26 A class and an interface can be defined as generics, adding parameters to the
61 Type parameters of generic types can have constraints. For example, the ``Key``
78 of ``Hashable`` interface can be called for keys.
85 A generic function can be used to create a more universal code. Consideration
86 can be given to a function that returns the last element of the array:
95 If the same function needs to be defined for any array, then it can be
104 The function defined so can be used with any array.
106 In a function call, type argument can be set explicitly or implicitly:
123 Type parameters of generic types can have defaults.
Dfunctions.rst37 the corresponding argument of an optional parameter can be omitted. The last
38 parameter of a function can be a rest parameter (see below).
74 The last parameter of a function can be a rest parameter. As a result,
75 functions or methods can take an unlimited number of arguments:
95 then it can be omitted from the function declaration:
105 If the function return type does not need to return a value, then it can
173 A function can be defined as an arrow function, for example:
184 An expression can be specified as an arrow function to make the notation
198 function, it can access all variables defined in the outer function.
222 Overload signatures can be written to specify that a function can be called
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dcheckcast.yaml27 Resolve object type by specified id and if an object in accumulator can be cast to the
36 description: Check that null object reference can be cast to any type
39 'null' object reference can be cast to every type.
76 description: Check that null object reference can be cast to any array type
79 'null' object reference can be cast to every type.
117 description: Check that any object can be cast to the base type
119 … description: Object of type O can be cast to type T if O is the same as T or is subtype of T.
159 description: Check that any object can be cast to its type
161 … description: Object of type O can be cast to type T if O is the same as T or is subtype of T.
201 description: Check that any array can be cast to base type
[all …]
/arkcompiler/ets_runtime/test/sharedtest/sendable/
Dsendable.ts16 // 1. sendable can only inherit from sendable
66 // 2. non-sendable can not inherit from sendable
96 // 3. non-sendable can not implement sendable
98 // 4. sendable can only contain sendable
161 // 6. sendable can not use ! assertion
163 // 7. sendable can not use computeed property names
165 // 8. sendable can not use variables in current context
190 // 9. sendable can not use decorator except @sendable
211 // 10. sendable can not be initial with object or array
213 // 11. non-sendable can not be `as` sendable
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test_rules/
Drule151.sts176 foo2({ k: 'k', h: {t: 1}}) // we can assign anything to the esobject, even untyped literal
177 let q1: ESObject = 1; // CTE - ``ESObject`` typed variable can only be local
178 let q2: ESObject = fooOh(); // CTE - ``ESObject`` typed variable can only be local
179 let q3: ESObject = q2; // CTE - ``ESObject`` typed variable can only be local
182 let e2: ESObject = 1; // CTE - can't initialize ESObject with not dynamic values
183 let e3: ESObject = {}; // CTE - can't initialize ESObject with not dynamic values
184 let e4: ESObject = []; // CTE - can't initialize ESObject with not dynamic values
185 let e5: ESObject = ""; // CTE - can't initialize ESObject with not dynamic values
188 e6['prop'] // CTE - can't access dynamic properties of ESObject
189 e6[1] // CTE - can't access dynamic properties of ESObject
[all …]
/arkcompiler/runtime_core/docs/
Ddoxygen.config12 # For lists, items can also be appended using:
37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
43 # Using the PROJECT_BRIEF tag one can provide an optional one line description
49 # With the PROJECT_LOGO tag one can specify a logo or an icon that is included
66 # option can be useful when feeding doxygen a huge amount of source files, where
155 # The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
157 # part of the path. The tag can be used to show relative paths in the file list.
161 # Note that you can specify absolute paths here, but also relative paths, which
167 # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
177 # less readable) file names. This can be useful is your file systems doesn't
[all …]
Dmemory-management-SW-requirements.md12 Garbage collector(GC) automatically recycles memory that it can prove will never be used again.
21 - Arena Allocator (objects can be deallocated at once(list of arenas, almost at once - O(number of …
37 - Concurrent generational GC (optional - we can disable generational mode)
51 We can use profile to choose MM configuration for application (for example: we can choose non-compa…
/arkcompiler/runtime_core/static_core/docs/
Ddoxygen.config12 # For lists, items can also be appended using:
37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
43 # Using the PROJECT_BRIEF tag one can provide an optional one line description
49 # With the PROJECT_LOGO tag one can specify a logo or an icon that is included
66 # option can be useful when feeding doxygen a huge amount of source files, where
155 # The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
157 # part of the path. The tag can be used to show relative paths in the file list.
161 # Note that you can specify absolute paths here, but also relative paths, which
167 # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
177 # less readable) file names. This can be useful is your file systems doesn't
[all …]
Dmemory-management-SW-requirements.md12 Garbage collector(GC) automatically recycles memory that it can prove will never be used again.
21 - Arena Allocator (objects can be deallocated at once(list of arenas, almost at once - O(number of …
37 - Concurrent generational GC (optional - we can disable generational mode)
51 We can use profile to choose MM configuration for application (for example: we can choose non-compa…
/arkcompiler/runtime_core/docs/changelogs/
D2022-08-18-isa-changelog.md14 2. We remove the prefix of ecmascript specific opcodes, such that most of the bytecode opcode can b…
18 …of some opcodes (about immediate number and accumulator), so that the bytecode can be more compact.
24 such that runtime can distinguish the "define-function" operations of different kinds.
25 We also add header index in function such that runtime can access IndexHeader more efficiently.
34 such that the instructions can get consective indexes for methodId, stringId and literalarrayId.
46 4. The layout of literalarrays can be random.
/arkcompiler/runtime_core/static_core/plugins/ets/doc/cookbook/
Dwhy.rst23 notorious for unexpected runtime errors. For example, a developer can forget
39 engines can optimize such checks greatly, but these checks cannot be
47 The examples below are to explain how |LANG| can help to improve program
74 // that name can be undefined. The most correct would be
108 If ``name`` can be ``undefined``, then it also must be specified explicitly:
120 // name can be "undefined", so we cannot say to those who use this API
141 This case demonstrates how the stability and correctness of code can be
163 ``notify(null, undefined)``---can be passed to the function. Then the program
185 function can turn into a performance problem.
187 However, if we can guarantee to the execution engine that the values passed
[all …]
/arkcompiler/runtime_core/static_core/compiler/docs/
Dlse_doc.md8 …ated that the optimization increases the register pressure and as a result can increase the amount…
18 Algorithm needs to know that two memory instructions access the same memory address. This can be d…
21 * `MAY_ALIAS` if analysis can't say with confidence whether the instructions access the same memor…
27 …ies to read a value that was written by store instruction above, this load can be eliminated becau…
29 …empty heap is an initial value for loop headers as well because back edges can rewrite the heap va…
35 …re and a stored value is equal to value from heap for this store then this store can be eliminated.
37 - if the instruction is a load and there is a value from the heap for this load then this load can
39 - If the instruction can invoke GC then all references on the heap that aren't mentioned in corresp…
43 All instructions that can be eliminated are recorded in a separate list for eliminated instructions…
45 …der is empty. But still there is a case when we can use collected heap of loop preheader (e.g. if …
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/04.overloading_and_overriding_in_classes/
Daccess_modifier_over.params.yaml17 - doc: Public member can be overridden and/or implemented by the public one.
26 - doc: Public member can be overridden and/or implemented by the public one.
35 - doc: Public member can be overridden and/or implemented by the public one.
44 - doc: Public member can be overridden and/or implemented by the public one.
53 - doc: Public member can be overridden and/or implemented by the public one.
62 - doc: Public member can be overridden and/or implemented by the public one.
71 - doc: Public member can be overridden and/or implemented by the public one.
80 - doc: Public member can be overridden and/or implemented by the public one.
89 - doc: Public member can be overridden and/or implemented by the public one.
99 - doc: Internal member can be overridden by the internal one only
[all …]

12345678910>>...61