/commonlibrary/ets_utils/js_api_module/url/src/ |
D | js_url.ts | 30 array: string[]; property 48 array: string[]; property 136 this.urlClass.array = out; 195 let arrayLen: number = this.urlClass.array.length; 197 let key: string = this.urlClass.array[pos]; 198 let value: string = this.urlClass.array[pos + 1]; 254 let array = this.urlClass.array; 255 if (array.length === 0) { 261 let size = array.length - 1; 263 let key = array[i]; [all …]
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/mpsc/ |
D | array.rs | 119 Position { array: self }.await in get_position() 234 array: &'a Array<T>, field 241 match self.array.prepare_send() { in poll() 247 self.array.waiters.insert(cx.waker().clone()); in poll() 249 let tail = self.array.tail.load(Acquire); in poll() 250 let index = (tail >> INDEX_SHIFT) % self.array.capacity; in poll() 251 let node = self.array.data.get(index).unwrap(); in poll() 254 self.array.waiters.notify_one(); in poll()
|
D | bounded.rs | 17 use crate::sync::mpsc::array::Array; 22 use crate::sync::mpsc::array::SendPosition; 114 let array = Array::new(number); in bounded_channel() localVariable 115 let (tx, rx) = channel(array); in bounded_channel()
|
D | mod.rs | 16 pub(crate) mod array; module
|
/commonlibrary/c_utils/base/test/unittest/common/ |
D | utils_safe_block_queue_test.cpp | 71 void GetThreadDatePushedStatus(std::array<DemoThreadData, THREAD_NUM>& demoDatas, in GetThreadDatePushedStatus() 86 void GetThreadDateGetedStatus(std::array<DemoThreadData, THREAD_NUM>& demoDatas, in GetThreadDateGetedStatus() 154 std::array<DemoThreadData, THREAD_NUM> demoDatas; 207 std::array<DemoThreadData, THREAD_NUM> demoDatas; 267 std::array<DemoThreadData, THREAD_NUM> demoDatas; 323 std::array<DemoThreadData, THREAD_NUM> demoDatas; 377 std::array<DemoThreadData, THREAD_NUM> demoDatas; 438 std::array<DemoThreadData, THREAD_NUM> demoDatas; 496 std::array<DemoThreadData, THREAD_NUM> demoDatas; 553 std::array<DemoThreadData, THREAD_NUM> demoDatas; [all …]
|
D | utils_safe_block_queue_tracking.cpp | 82 void GetThreadDatePushedStatus(std::array<DemoThreadData, THREAD_NUM>& demoDatas, in GetThreadDatePushedStatus() 96 void GetThreadDateGetedStatus(std::array<DemoThreadData, THREAD_NUM>& demoDatas, in GetThreadDateGetedStatus() 161 std::array<DemoThreadData, THREAD_NUM> demoDatas; 212 std::array<DemoThreadData, THREAD_NUM> demoDatas; 281 std::array<DemoThreadData, THREAD_NUM> demoDatas; 344 std::array<DemoThreadData, THREAD_NUM> demoDatas; 405 std::array<DemoThreadData, THREAD_NUM> demoDatas; 485 std::array<DemoThreadData, THREAD_NUM> demoDatas; 552 std::array<DemoThreadData, THREAD_NUM> demoDatas; 621 std::array<DemoThreadData, THREAD_NUM> demoDatas;
|
D | utils_safe_queue_test.cpp | 149 std::array<DemoThreadData, THREAD_NUM> demoDatas;
|
/commonlibrary/ets_utils/js_util_module/container/vector/ |
D | js_vector.ts | 317 copyToArray(array: Array<T>): void { 319 let len = array.length; 321 array[i + len] = arr[i];
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/iter/parallel/ |
D | mod.rs | 17 pub mod array; module
|
/commonlibrary/ets_utils/ |
D | README.en.md | 116 …btains an ES6 iterator. Each item of the iterator is a JavaScript array, and each array contains a… 196 // Using an array 450 …array into a new Unit8Array typed array or encode a byte array into a string. **decode**: provides… 578 | encode(input : string) : Uint8Array | Encodes a string into a Uint8Array typed array.| 579 …, written : number} | Encodes a string into a Unit8Array typed array, and stores the array. **dest… 584 …rray, options?: { stream?: false }) : string | Decodes a Unit8Array typed array into a string. **i… 585 …rray, options?: { stream?: false }) : string | Decodes a Unit8Array typed array into a string. **i… 586 …e to synchronously encode all bytes in a Unit8Array typed array into a new Unit8Array typed array.| 587 … | Uses the Base64 encoding scheme to synchronously encode a Unit8Array typed array into a string.| 588 …usly decode a Base64-encoded string or a Unit8Array typed array into a new Unit8Array typed array.| [all …]
|
D | README.md | 233 | from(array: number[]): Buffer | 根据指定数组创建新的Buffer实例。 | 362 // Using an array 661 56、from(array: number[]): Buffer 2073 var array = new Uint8Array([115,49,51]); 2074 var result = that.encodeSync(array); 2080 var array = new Uint8Array([115,49,51]); 2081 var result = that.encodeToStringSync(array); 2095 var array = new Uint8Array([115,49,51]); 2096 await that.encode(array).then(val=>{ 2104 var array = new Uint8Array([115,49,51]); [all …]
|
/commonlibrary/ets_utils/js_concurrent_module/common/helper/ |
D | napi_helper.h | 54 static uint32_t GetArrayLength(napi_env env, napi_value array);
|
D | napi_helper.cpp | 238 uint32_t NapiHelper::GetArrayLength(napi_env env, napi_value array) in GetArrayLength() argument 241 napi_get_array_length(env, array, &arrayLength); in GetArrayLength()
|
/commonlibrary/ets_utils/js_api_module/buffer/ |
D | js_buffer.cpp | 366 void Buffer::SetArray(vector<uint8_t> array, unsigned int offset) in SetArray() argument 368 unsigned int arrLen = array.size(); in SetArray() 370 WriteBytes(array.data(), size, raw_ + byteOffset_ + offset); in SetArray()
|
D | js_buffer.h | 76 void SetArray(std::vector<uint8_t> array, unsigned int offset = 0);
|
/commonlibrary/ets_utils/js_sys_module/process/ |
D | js_process.cpp | 100 std::vector<uint32_t> array; in GetGroups() local 103 array.push_back(receive); in GetGroups() 106 size_t len = array.size(); in GetGroups() 109 NAPI_CALL(env, napi_create_uint32(env, array[i], &numvalue)); in GetGroups()
|
/commonlibrary/ets_utils/js_concurrent_module/taskpool/ |
D | task_manager.h | 154 std::array<std::unique_ptr<ExecuteQueue>, Priority::NUMBER> taskQueues_ {};
|
/commonlibrary/ets_utils/js_api_module/buffer/test/ |
D | test_napi.cpp | 129 std::vector<uint8_t> array; variable 130 buf->FillNumber(array, 1, 0); 134 buf->SetArray(array, 0);
|
/commonlibrary/ets_utils/js_api_module/buffer/src/ |
D | js_buffer.ts | 198 new(type: number, array: number[]): NativeBuffer; 203 setArray(array: Array<number>): undefined;
|