/commonlibrary/rust/ylong_runtime/ylong_runtime/src/iter/ |
H A D | core.rs | 87 let (left, right) = par_iter.split(); 88 let right = match right { 104 let right = spawn_task( 107 right, 113 let right = right.await??; 114 Ok(C::combine(left, right)) 164 let (left, right) = par_iter.split(); 165 let right [all...] |
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/iter/parallel/ |
H A D | slice.rs | 26 let (left, right) = self.split_at(idx); in split() 27 (left, Some(right)) in split() 42 let (left, right) = self.split_at_mut(idx); in split() 43 (left, Some(right)) in split()
|
H A D | vec.rs | 28 let right = self.split_off(idx); in split() 29 if right.is_empty() { in split() 32 (self, Some(right)) in split()
|
H A D | mod.rs | 124 let (left, right) = self.data.split(); in split() 126 let right = right.map(|data| ParIter { data }); in split() 127 (left, right) in split()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/iter/pariter/ |
H A D | filter.rs | 46 let (left, right) = self.base.split(); in split() 52 right.map(|right| Filter { in split() 53 base: right, in split()
|
H A D | map.rs | 52 let (left, right) = self.base.split(); in split() 55 right.map(|right| Map { in split() 56 base: right, in split()
|
H A D | zip.rs | 64 let right = match (right_a, right_b) { in split() 68 (left, right) in split()
|
/commonlibrary/rust/ylong_http/ylong_http/src/util/ |
H A D | test_util.rs | 23 let (left, right) = remained.split_at(2); in decode() 28 remained = right; in decode()
|
/commonlibrary/c_utils/base/test/fuzztest/string_fuzzer/ |
H A D | string_fuzzer.cpp | 53 string right = dataProvider->ConsumeRandomLengthString(MAX_STRING_LENGTH); in StringTestFunc() local 55 GetFirstSubStrBetween(newStr, left, right, emptySubStr); in StringTestFunc()
|
/commonlibrary/c_utils/base/include/ |
H A D | string_ex.h | 182 * by `left` and `right`. 186 * @param right Indicates the right string. 192 const std::string& right, std::string& sub); 197 * by `left` and `right`. 201 * @param right Indicates the right string. 205 const std::string& right, std::vector<std::string>& sub);
|
/commonlibrary/c_utils/base/src/ |
H A D | string_ex.cpp | 206 const string& right, string& sub) in GetFirstSubStrBetween() 213 string::size_type rightPos = str.find(right, leftPos + left.length()); in GetFirstSubStrBetween() 222 void GetSubStrBetween(const string& str, const string& left, const string& right, vector<string>& sub) in GetSubStrBetween() argument 226 string::size_type pos = GetFirstSubStrBetween(strTmp, left, right, subString); in GetSubStrBetween() 230 pos = GetFirstSubStrBetween(strTmp, left, right, subString); in GetSubStrBetween() 205 GetFirstSubStrBetween(const string& str, const string& left, const string& right, string& sub) GetFirstSubStrBetween() argument
|
/commonlibrary/c_utils/base/test/benchmarktest/string_benchmark_test/ |
H A D | string_benchmark_test.cpp | 668 string right = "}"; in BENCHMARK_F() local 671 string::size_type pos = GetFirstSubStrBetween(strBase, left, right, strValue); in BENCHMARK_F() 677 pos = GetFirstSubStrBetween(strBase, left, right, strValue); in BENCHMARK_F() 690 string right = "}"; in BENCHMARK_F() local 692 string::size_type pos = GetFirstSubStrBetween(strBase, left, right, strValue); in BENCHMARK_F() 704 string right = "}"; in BENCHMARK_F() local 707 GetSubStrBetween(strBase, left, right, strValue); in BENCHMARK_F() 721 string right = "}"; in BENCHMARK_F() local 724 GetSubStrBetween(strBase, left, right, strValue); in BENCHMARK_F()
|
/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_string_test.cpp | 597 string right = "}"; in HWTEST_F() local 600 string::size_type pos = GetFirstSubStrBetween(strBase, left, right, strValue); in HWTEST_F() 606 pos = GetFirstSubStrBetween(strBase, left, right, strValue); in HWTEST_F() 615 string right = "}"; in HWTEST_F() local 617 string::size_type pos = GetFirstSubStrBetween(strBase, left, right, strValue); in HWTEST_F() 626 string right = "}"; in HWTEST_F() local 629 GetSubStrBetween(strBase, left, right, strValue); in HWTEST_F() 639 string right = "}"; in HWTEST_F() local 642 GetSubStrBetween(strBase, left, right, strValue); in HWTEST_F()
|
H A D | utils_parcel_test.cpp | 1295 void ValidatePadded(const struct Padded &left, const struct Padded &right) in ValidatePadded() argument 1297 EXPECT_EQ(left.title, right.title); in ValidatePadded() 1298 EXPECT_EQ(left.handle, right.handle); in ValidatePadded() 1299 EXPECT_EQ(left.cookie, right.cookie); in ValidatePadded() 1302 void ValidateUnpadded(const struct Unpadded &left, const struct Unpadded &right) in ValidateUnpadded() argument 1304 EXPECT_EQ(left.tip, right.tip); in ValidateUnpadded()
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/verify/ |
H A D | pinning.rs | 290 let (left, right) = remained.split_at(2); in bytes_from_hex() 295 remained = right; in bytes_from_hex()
|
/commonlibrary/rust/ylong_http/ylong_http/src/huffman/ |
H A D | mod.rs | 88 // We rotate the `code` to the right, and we will get `rotate`. 180 let right = byte & 0xf; in huffman_decode_inner() 190 (state, _result, flags) = HUFFMAN_DECODE[state as usize][right as usize]; in huffman_decode_inner()
|
/commonlibrary/ets_utils/js_sys_module/console/ |
H A D | console.cpp | 44 {"right", " │"}, 323 size_t right = columnWidths[i] - stringLen - left; in RenderHead() local 324 result += StringRepeat(left, " ") + elemStr + StringRepeat(right, " "); in RenderHead() 329 result += tableChars["right"]; in RenderHead() 363 size_t right = columnWidths[j] - stringLen - left; in PrintRows() local 364 result += StringRepeat(left, " ") + stringVal + StringRepeat(right, " "); in PrintRows() 372 result += tableChars["right"]; in PrintRows()
|
/commonlibrary/c_utils/base/test/benchmarktest/parcel_benchmark_test/ |
H A D | parcel_benchmark_test.cpp | 1200 void ValidatePadded(const struct Padded &left, const struct Padded &right, benchmark::State& state) in ValidatePadded() argument 1203 AssertEqual(left.title, right.title, "left.title did not equal right.title as expected.", state); in ValidatePadded() 1205 AssertEqual(left.handle, right.handle, "left.handle did not equal right.handle as expected.", state); in ValidatePadded() 1207 AssertEqual(left.cookie, right.cookie, "left.cookie did not equal right.cookie as expected.", state); in ValidatePadded() 1210 void ValidateUnpadded(const struct Unpadded &left, const struct Unpadded &right, benchmark::State& state) in ValidateUnpadded() argument 1213 AssertEqual(left.tip, right.tip, "left.tip did not equal right in ValidateUnpadded() [all...] |