Home
last modified time | relevance | path

Searched +full:non +full:- +full:array (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/arkcompiler/ets_runtime/test/sharedtest/sharedcollectionsexception/
Dexpect_output.txt6 # http://www.apache.org/licenses/LICENSE-2.0
61 Init with small first element: -1 success.
64 Create with non-sendable element fail. err: BusinessError: Parameter error.Only accept sendable val…
66 Create from non-sendable iterator fail. err: BusinessError: Parameter error.Only accept sendable va…
67 Create from non-sendable element fail. err: BusinessError: Parameter error.Only accept sendable val…
68 Create from mapper: non-sendable element fail. err: BusinessError: Parameter error.Only accept send…
72 concat with non-sendable array fail.err: BusinessError: Parameter error.Only accept sendable value.…
73 concat with non-sendable element fail. err: BusinessError: Parameter error.Only accept sendable val…
75 fill array with non-sendable object and position fail. err: BusinessError: Parameter error.Only acc…
76 fill array with non-sendable object and start position fail. err: BusinessError: Parameter error.On…
[all …]
Dsharedcollectionsexception.ts7 * http://www.apache.org/licenses/LICENSE-2.0
23 // @ts-nocheck
416 const arr = new SendableArray<string>(-1);
417 print("Init with small first element: -1 success.");
419 print("Init with small first element: -1, err: " + err + ", errCode: " + err.code);
438 print("Create with non-sendable element success.");
440 print("Create with non-sendable element fail. err: " + err + ", errCode: " + err.code);
447 SendableArray.from<NormalClass>(Array.from([new NormalClass(1), new NormalClass(2)]));
448 print("Create from non-sendable iterator success.");
450 print("Create from non-sendable iterator fail. err: " + err + ", errCode: " + err.code);
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/ts_import_ets/ts/
Dtest7.ts.json3 "Copyright (c) 2023-2024 Huawei Device Co., Ltd.",
8 "http://www.apache.org/licenses/LICENSE-2.0",
24 … \"Sendable\" interfaces are allowed for importing from ets into ts file (arkts-no-ts-import-ets)",
34 … \"Sendable\" interfaces are allowed for importing from ets into ts file (arkts-no-ts-import-ets)",
44 …"rule": "Casting \"Non-sendable\" data to \"Sendable\" type is not allowed (arkts-sendable-as-expr…
54 …able\" type can not be initialized using object literal or array literal (arkts-sendable-obj-init)…
64 …"rule": "Casting \"Non-sendable\" data to \"Sendable\" type is not allowed (arkts-sendable-as-expr…
74 …able\" type can not be initialized using object literal or array literal (arkts-sendable-obj-init)…
84 …"rule": "Casting \"Non-sendable\" data to \"Sendable\" type is not allowed (arkts-sendable-as-expr…
94 …able\" type can not be initialized using object literal or array literal (arkts-sendable-obj-init)…
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dsendable_generic_types.sts7 * http://www.apache.org/licenses/LICENSE-2.0
28 …bleClass6<T=NonSendableClass3> { // ERROR, sendable class generic type cannot be non-sendable-class
38 …ass5<number, NonSendableClass3>; // ERROR, sendable class generic type cannot be non-sendable-class
46 …ew b<number, NonSendableClass3>; // ERROR, sendable class generic type cannot be non-sendable-class
78 export class Array<T> {
88 let arr1: collections.Array<NoneSendableClassA> = new collections.Array<NoneSendableClassA>(); // e…
89 let arr2: collections.Array<NoneSendableClassA> = new collections.Array(); // error
90 let arr3: collections.Array<NoneSendableClassA> = new collections.Array<SendableClassB>(); //error
91 let arr4: collections.Array<SendableClassB> = new collections.Array<SendableClassB>();
92 let arr5: collections.Array<SendableClassB> = new collections.Array();
Dsendable_class_interface_property.sts7 * http://www.apache.org/licenses/LICENSE-2.0
65 prop1: string[]; // ERROR, sendable class property cannot be array
66 prop2: NonSendableClass2; // ERROR, sendable class property cannot be non-sendable-class
67 …prop3: NonSendableClass2 | null; // ERROR, sendable class property cannot be non-sendable-class un…
68 …prop4: NonSendableInterface | number; // ERROR, sendable class property cannot be non-sendable-cla…
69 …lass2 | null | undefined; // ERROR, sendable class property cannot be non-sendable-class union type
70 prop6: alias2; // ERROR, sendable class property cannot be non-sendable-type
71 prop7: alias3; // ERROR, sendable class property cannot be non-sendable-type
72 prop8: RegularEnum; // ERROR, sendable class property cannot be non-sendable-type
73 prop9: RegularEnum1; // ERROR, sendable class property cannot be non-sendable-type
[all …]
/arkcompiler/runtime_core/static_core/verification/config/context/
Dcontext.h2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
28 #include <array>
39 // NOLINTBEGIN(misc-non-private-member-variables-in-classes)
51 std::array<PandaVector<PandaString>, static_cast<size_t>(WhitelistKind::LAST)> whitelistNames;
53 // NOLINTEND(misc-non-private-member-variables-in-classes)
59 // NOLINTBEGIN(misc-non-private-member-variables-in-classes)
68 std::array<PandaVector<PandaString>, static_cast<size_t>(WhitelistKind::LAST)> names;
69 …std::array<Synchronized<PandaUnorderedSet<Method::UniqId>>, static_cast<size_t>(WhitelistKind::LAS…
73 // NOLINTEND(misc-non-private-member-variables-in-classes)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/
Dtest_core_typedarray_ctors.j27 * http://www.apache.org/licenses/LICENSE-2.0
25 …failures += check(createNonEmptyWithLength(),"Create default non empty {{.item.objectType}} from l…
26 …failures += check(createtypedArrayWithWrongLength(),"Create default non empty {{.item.objectType}}…
28 …failures += check(createNonEmptyWithIterable(),"Create default non empty {{.item.objectType}} from…
39 …eateTAFromNonEmptyArrayBuffer(),"Create default empty {{.item.objectType}} from non empty source");
40 …ayBufferOneParamNoOffset(),"Create default empty {{.item.objectType}} from non empty source one pa…
41 …OneOffsetWithWrongNumber(),"Create default empty {{.item.objectType}} from non empty source one pa…
42 …mptyArrayBufferTwoParams(),"Create default empty {{.item.objectType}} from non empty source two pa…
43 …TwoParamsWithWrongNumber(),"Create default empty {{.item.objectType}} from non empty source two pa…
45 …BufferOneParamWithOffset(),"Create default empty {{.item.objectType}} from non empty source with o…
[all …]
Dtest_core_typeduarray_ctors.j27 * http://www.apache.org/licenses/LICENSE-2.0
26 …failures += check(createNonEmptyWithLength(),"Create default non empty {{.item.objectType}} from l…
27 …failures += check(createtypedUArrayWithWrongLength(),"Create default non empty {{.item.objectType}…
29 …failures += check(createNonEmptyWithIterable(),"Create default non empty {{.item.objectType}} from…
39 …eateTAFromNonEmptyArrayBuffer(),"Create default empty {{.item.objectType}} from non empty source");
40 …ayBufferOneParamNoOffset(),"Create default empty {{.item.objectType}} from non empty source one pa…
41 …OneOffsetWithWrongNumber(),"Create default empty {{.item.objectType}} from non empty source one pa…
42 …mptyArrayBufferTwoParams(),"Create default empty {{.item.objectType}} from non empty source two pa…
43 …TwoParamsWithWrongNumber(),"Create default empty {{.item.objectType}} from non empty source two pa…
45 …BufferOneParamWithOffset(),"Create default empty {{.item.objectType}} from non empty source with o…
[all …]
/arkcompiler/ets_frontend/test262/
Dtest-list-test262-other-fastverify-qemu-aot-pgo-built-ins-RegExp-part1.txt1 test262/data/other_tests/built-ins/RegExp/character-class-escape-non-whitespace-u180e.js
2 test262/data/other_tests/built-ins/RegExp/duplicate-flags.js
3 test262/data/other_tests/built-ins/RegExp/is-a-constructor.js
4 test262/data/other_tests/built-ins/RegExp/prop-desc.js
5 test262/data/other_tests/built-ins/RegExp/lastIndex.js
6 test262/data/other_tests/built-ins/RegExp/u180e.js
7 test262/data/other_tests/built-ins/RegExp/quantifier-integer-limit.js
8 test262/data/other_tests/built-ins/RegExp/regexp-class-chars.js
9 test262/data/other_tests/built-ins/RegExp/character-class-escape-non-whitespace.js
10 test262/data/other_tests/built-ins/RegExp/CharacterClassEscapes/character-class-digit-class-escape-
[all …]
Dsendable_tests.txt1 sendable/builtins/ASON/15.12-0-1.js
2 sendable/builtins/ASON/15.12-0-2.js
3 sendable/builtins/ASON/15.12-0-4.js
4 sendable/builtins/ASON/15.12-0-3.js
6 sendable/builtins/ASON/parse/15.12.1.1-0-1.js
7 sendable/builtins/ASON/parse/15.12.1.1-0-2.js
8 sendable/builtins/ASON/parse/15.12.1.1-0-3.js
9 sendable/builtins/ASON/parse/15.12.1.1-0-4.js
10 sendable/builtins/ASON/parse/15.12.1.1-0-5.js
11 sendable/builtins/ASON/parse/15.12.1.1-0-6.js
[all …]
Des2015_tests.txt1 built-ins/Array/15.4.5.1-5-1.js
2 built-ins/Array/15.4.5.1-5-2.js
3 built-ins/Array/15.4.5-1.js
4 built-ins/Array/constructor.js
5 built-ins/Array/from/Array.from_arity.js
6 built-ins/Array/from/Array.from_forwards-length-for-array-likes.js
7 built-ins/Array/from/Array.from-descriptor.js
8 built-ins/Array/from/Array.from-name.js
9 built-ins/Array/from/calling-from-valid-1-noStrict.js
10 built-ins/Array/from/calling-from-valid-1-onlyStrict.js
[all …]
Des2023_tests.txt1 built-ins/Array/prototype/findLast/predicate-call-parameters.js
2 built-ins/Array/prototype/findLast/return-abrupt-from-predicate-call.js
3 built-ins/Array/prototype/findLast/call-with-boolean.js
4 built-ins/Array/prototype/findLast/not-a-constructor.js
5 built-ins/Array/prototype/findLast/return-undefined-if-predicate-returns-false-value.js
6 built-ins/Array/prototype/findLast/length.js
7 built-ins/Array/prototype/findLast/return-abrupt-from-property.js
8 built-ins/Array/prototype/findLast/return-abrupt-from-this.js
9 built-ins/Array/prototype/findLast/return-abrupt-from-this-length-as-symbol.js
10 built-ins/Array/prototype/findLast/predicate-call-this-strict.js
[all …]
DCI_tests.txt1 built-ins/Error/length.js
2 built-ins/Error/message_property.js
3 built-ins/Error/prototype/S15.11.3.1_A1_T1.js
4 built-ins/Error/prototype/S15.11.3.1_A3_T1.js
5 built-ins/Error/prototype/S15.11.4_A3.js
6 built-ins/Error/prototype/constructor/S15.11.4.1_A1_T2.js
7 built-ins/Error/prototype/message/S15.11.4.3_A2.js
8 built-ins/Error/prototype/name/S15.11.4.2_A1.js
9 built-ins/Error/prototype/toString/15.11.4.4-10-1.js
10 built-ins/Error/prototype/toString/15.11.4.4-6-1.js
[all …]
Dother_tests_part1_1.txt1 test262/data/test/language/expressions/generators/named-yield-spread-obj.js
2 test262/data/test/language/expressions/generators/params-trailing-comma-single.js
3 test262/data/test/language/expressions/generators/params-trailing-comma-multiple.js
4 test262/data/test/language/expressions/generators/rest-param-strict-body.js
5 test262/data/test/language/expressions/generators/rest-params-trailing-comma-early-error.js
6 test262/data/test/language/expressions/generators/scope-name-var-close.js
7 test262/data/test/language/expressions/generators/scope-name-var-open-strict.js
8 test262/data/test/language/expressions/generators/scope-paramsbody-var-close.js
9 test262/data/test/language/expressions/generators/scope-paramsbody-var-open.js
10 test262/data/test/language/expressions/generators/static-init-await-binding.js
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dsimplify_string_builder.h2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
72 Inst *instance {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes)
73 Inst *ctorCall {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes)
74 Inst *toStringCall {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes)
75 size_t appendCount {0}; // NOLINT(misc-non-private-member-variables-in-classes)
76 std::array<IntrinsicInst *, ARGS_NUM_4>
77 appendIntrinsics {}; // NOLINT(misc-non-private-member-variables-in-classes)
81 …IntrinsicInst *CreateConcatIntrinsic(const std::array<IntrinsicInst *, ARGS_NUM_4> &appendIntrinsi…
87 … const std::array<IntrinsicInst *, ARGS_NUM_4> &appendIntrinsics,
[all …]
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/lib/
Dspec.rb2 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 # http://www.apache.org/licenses/LICENSE-2.0
27 # Array of tests not matching the spec
37 warn "Non testable group \"#{ntg['title']}\" not found in ISA."
119 warn "Non testable description \"#{ntda}\" in group \"#{ntg['title']}\" not found in iSA."
130 … warn "Non testable instruction \"#{nti['sig']}\" in group \"#{ntg['title']}\" not found in ISA."
141 warn "Non testable exception \"#{nte}\" in group \"#{ntg['title']}\" not found in ISA."
152 warn "Non testable verification \"#{ntv}\" in group \"#{ntg['title']}\" not found in ISA."
159 # split long-text description into array of assertions
165 result[-1] += ".#{p}"
[all …]
/arkcompiler/runtime_core/tests/cts-coverage-tool/lib/
Dspec.rb2 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
7 # http://www.apache.org/licenses/LICENSE-2.0
27 # Array of tests not matching the spec
37 warn "Non testable group \"#{ntg['title']}\" not found in ISA."
119 warn "Non testable description \"#{ntda}\" in group \"#{ntg['title']}\" not found in iSA."
130 … warn "Non testable instruction \"#{nti['sig']}\" in group \"#{ntg['title']}\" not found in ISA."
141 warn "Non testable exception \"#{nte}\" in group \"#{ntg['title']}\" not found in ISA."
152 warn "Non testable verification \"#{ntv}\" in group \"#{ntg['title']}\" not found in ISA."
159 # split long-text description into array of assertions
165 result[-1] += ".#{p}"
[all …]
/arkcompiler/ets_frontend/ets2panda/test/test-lists/ets-runtime/
Dets-runtime-ignored.txt30 trailing-lambda-with-capture.sts
32 # ignored until union types are properly implemented and non nullish base type of array types can b…
35 # ignored until verifier can't handle if a field name can be static and non-static at the same time
36 class-fields-same-name.sts
39 struct-identifier.sts
40 struct-init.sts
41 struct-init2.sts
57 increment-on-nullish-type.sts
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D5_generics.rst2 Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 http://www.apache.org/licenses/LICENSE-2.0
30 is the action that converts a *generic* into a real program entity (non-generic
31 class, interface, union, array, method, function, or lambda), or into another
35 |LANG| has special types that look similar to generics syntax-wise, and allow
41 array
77 specify its *in-* or *out-* variance (see :ref:`Type Parameter Variance`).
93 out-variance
94 in-variance
96 .. code-block:: abnf
[all …]
/arkcompiler/runtime_core/static_core/verification/util/tests/
Dstruct_field_test.cpp2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
17 #include <array>
30 // NOLINTBEGIN(misc-non-private-member-variables-in-classes,readability-magic-numbers)
42 // NOLINTEND(misc-non-private-member-variables-in-classes,readability-magic-numbers)
48 return it->second.Of(num0); in Access()
61 std::array<int64_t, 3U> arr {}; in TEST_F()
64 // NOLINTNEXTLINE(readability-magic-numbers) in TEST_F()
71 // NOLINTNEXTLINE(readability-magic-numbers) in TEST_F()
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe43.md1 # Array literals must contain elements of only inferrable types
3 Rule ``arkts-no-noninferrable-arr-literals``
7 Basically, ArkTS infers the type of an array literal as a union type of its
8 contents. However, a compile-time error occurs if there is at least one
9 element with a non-inferrable type (e.g. untyped object literal).
38 - Recipe 038: Object literal must correspond to some explicitly declared class or interface (``ark…
39 - Recipe 040: Object literals cannot be used as type declarations (``arkts-no-obj-literals-as-type…
/arkcompiler/runtime_core/static_core/compiler/docs/
Davoid-calculating-start-of-array.md1 # Avoid re-calculating the address of array data for consequent array accesses
5 Since accessing an array element is done via an object and an element index,
6 the address of the actual array data has to be infered from the object address.
11 Having multiple access to the same array on a control flow path results in
20 Detect multiple array accesses to an array that belong to one basic block or
24 array acesses instead of object address. Replace the `{Store, Load}Array`
25 instructions with the low-level `{Store, Load}` intructions.
27 Do not process array accesses that are not inside a loop as optimizing
28 non-repetetive sequences of instructions will not bring a measurable performance
36 …# [inst] 7.ref NewArray 181 v8(r21), v6(r2), v5 -> r21 (v31, v24, v17, v20, v27…
[all …]
/arkcompiler/runtime_core/compiler/docs/
Davoid-calculating-start-of-array.md1 # Avoid re-calculating the address of array data for consequent array accesses
5 Since accessing an array element is done via an object and an element index,
6 the address of the actual array data has to be infered from the object address.
11 Having multiple access to the same array on a control flow path results in
20 Detect multiple array accesses to an array that belong to one basic block or
24 array acesses instead of object address. Replace the `{Store, Load}Array`
25 instructions with the low-level `{Store, Load}` intructions.
27 Do not process array accesses that are not inside a loop as optimizing
28 non-repetetive sequences of instructions will not bring a measurable performance
36 …# [inst] 7.ref NewArray 181 v8(r21), v6(r2), v5 -> r21 (v31, v24, v17, v20, v27…
[all …]
/arkcompiler/runtime_core/static_core/tests/test-lists/hermes/
Dhermes-excluded.txt2 array-large.js
3 execution-time-limit.js
4 fewer-gc-bug0.js # 0:01:08.907835
5 gc-stress-test.js # 0:00:22.779755
7 number-functions.js # 0:13:27.338967
8 proxy-recursion-exception.js # 0:00:16.996039
9 regexp-stackoverflow.js
11 sort-sparse.js # 0:08:19.348478
12 stack-overflow.js
13 stack-overflow-apply.js # 0:03:06.849030
[all …]
/arkcompiler/runtime_core/static_core/docs/diagrams/
Dstacktrace.plantuml1 ' Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 ' http://www.apache.org/licenses/LICENSE-2.0
20 ManagedThread -> stacktrace.cpp: GetStacktrace
21 stacktrace.cpp -> ManagedThread: stacktrace (array of function call instruction addresses)
22 ManagedThread -> StackPrinter: Print the stacktrace
23 StackPrinter -> "~/proc~/self~/maps": ReadVma (read used libraries and associated addresses)
24 "~/proc~/self~/maps" -> StackPrinter: Array of VMA (virtual memory area)
25 StackPrinter -> StackPrinter: For each address, find the corresponding VMA and determine the librar…
26 StackPrinter -> libdwarf: Read debug info from the library file
27 libdwarf -> StackPrinter: Debug info
[all …]

12345678910>>...14