Home
last modified time | relevance | path

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

12345678910>>...13

/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/
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/compiler/optimizer/optimizations/
Dsimplify_string_builder.h2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
68 Inst *instance {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes)
69 Inst *ctorCall {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes)
70 Inst *toStringCall {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes)
71 size_t appendCount {0}; // NOLINT(misc-non-private-member-variables-in-classes)
72 std::array<IntrinsicInst *, ARGS_NUM_4>
73 appendIntrinsics {}; // NOLINT(misc-non-private-member-variables-in-classes)
77 …IntrinsicInst *CreateConcatIntrinsic(const std::array<IntrinsicInst *, ARGS_NUM_4> &appendIntrinsi…
84 … const std::array<IntrinsicInst *, ARGS_NUM_4> &appendIntrinsics,
[all …]
/arkcompiler/ets_frontend/test262/
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 …]
Dignored-test262-fastverify-qemu-aot-pgo.txt2 test262/data/test_es2021/annexB/built-ins/escape/to-string-observe.js
3 test262/data/test_es2021/annexB/built-ins/unescape/to-string-observe.js
4 test262/data/test_es2021/annexB/built-ins/escape/prop-desc.js
5 test262/data/test_es2021/annexB/language/statements/try/catch-redeclared-for-in-var.js
6 test262/data/test_es2021/annexB/built-ins/unescape/prop-desc.js
7 test262/data/test_es2021/annexB/built-ins/String/prototype/substr/this-non-obj-coerce.js
8 test262/data/test_es2021/annexB/built-ins/String/prototype/substr/B.2.3.js
9 test262/data/test_es2021/built-ins/ArrayBuffer/allocation-limit.js
10 test262/data/test_es2021/built-ins/ArrayBuffer/undefined-newtarget-throws.js
11 test262/data/test_es2021/built-ins/ArrayBuffer/length-is-too-large-throws.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 …]
/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/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/
Dtest_core_typeduarray_function1.j27 * http://www.apache.org/licenses/LICENSE-2.0
27 …failures += check(createNonEmptyWithLength(),"Create default non empty {{.item.objectType}} from l…
28 …failures += check(createtypedUArrayWithWrongLength(),"Create default non empty {{.item.objectType}…
30 …failures += check(createNonEmptyWithIterable(),"Create default non empty {{.item.objectType}} from…
32 …es += check(testTypedUArrayIteratorEmptyArray(), "test {{.item.objectType}} Iterator Empty Array");
45 …eateTAFromNonEmptyArrayBuffer(),"Create default empty {{.item.objectType}} from non empty source");
46 …ayBufferOneParamNoOffset(),"Create default empty {{.item.objectType}} from non empty source one pa…
47 …OneOffsetWithWrongNumber(),"Create default empty {{.item.objectType}} from non empty source one pa…
48 …mptyArrayBufferTwoParams(),"Create default empty {{.item.objectType}} from non empty source two pa…
49 …TwoParamsWithWrongNumber(),"Create default empty {{.item.objectType}} from non empty source two pa…
[all …]
Dtest_core_typedarray_function1.j27 * http://www.apache.org/licenses/LICENSE-2.0
26 …failures += check(createNonEmptyWithLength(),"Create default non empty {{.item.objectType}} from l…
27 …failures += check(createtypedArrayWithWrongLength(),"Create default non empty {{.item.objectType}}…
29 …failures += check(createNonEmptyWithIterable(),"Create default non empty {{.item.objectType}} from…
31 …res += check(testTypedArrayIteratorEmptyArray(), "test {{.item.objectType}} Iterator Empty Array");
44 …eateTAFromNonEmptyArrayBuffer(),"Create default empty {{.item.objectType}} from non empty source");
45 …ayBufferOneParamNoOffset(),"Create default empty {{.item.objectType}} from non empty source one pa…
46 …OneOffsetWithWrongNumber(),"Create default empty {{.item.objectType}} from non empty source one pa…
47 …mptyArrayBufferTwoParams(),"Create default empty {{.item.objectType}} from non empty source two pa…
48 …TwoParamsWithWrongNumber(),"Create default empty {{.item.objectType}} from non empty source two pa…
[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/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/ets_runtime/test/sharedtest/sharedtypedarray/
Dsharedtypedarray.ts7 * http://www.apache.org/licenses/LICENSE-2.0
23 // @ts-nocheck
40 let array;
42 array = new ctor([1n, 2n, 3n, 4n]);
44 array = new ctor([1, 2, 3, 4]);
46 print('length: ' + array.length + ', byteLength: ' + array.byteLength);
47 print('BYTES_PER_ELEMENT: ' + ctor.BYTES_PER_ELEMENT + ', ' + array.BYTES_PER_ELEMENT);
63 // From an non-sendable array
66 uint32 = new SendableUint32Array(new Array(11, 22));
69 // From an sendable array
[all …]
/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/tests/tests-u-runner/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 …]
/arkcompiler/runtime_core/docs/diagrams/
Dstacktrace.pusequence1 ' Copyright (c) 2021-2022 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 …]
/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
76 annotation_tests/Muti-AnnotationsDefineAndUseForClass.sts
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D17_experimental.rst2 Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 http://www.apache.org/licenses/LICENSE-2.0
30 The *array creation* feature introduced in :ref:`Array Creation Expressions`
31 enables users to dynamically create objects of array type by using runtime
32 expressions that provide the array size. This is a useful addition to other
33 array-related features of the language, such as array literals.
35 The construct can also be used to create multi-dimensional arrays.
44 array creation
46 array
47 array literal
[all …]
/arkcompiler/runtime_core/abc2program/
Dabc2program_compiler.h7 * http://www.apache.org/licenses/LICENSE-2.0
20 #include <assembly-program.h>
30 … bool CheckFileVersionIsSupported(std::array<uint8_t, panda_file::File::VERSION_SIZE> min_version,
39 bool IsVersionLessEqual(const std::array<uint8_t, panda_file::File::VERSION_SIZE> &version_1,
40 const std::array<uint8_t, panda_file::File::VERSION_SIZE> &version_2) const;
43 // the single whole program compiled from the abc file, only used in non-parallel mode

12345678910>>...13