/ohos5.0/docs/zh-cn/application-dev/arkts-utils/ |
H A D | arkts-collections-introduction.md | 112 ### TypedArray(以Int8Array为例) 126 …mber, array: Int8Array) => any, thisArg?: any): Int8Array | filter(predicate: TypedArrayPredica… 128 …ndex: number, obj: Int8Array) => boolean, thisArg?: any): number | findIndex(predicate: TypedAr… 132 …er, array: Int8Array) => number, thisArg?: any): Int8Array | map(callbackFn: TypedArrayForEachC… 133 …tIndex: number, array: Int8Array) => number): number | reduce(callbackFn: TypedArrayReduceCallb… 136 | reverse(): Int8Array | reverse(): Int8Array | 否 | / | 138 | slice(start?: number, end?: number): Int8Array | slice(start?: number, end?: number): Int8Array |… 139 …ndex: number, array: Int8Array) => unknown, thisArg?: any): boolean | some(predicate: TypedArra… 141 | subarray(begin?: number, end?: number): Int8Array | subarray(begin?: number, end?: number): Int8A… 148 | new(length: number): Int8Array | constructor(length: number) | 否 | / | [all …]
|
/ohos5.0/docs/en/application-dev/arkts-utils/ |
H A D | arkts-collections-introduction.md | 112 ### TypedArray (Int8Array Used as an Example) 126 …mber, array: Int8Array) => any, thisArg?: any): Int8Array | filter(predicate: TypedArrayPredica… 132 …er, array: Int8Array) => number, thisArg?: any): Int8Array | map(callbackFn: TypedArrayForEachC… 133 …tIndex: number, array: Int8Array) => number): number | reduce(callbackFn: TypedArrayReduceCallb… 134 …ber, array: Int8Array) => number, initialValue: number): number | reduce(callbackFn: TypedArray… 135 …: number, array: Int8Array) => U, initialValue: U): U | reduce<U>(callbackFn: TypedArrayR… 136 | reverse(): Int8Array | reverse(): Int8Array | No| / | 138 | slice(start?: number, end?: number): Int8Array | slice(start?: number, end?: number): Int8Array |… 141 | subarray(begin?: number, end?: number): Int8Array | subarray(begin?: number, end?: number): Int8A… 148 | new(length: number): Int8Array | constructor(length: number) | No| / | [all …]
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | arkts-high-performance-programming.md | 149 const typedArray1 = new Int8Array([1, 2, 3]); 150 const typedArray2 = new Int8Array([4, 5, 6]); 151 let res = new Int8Array(3);
|
/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | high-performance-programming.md | 170 常见的TypedArray包括:Int8Array、Uint8Array、Uint8ClampedArray、Int16Array、Uint16Array、Int32Array、Uint32Arra… 175 const typedArray1 = new Int8Array([1, 2, 3]); // 针对这一场景,建议不要使用new Array([1, 2, 3]) 176 const typedArray2 = new Int8Array([4, 5, 6]); // 针对这一场景,建议不要使用new Array([4, 5, 6]) 177 let res = new Int8Array(3);
|
/ohos5.0/docs/zh-cn/application-dev/napi/ |
H A D | use-napi-about-array.md | 13 …定元素类型的数组,TypedArray没有直接构造器,但是可以用它的子类构造器构造TypedArray类型的数据。TypedArray的子类有:Int8Array、Uint8Array、Uint8… 530 let typedArray = testNapi.createTypedArray<Int8Array>(testNapi.TypedArrayTypes["INT8_ARRAY"]); 531 if (typedArray instanceof Int8Array) { 532 hilog.info(0x0000, 'testTag', ' Node-API napi_create_typedarray: Int8Array'); 696 // TypedArray的子类有: Int8Array Uint8Array Uint8ClampedArray Int16Array Int32Array等 697 let int8Array = new Int8Array([15, 7]); 707 let arr = new Array(new Int8Array(arrbuff)); 896 let arrayBuffer = new Int8Array([2, 5]).buffer; 910 let arr = Array.from(new Int8Array(arrbuff));
|
H A D | use-jsvm-about-array.md | 13 …型的数组,TypedArray 没有直接构造器,但是可以用它的子类构造器构造 TypedArray 类型的数据。TypedArray 的子类有:Int8Array、Uint8Array、Uint8… 489 getTypedArrayInfo(new Int8Array(3), 0); 491 getTypedArrayInfo(new Int8Array(5), 1); 493 getTypedArrayInfo(new Int8Array(5), 2); 495 getTypedArrayInfo(new Int8Array(1), 3); 582 getDataViewInfo(new DataView(new Int8Array([2,5]).buffer), 0); 588 data = new DataView(new Int8Array([2,5,3]).buffer); 592 data = new DataView(new Int8Array([2,5,3]).buffer);
|
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsVSCode/ |
H A D | extension.js | 119 let tt = new Int8Array(tt2); 137 let tt = new Int8Array(tt2);
|
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | arkts-high-performance-programming.md | 149 const typedArray1 = new Int8Array([1, 2, 3]); 150 const typedArray2 = new Int8Array([4, 5, 6]); 151 let res = new Int8Array(3);
|
/ohos5.0/docs/en/application-dev/napi/ |
H A D | use-napi-about-array.md | 13 …ruct **TypedArray** data. The child classes of **TypedArray** include **Int8Array**, **Uint8Array*… 529 let typedArray = testNapi.createTypedArray<Int8Array>(testNapi.TypedArrayTypes["INT8_ARRAY"]); 530 if (typedArray instanceof Int8Array) { 531 hilog.info(0x0000, 'testTag', ' Node-API napi_create_typedarray: Int8Array'); 695 // The child classes of TypedArray include Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, an… 696 let int8Array = new Int8Array([15, 7]); 706 let arr = Array.prototype.slice.call(new Int8Array(arrbuff)); 895 let arrayBuffer = new Int8Array([2, 5]).buffer; 909 let arr = Array.from(new Int8Array(arrbuff));
|
H A D | use-jsvm-about-array.md | 13 …ruct **TypedArray** data. The child classes of **TypedArray** include **Int8Array**, **Uint8Array*… 489 getTypedArrayInfo(new Int8Array(3), 0); 491 getTypedArrayInfo(new Int8Array(5), 1); 493 getTypedArrayInfo(new Int8Array(5), 2); 495 getTypedArrayInfo(new Int8Array(1), 3); 582 getDataViewInfo(new DataView(new Int8Array([2,5]).buffer), 0); 588 data = new DataView(new Int8Array([2,5,3]).buffer); 592 data = new DataView(new Int8Array([2,5,3]).buffer);
|
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/rust/innerkits/src/ |
H A D | sys_event.rs | 111 Int8Array, enumerator
|
H A D | macros.rs | 56 hisysevent::HiSysEventParamType::Int8Array
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.31/ |
H A D | changelogs-arkcompiler.md | 80 /interface/sdk-js/arkts/@arkts.collections.d.ets中TypedArray(包括Int8Array/Uint8Array/Int16Array/Uint1…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/ |
H A D | js-apis-arkts-collections.md | 2555 一种线性数据结构,底层基于[ArkTS ArrayBuffer](#collectionsarraybuffer)实现。目前支持包括Int8Array、Uint8Array、Int16Array、U… 2594 let int8Array: collections.Int8Array = new collections.Int8Array(); 2632 let int8Array: collections.Int8Array = new collections.Int8Array(12); 3776 返回TypedArray指定索引位置的元素,适用于Int8Array,Int16Array,Int32Array,Uint8Array,Uint16Array,Uint32Array,Float32… 3795 let int8Array = collections.Int8Array.from([1, 2, 4]);
|
H A D | js-apis-util.md | 3755 ArrayBufferView辅助类型包括:Int8Array、Int16Array、Int32Array、Uint8Array、Uint8ClampedArray、Uint32Array、Floa… 3777 let result = type.isArrayBufferView(new Int8Array([])); 4240 检查输入的value是否是Int8Array数组类型。 4256 | boolean | 判断的结果,如果是内置包含的Int8Array数组类型为true,反之为false。 | 4262 let result = type.isInt8Array(new Int8Array([])); 4718 TypedArray类型的辅助类型,包括Int8Array、Int16Array、Int32Array、Uint8Array、Uint8ClampedArray、Uint16Array、Uint32…
|
H A D | js-apis-worker.md | 132 const view = new Int8Array(data).fill(3); 2408 const view = new Int8Array(data).fill(3); 2488 const view = new Int8Array(data).fill(3);
|
/ohos5.0/docs/zh-cn/release-notes/ |
H A D | OpenHarmony-v5.0-beta1.md | 580 - 支持Sendable共享内存的数据类型,包括Sendable类、Sendable容器(Array、Map、Set、Int8Array、Int16Array、Int32Array、Uint8Arr…
|
/ohos5.0/commonlibrary/ets_utils/js_api_module/buffer/src/ |
H A D | js_buffer.ts | 282 type TypedArray = Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | 2137 let typeArr = [Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Uint16Array,
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.31/ |
H A D | changelogs-arkcompiler.md | 80 **map** API of TypedArray (including Int8Array/Uint8Array/Int16Array/Uint16Array/Int32Array/Uint32A…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkts/ |
H A D | js-apis-arkts-collections.md | 2555 …implemented on [ArkTS ArrayBuffer](#collectionsarraybuffer). Currently, Int8Array, Uint8Array, Int… 2594 let int8Array: collections.Int8Array = new collections.Int8Array(); 2632 let int8Array: collections.Int8Array = new collections.Int8Array(12); 3776 Returns the element at a given index in this TypedArray. This API is applicable to Int8Array, Int16… 3795 let int8Array = collections.Int8Array.from([1, 2, 4]);
|
H A D | js-apis-util.md | 3756 **ArrayBufferView** is a helper type representing any of the following: Int8Array, Int16Array, Int3… 3778 let result = type.isArrayBufferView(new Int8Array([])); 4241 Checks whether the input value is of the Int8Array type. 4257 | boolean | Returns **true** if the input value is of the Int8Array type; returns **false** otherwi… 4263 let result = type.isInt8Array(new Int8Array([])); 4719 **TypedArray** is a helper type representing any of the following: Int8Array, Int16Array, Int32Arra…
|
H A D | js-apis-worker.md | 133 const view = new Int8Array(data).fill(3); 2412 const view = new Int8Array(data).fill(3); 2492 const view = new Int8Array(data).fill(3);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/test/unittest/distributedKVStore/ |
H A D | QueryKVJsTest.js | 734 var i8 = new Int8Array([-21, 31]);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/test/unittest/distributeddata/ |
H A D | QueryDataJsTest.js | 782 var i8 = new Int8Array([-21,31]);
|
/ohos5.0/commonlibrary/ets_utils/ |
H A D | README.en.md | 657 | isInt8Array(value: Object): boolean | Checks whether the input value is of the **Int8Array** type… 1333 var result = proc.isInt8Array(new Int8Array([]));
|