Home
last modified time | relevance | path

Searched full:that (Results 1 – 25 of 2383) sorted by relevance

12345678910>>...96

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/
DLRUCacheTest.ets55 let that = new util.LRUCache<number, number>();
56 that.updateCapacity(10);
57 let res1: number = that.getCapacity();
59 that.updateCapacity(2147483646);
60 let res2: number = that.getCapacity();
65 let that = new util.LRUCache<number, number>(20);
66 that.updateCapacity(10.0);
67 let res: number = that.getCapacity();
72 let that = new util.LRUCache<number, number>();
73 that.put(1,2);
[all …]
DLRUCacheIteratorTest.ets45 let that = new util.LRUCache<string|number, string|number>();
46 that.put('string','abc');
47 let result = that.keys();
52 let that = new util.LRUCache<string|number, string|number>();
53 that.put(1,2)
54 that.put(3,10)
55 that.put(5,15)
56 that.put('abc',20);
57 let result = that.keys();
65 let that = new util.LRUCache<string|number, string|number>();
[all …]
DLRUCacheExceptionTest.ets40 let that = new util.LRUCache<number, number>();
42 that.updateCapacity(2147483648);
51 let that = new util.LRUCache<number, number>();
53 that.updateCapacity(2.5);
62 let that = new util.LRUCache<number, number>();
64 that.updateCapacity(0);
73 let that = new util.LRUCache<number, number>();
75 that.updateCapacity(-1);
85 let that = new util.LRUCache<number, number>(2147483648);
95 let that = new util.LRUCache<number, number>(0.1);
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/base/
Ddepend_chain_helper.cpp20 void DependChains::Merge(DependChains* that) in Merge() argument
23 while (size_ > that->size_) { in Merge()
29 auto rhs = that->head_; in Merge()
30 size_t rhsSize = that->size_; in Merge()
44 bool DependChains::Equals(DependChains* that) in Equals() argument
46 if (that == nullptr) { in Equals()
49 if (size_ != that->size_) { in Equals()
53 auto rhs = that->head_; in Equals()
68 DependChains* that = new (chunk_) DependChains(chunk_); in UpdateNode() local
70 that->head_ = node; in UpdateNode()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D1_intro.rst28 The |LANG| language combines and supports features that are in use in many
35 At the same time, |LANG| does not support features that allow software
70 presumes that software is designed and implemented as a composition
74 A module in |LANG| is a standalone, independently compiled unit that
93 Some program entities in |LANG| can be *type-parameterized*. This means that
98 A classical illustration is the notion of a list that represents the
135 syntax style similar to that of those languages, and some of its important
153 that the language provides no access to low-level machine representations.
155 means that dynamically created objects are deallocated automatically soon
160 development ecosystem that facilitates the creation of software solutions
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DErrors.ets19 * @class Represents an error that occurs when assertion fails.
29 * @class Represents an error that occurs when division by zero is performed.
38 * @class Represents an error that occurs when null pointer is dereferenced.
47 * @class Represents an error that occurs when exception is thrown and not caught
56 * @class Represents an error that occurs when trying to interpret syntactically invalid code
69 * @class Represents an error that occurs when JSONValue can not be assigned to a type
78 * @class Represents an error that occurs when provided collection index is out of range
91 * @class Represents an error that occurs when array is oging to be indexed out of its bounds
100 …* @class Represents exception that is thrown when illegal arithmetic operation is occured (e.g. di…
109 * @class Represents an error that occurs when memory allocation fails
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/RationalNumber/
DIsFiniteIsNaNIsZeroToStringTest.ets21 …suite.addTest("Verifies that the RationalNumber object (-2/1) represents a finite value.", testIsF…
22 …suite.addTest("Verifies that the RationalNumber object (0/3) represents a finite value.", testIsFi…
23 …suite.addTest("Verifies that the RationalNumber object (2/0) does not represent a finite value.", …
24 …suite.addTest("Verifies that the RationalNumber object (1/3) represents a finite value.", testIsFi…
25 …suite.addTest("Verifies that the RationalNumber object (10/5) represents a finite value.", testIsF…
26 suite.addTest("Verifies that the RationalNumber object (-2/1) is not NaN.", testIsNaN001)
27 suite.addTest("Verifies that the RationalNumber object (0/3) is not NaN.", testIsNaN002)
28 suite.addTest("Verifies that the RationalNumber object (0/0) is NaN.", testIsNaN003)
29 suite.addTest("Verifies that the RationalNumber object (10/0) is not NaN.", testIsNaN004)
30 suite.addTest("Verifies that the RationalNumber object (10/1) is not NaN.", testIsNaN005)
[all …]
DEqualsValueOfGetDenominatorGetNumeratorTest.ets21 …suite.addTest("Verifies that two RationalNumber objects (2/1 and 3/4) are not equal.", testEquals0…
22 … suite.addTest("Verifies that two RationalNumber objects (2/1 and 4/2) are equal.", testEquals002)
23 … suite.addTest("Verifies that two RationalNumber objects (0/1 and 0/2) are equal.", testEquals003)
24 …suite.addTest("Verifies that two RationalNumber objects (0/0 and 0/2) are not equal.", testEquals0…
25 …suite.addTest("Verifies that two RationalNumber objects (-2/0 and 2/0) are not equal.", testEquals…
26 suite.addTest("Verifies that the value of the RationalNumber object (2/1).", testValueOf001)
27 suite.addTest("Verifies that the value of the RationalNumber object (2/10).", testValueOf002)
28 suite.addTest("Verifies that the value of the RationalNumber object (1/2).", testValueOf003)
29 suite.addTest("Verifies that the value of the RationalNumber object (4/2).", testValueOf004)
30 suite.addTest("Verifies that the value of the RationalNumber object (4/1).", testValueOf005)
[all …]
/arkcompiler/runtime_core/docs/
Ddoxygen.config14 # Values that contain spaces should be placed between quotes (\" \").
21 # that follow. The default is UTF-8 which is also the encoding used for all text
30 # double-quotes, unless you are using Doxywizard) that should identify the
44 # for a project that appears at the top of each page and should give viewer a
49 # With the PROJECT_LOGO tag one can specify a logo or an icon that is included
97 # descriptions after the members that are listed in the file and class
112 # This tag implements a quasi-intelligent brief description abbreviator that is
141 # inherited members of a class in the documentation of that class as if those
150 # shortest path that makes the file name unique will be used
161 # Note that you can specify absolute paths here, but also relative paths, which
[all …]
/arkcompiler/runtime_core/static_core/docs/
Ddoxygen.config14 # Values that contain spaces should be placed between quotes (\" \").
21 # that follow. The default is UTF-8 which is also the encoding used for all text
30 # double-quotes, unless you are using Doxywizard) that should identify the
44 # for a project that appears at the top of each page and should give viewer a
49 # With the PROJECT_LOGO tag one can specify a logo or an icon that is included
97 # descriptions after the members that are listed in the file and class
112 # This tag implements a quasi-intelligent brief description abbreviator that is
141 # inherited members of a class in the documentation of that class as if those
150 # shortest path that makes the file name unique will be used
161 # Note that you can specify absolute paths here, but also relative paths, which
[all …]
/arkcompiler/runtime_core/libabckit/
D.doxygen14 # Values that contain spaces should be placed between quotes (\" \").
21 # file that follow. The default is UTF-8 which is also the encoding used for all
30 # double-quotes, unless you are using Doxywizard) that should identify the
44 # for a project that appears at the top of each page and should give viewer a
49 # With the PROJECT_LOGO tag one can specify a logo or an icon that is included
105 # descriptions after the members that are listed in the file and class
120 # This tag implements a quasi-intelligent brief description abbreviator that is
149 # inherited members of a class in the documentation of that class as if those
158 # shortest path that makes the file name unique will be used
169 # Note that you can specify absolute paths here, but also relative paths, which
[all …]
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/readonly-parameter-test/
Dreadonly-parameter-and-Readonly-test2.ets38 /* @@@ label6 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
39 /* @@@ label7 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
40 /* @@@ label8 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
41 /* @@@ label9 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
42 /* @@@ label Error TypeError: Cannot modify an array or tuple content that has the readonly paramet…
43 /* @@@ label1 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
44 /* @@@ label2 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
45 /* @@@ label3 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
46 /* @@@ label4 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
47 /* @@@ label5 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
/arkcompiler/runtime_core/static_core/
DLICENSE14 the copyright owner that is granting the License.
17 other entities that control, are controlled by, or are under common
18 control with that entity. For the purposes of this definition,
38 copyright notice that is included in or attached to the work
42 form, that is based on (or derived from) the Work and for which the
45 of this License, Derivative Works shall not include works that remain
51 to that Work or Derivative Works thereof, that is intentionally
58 and issue tracking systems that are managed by, or on behalf of, the
60 excluding communication that is conspicuously marked or otherwise
80 by such Contributor that are necessarily infringed by their
[all …]
/arkcompiler/toolchain/
DLICENSE14 the copyright owner that is granting the License.
17 other entities that control, are controlled by, or are under common
18 control with that entity. For the purposes of this definition,
38 copyright notice that is included in or attached to the work
42 form, that is based on (or derived from) the Work and for which the
45 of this License, Derivative Works shall not include works that remain
51 to that Work or Derivative Works thereof, that is intentionally
58 and issue tracking systems that are managed by, or on behalf of, the
60 excluding communication that is conspicuously marked or otherwise
80 by such Contributor that are necessarily infringed by their
[all …]
/arkcompiler/jsvm/
DLICENSE14 the copyright owner that is granting the License.
17 other entities that control, are controlled by, or are under common
18 control with that entity. For the purposes of this definition,
38 copyright notice that is included in or attached to the work
42 form, that is based on (or derived from) the Work and for which the
45 of this License, Derivative Works shall not include works that remain
51 to that Work or Derivative Works thereof, that is intentionally
58 and issue tracking systems that are managed by, or on behalf of, the
60 excluding communication that is conspicuously marked or otherwise
80 by such Contributor that are necessarily infringed by their
[all …]
/arkcompiler/ets_runtime/
DLICENSE14 the copyright owner that is granting the License.
17 other entities that control, are controlled by, or are under common
18 control with that entity. For the purposes of this definition,
38 copyright notice that is included in or attached to the work
42 form, that is based on (or derived from) the Work and for which the
45 of this License, Derivative Works shall not include works that remain
51 to that Work or Derivative Works thereof, that is intentionally
58 and issue tracking systems that are managed by, or on behalf of, the
60 excluding communication that is conspicuously marked or otherwise
80 by such Contributor that are necessarily infringed by their
[all …]
/arkcompiler/runtime_core/compiler/docs/
Dreg_alloc_graph_coloring_doc.md17 This paper describes register allocation algorithm that is based on ideas of Chordal-graph coloring…
18 …sed on observation that programs in a strict SSA form produce a Chordal interference graphs. Main …
19 …ementation was used alternative algorithm that is LexBFS. It uses little bit more compact data str…
20 …call-site crossing will interfere with fixed-intervals (special intervals that are placeholders of…
23 …ally for nodes is collected number or fixed-intervals intersections that tell us that this interva…
27 Here additionally to the built graph with regular edges that represent interference, it is built af…
31 …s by MCS or LexBFS (that is reverse PEO), one by one is colored by a Greedy coloring algorithm. Gr…
32 …ve situations when different cliques are colored in parallel that at the end collides, that may ca…
36 There are two classes of approaches for coalescing, that is:
37that happens before or after coloring respectively. Pre-coalescing is known to potentially can inc…
[all …]
/arkcompiler/runtime_core/static_core/compiler/docs/
Dreg_alloc_graph_coloring_doc.md17 This paper describes register allocation algorithm that is based on ideas of Chordal-graph coloring…
18 …sed on observation that programs in a strict SSA form produce a Chordal interference graphs. Main …
19 …ementation was used alternative algorithm that is LexBFS. It uses little bit more compact data str…
20 …call-site crossing will interfere with fixed-intervals (special intervals that are placeholders of…
23 …ally for nodes is collected number or fixed-intervals intersections that tell us that this interva…
27 Here additionally to the built graph with regular edges that represent interference, it is built af…
31 …s by MCS or LexBFS (that is reverse PEO), one by one is colored by a Greedy coloring algorithm. Gr…
32 …ve situations when different cliques are colored in parallel that at the end collides, that may ca…
36 There are two classes of approaches for coalescing, that is:
37that happens before or after coloring respectively. Pre-coalescing is known to potentially can inc…
[all …]
Dinlining.md18 …ual instruction also contains method ID, that should be called, but it also contains input object(…
19 is instance of some class, that, in turn, determines which implementation of the method should be c…
28 Receiver is determined via ObjectTypePropagation analysis, that propagates statically known types d…
40 Class Hierarchy Analysis(CHA) is a runtime analysis that is invoked every time when a new class is …
41 the analysis is a flag in Method class, that indicates that method has a single implementation.
67 Since Panda VM allows instantiating a classes with abstract methods, we can't rely on the fact that
71 … protect all devirtualized call sites with CHA by special guards. In short, these guards check that
74 CHA has dependency map, where key is a devirtualized method and value is a list of methods that emp…
78 But dependent methods (methods that inline devirtualized method) may already being executed and res…
81 exactly that CHA guards check. When method execution reaches this guard, it reads flag and see that
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/attempt_invalid_type_conversion/
Dattemp_invalid_type_conversion_only_compile.params.yaml16 …- desc: Verify that attempting to cast a readonly property to a mutable property results in a type…
25 - desc: Verify that attempting to cast a function to a number results in a type error.
31 - desc: Verify that attempting to cast a boolean to a number results in a type error.
37 - desc: Verify that attempting to cast null to a number results in a type error.
43 - desc: Verify that attempting to cast a string to a number results in a type error.
49 - desc: Verify that directly assigning a number to a string variable results in a type error.
55 - desc: Verify that attempting to cast a number to a string results in a type error.
61 - desc: Verify that attempting to cast a class instance to a number results in a type error.
67 - desc: Verify that attempting to cast a class instance to a number results in a type error.
73 - desc: Verify that attempting to cast an array to a string results in a type error.
Dattemp_invalid_type_conversion.params.yaml16 - desc: Verify that using JSON.stringify() correctly converts an array to a string.
23 - desc: Verify that converting an empty string to a number results in 0.
30 …- desc: Verify that converting a non-empty string to a boolean using the Boolean() function correc…
37 - desc: Verify that using String() constructor correctly converts a number to a string.
44 - desc: Verify that using parseFloat() correctly converts a string to a number.
51 - desc: Verify that attempting to cast a readonly number[] to a number[] results in a type error.
60 - desc: Verify that using toString() correctly converts an array to a string.
67 - desc: Verify that using parseInt() correctly converts a string to a number.
74 - desc: Verify that using String() constructor correctly converts an array to a string.
81 - desc: Verify that using template literals correctly converts an array to a string.
[all …]
/arkcompiler/runtime_core/
DLICENSE14 the copyright owner that is granting the License.
17 other entities that control, are controlled by, or are under common
18 control with that entity. For the purposes of this definition,
38 copyright notice that is included in or attached to the work
42 form, that is based on (or derived from) the Work and for which the
45 of this License, Derivative Works shall not include works that remain
51 to that Work or Derivative Works thereof, that is intentionally
58 and issue tracking systems that are managed by, or on behalf of, the
60 excluding communication that is conspicuously marked or otherwise
80 by such Contributor that are necessarily infringed by their
[all …]
/arkcompiler/ets_frontend/ets2panda/
DLICENSE.txt14 the copyright owner that is granting the License.
17 other entities that control, are controlled by, or are under common
18 control with that entity. For the purposes of this definition,
38 copyright notice that is included in or attached to the work
42 form, that is based on (or derived from) the Work and for which the
45 of this License, Derivative Works shall not include works that remain
51 to that Work or Derivative Works thereof, that is intentionally
58 and issue tracking systems that are managed by, or on behalf of, the
60 excluding communication that is conspicuously marked or otherwise
80 by such Contributor that are necessarily infringed by their
[all …]
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dcheckcast.yaml58 description: Check that null object reference can be cast to any type
71 jnez.obj set_failure # check that acc == null
100 description: Check that null object reference can be cast to any type
116 jnez.obj set_failure # check that acc == null
150 description: Check that null object reference can be cast to any array type
164 jnez.obj set_failure # check that acc == null
193 description: Check that null object reference can be cast to any array type
209 jnez.obj set_failure # check that acc == null
243 description: Check that any object can be cast to the base type
257 jne.obj v1, set_failure # check that acc isn't changed
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/
DLICENSE13 the copyright owner that is granting the License.
16 other entities that control, are controlled by, or are under common
17 control with that entity. For the purposes of this definition,
37 copyright notice that is included in or attached to the work
41 form, that is based on (or derived from) the Work and for which the
44 of this License, Derivative Works shall not include works that remain
50 to that Work or Derivative Works thereof, that is intentionally
57 and issue tracking systems that are managed by, or on behalf of, the
59 excluding communication that is conspicuously marked or otherwise
79 by such Contributor that are necessarily infringed by their
[all …]

12345678910>>...96