Home
last modified time | relevance | path

Searched +full:concat +full:- +full:map (Results 1 – 25 of 394) sorted by relevance

12345678910>>...16

/third_party/typescript/tests/baselines/reference/
DarrayConcatMap.symbols2 var x = [].concat([{ a: 1 }], [{ a: 2 }])
4 >[].concat([{ a: 1 }], [{ a: 2 }]) .map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --))
5 >[].concat : Symbol(Array.concat, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
6 >concat : Symbol(Array.concat, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
10 .map(b => b.a);
11 >map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --))
DanyInferenceAnonymousFunctions.symbols6 …ce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.t…
8 …ce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.t…
12 return a1.concat({});
18 …ce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.t…
20 …ce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.t…
24 return b1.concat({});
29 paired.reduce((b3, b4) => b3.concat({}), []);
30 …ce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.t…
32 …ce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.t…
37 paired.map((c1) => c1.count);
[all …]
DtemplateLiteralsSourceMap.sourcemap.txt3 mapUrl: templateLiteralsSourceMap.js.map
7 -------------------------------------------------------------------
10 -------------------------------------------------------------------
11 >>>var s = "a".concat(0, "b").concat(1, "c").concat(2);
48 ---
49 >>>//# sourceMappingURL=templateLiteralsSourceMap.js.map
DrecursiveTypeReferences1.types32 … id: "parent" }, ["div", { id: "first-child" }, "I'm the first child"], ["div", { id…
38 ["div", { id: "first-child" }, "I'm the first child"],
39 >["div", { id: "first-child" }, "I'm the first child"] : [string, { id: string; }, string]
41 >{ id: "first-child" } : { id: string; }
43 >"first-child" : "first-child"
46 ["div", { id: "second-child" }, "I'm the second child"]
47 >["div", { id: "second-child" }, "I'm the second child"] : [string, { id: string; }, string]
49 >{ id: "second-child" } : { id: string; }
51 >"second-child" : "second-child"
414 return html('ul', node.map(([el, children], i) => {
[all …]
DrecursiveTypeReferences1.js11 ["div", { id: "first-child" }, "I'm the first child"],
12 ["div", { id: "second-child" }, "I'm the second child"]
103 return html('ul', node.map(([el, children], i) => {
106 … html('a', { href: `#${el.id}`, rel: 'noopener', 'data-index': idx.join('.') }, el.textContent!),
117 ? concat(hss, [concat(hs, [h])])
118 : concat(hss, [hs, [h]]);
123 : concat<Tree[number]>(node, [[hs.shift()!, cons(hs)]])
142 return to.concat(ar || Array.prototype.slice.call(from));
147 ["div", { id: "first-child" }, "I'm the first child"],
148 ["div", { id: "second-child" }, "I'm the second child"]
[all …]
/third_party/jerryscript/tests/jerry/es2015/
Darray-species.js7 * http://www.apache.org/licenses/LICENSE-2.0
17 // Use of this source code is governed by a BSD-style license that can be
24 // Subclasses of Array construct themselves under map, etc
32 assertEquals(MyArray, new MyArray().map(()=>{}).constructor);
36 assertEquals(MyArray, new MyArray().concat([1]).constructor);
37 assertEquals(1, new MyArray().concat([1])[0]);
45 assertEquals(MyArray, new MyOtherArray().map(()=>{}).constructor);
49 assertEquals(MyArray, new MyOtherArray().concat().constructor);
51 // Array methods on non-arrays return arrays
60 Array.prototype.map.call(new MyNonArray(), ()=>{}).constructor);
[all …]
Dclass-inheritance-builtin-array.js7 * http://www.apache.org/licenses/LICENSE-2.0
50 // Test built-in Array prototype methods
51 var mapped = c.map ((x) => x * 2);
58 var concated = c.concat (c);
76 var spliced = c.splice (c.length - 1);
84 mapped = c.map ((x) => x * 2);
91 concated = c.concat (c);
/third_party/libwebsockets/lib/jose/jwe/
Djwe-ecdh-es-aeskw.c2 * libwebsockets - small server side websockets and web server implementation
4 * Copyright (C) 2010 - 2020 Andy Green <andy@warmcat.com>
25 #include "private-lib-core.h"
26 #include "private-lib-jose-jwe.h"
31 * 4.6. Key Agreement with Elliptic Curve Diffie-Hellman Ephemeral Static
32 * (ECDH-ES)
35 * Curve Diffie-Hellman Ephemeral Static [RFC6090], in combination with
36 * the Concat KDF, as defined in Section 5.8.1 of [NIST.800-56A]. The
49 * In Direct Key Agreement mode, the output of the Concat KDF MUST be a
52 * value. The "alg" (algorithm) Header Parameter value "ECDH-ES" is
[all …]
/third_party/rust/crates/nix/test/
Dtest_sendfile.rs66 vec!["HTTP/1.1 200 OK\n", "Content-Type: text/plain\n", "\n"]; in test_sendfile_freebsd()
77 header_strings.iter().map(|s| s.as_bytes()).collect(); in test_sendfile_freebsd()
79 trailer_strings.iter().map(|s| s.as_bytes()).collect(); in test_sendfile_freebsd()
99 let expected_string = header_strings.concat() in test_sendfile_freebsd()
101 + &trailer_strings.concat(); in test_sendfile_freebsd()
117 vec!["HTTP/1.1 200 OK\n", "Content-Type: text/plain\n", "\n"]; in test_sendfile_dragonfly()
128 header_strings.iter().map(|s| s.as_bytes()).collect(); in test_sendfile_dragonfly()
130 trailer_strings.iter().map(|s| s.as_bytes()).collect(); in test_sendfile_dragonfly()
148 let expected_string = header_strings.concat() in test_sendfile_dragonfly()
150 + &trailer_strings.concat(); in test_sendfile_dragonfly()
[all …]
/third_party/mindspore/mindspore-src/source/tests/ut/python/parallel/
Dtest_dynamic_base_operation.py7 # http://www.apache.org/licenses/LICENSE-2.0
37 self.start_node = P.ReLU().shard((from_shard,)) # (1, 2, 1, 1)->(1, 2, 1, 1, 4)
91 # tensor map = [ -1 1 -1 -1 ]
94 # tensor map origin = [ 4 3 2 1 ]
96 # ------------>>>>>>>>>
98 # tensor map = [ -1 -1 1 -1 ]
101 # tensor map origin = [ 4 3 2 1 ]
116 assert validator.check_node_inputs_has('TupleGetItem-0', ['MakeTuple-0', 0])
117 assert validator.check_node_inputs_has('ReLU-0', ['TupleGetItem-0'])
118 assert validator.check_node_inputs_has('AllGather-0', ['ReLU-0'])
[all …]
/third_party/mindspore/mindspore-src/source/tests/ut/python/dataset/
Dtest_concat.py1 # Copyright 2020-2022 Huawei Technologies Co., Ltd
7 # http://www.apache.org/licenses/LICENSE-2.0
51 Feature: Concat op
52 Description: Test Concat op with 2 datasets that have the same column name and data type
72 Feature: Concat op
73 Description: Test Concat op with 2 datasets using concat operation not "+" operation
80 data3 = data1.concat(data2)
93 Feature: Concat op
94 Description: Test Concat op with dataset that has different column
113 Feature: Concat op
[all …]
/third_party/mindspore/mindspore-src/source/tests/ut/cpp/dataset/
Dc_api_dataset_ops_test.cc2 * Copyright 2020-2022 Huawei Technologies Co., Ltd
8 * http://www.apache.org/licenses/LICENSE-2.0
58 output->push_back(input[0]); in Compute()
81 output->push_back(input[0]); in Compute()
82 output->push_back(input[0]); in Compute()
83 output->push_back(input[0]); in Compute()
151 (void)out->SetItemAt({0}, value); in BucketBatchTestFunction()
160 MS_LOG(INFO) << "Doing MindDataTestPipeline-TestBatchAndRepeat."; in TEST_F()
169 ds = ds->Repeat(repeat_num); in TEST_F()
174 ds = ds->Batch(batch_size); in TEST_F()
[all …]
/third_party/rust/crates/unicode-ident/generate/src/
Dmain.rs3 // $ cargo install ucd-generate
4 // $ curl -LO https://www.unicode.org/Public/zipped/15.0.0/UCD.zip
5 // $ unzip UCD.zip -d UCD
6 // $ ucd-generate property-bool UCD --include XID_Start,XID_Continue > tests/table/tables.rs
7 // $ ucd-generate property-bool UCD --include XID_Start,XID_Continue --fst-dir tests/fst
8 // $ ucd-generate property-bool UCD --include XID_Start,XID_Continue --trie-set > tests/trie/trie.rs
9 // $ cargo run --manifest-path generate/Cargo.toml
13 clippy::cast_possible_truncation, // https://github.com/rust-lang/rust-clippy/issues/9613
26 use std::collections::{BTreeMap as Map, VecDeque};
43 let mut chunkmap = Map::<[u8; CHUNK], u8>::new(); in main()
[all …]
/third_party/json/include/nlohmann/detail/conversions/
Dfrom_json.hpp6 // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me>
7 // SPDX-License-Identifier: MIT
15 #include <map> // map
41 … JSON_THROW(type_error::create(302, concat("type must be null, but is ", j.type_name()), &j)); in from_json()
79 … JSON_THROW(type_error::create(302, concat("type must be number, but is ", j.type_name()), &j)); in get_arithmetic_value()
88 … JSON_THROW(type_error::create(302, concat("type must be boolean, but is ", j.type_name()), &j)); in from_json()
98 … JSON_THROW(type_error::create(302, concat("type must be string, but is ", j.type_name()), &j)); in from_json()
114 … JSON_THROW(type_error::create(302, concat("type must be string, but is ", j.type_name()), &j)); in from_json()
156 … JSON_THROW(type_error::create(302, concat("type must be array, but is ", j.type_name()), &j)); in from_json()
173 … JSON_THROW(type_error::create(302, concat("type must be array, but is ", j.type_name()), &j)); in from_json()
[all …]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Ddynamic_loading_with_class.rs21 concat!("Size of: ", stringify!(A)) in bindgen_test_layout_A()
26 concat!("Alignment of ", stringify!(A)) in bindgen_test_layout_A()
29 unsafe { ::std::ptr::addr_of!((*ptr)._x) as usize - ptr as usize }, in bindgen_test_layout_A()
31 concat!("Offset of field: ", stringify!(A), "::", stringify!(_x)) in bindgen_test_layout_A()
56 pub unsafe fn new(x: ::std::os::raw::c_int) -> Self { in new()
68 ) -> ::std::os::raw::c_int,
74 pub unsafe fn new<P>(path: P) -> Result<Self, ::libloading::Error> in new()
83 ) -> Result<Self, ::libloading::Error> in from_library()
88 let foo = __library.get(b"foo\0").map(|sym| *sym); in from_library()
89 let bar = __library.get(b"bar\0").map(|sym| *sym); in from_library()
[all …]
Ddynamic_loading_with_blocklist.rs21 concat!("Size of: ", stringify!(X)) in bindgen_test_layout_X()
26 concat!("Alignment of ", stringify!(X)) in bindgen_test_layout_X()
29 unsafe { ::std::ptr::addr_of!((*ptr)._x) as usize - ptr as usize }, in bindgen_test_layout_X()
31 concat!("Offset of field: ", stringify!(X), "::", stringify!(_x)) in bindgen_test_layout_X()
56 pub unsafe fn new(x: ::std::os::raw::c_int) -> Self { in new()
68 ) -> ::std::os::raw::c_int,
74 ) -> ::std::os::raw::c_int,
79 pub unsafe fn new<P>(path: P) -> Result<Self, ::libloading::Error> in new()
88 ) -> Result<Self, ::libloading::Error> in from_library()
93 let foo = __library.get(b"foo\0").map(|sym| *sym); in from_library()
[all …]
Dderive-debug-function-pointer.rs24 concat!("Size of: ", stringify!(Nice)) in bindgen_test_layout_Nice()
29 concat!("Alignment of ", stringify!(Nice)) in bindgen_test_layout_Nice()
32 unsafe { ::std::ptr::addr_of!((*ptr).pointer) as usize - ptr as usize }, in bindgen_test_layout_Nice()
34 concat!( in bindgen_test_layout_Nice()
43 ::std::ptr::addr_of!((*ptr).large_array) as usize - ptr as usize in bindgen_test_layout_Nice()
46 concat!( in bindgen_test_layout_Nice()
55 fn default() -> Self { in default()
64 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { in fmt()
72 .map(|(i, v)| format!( in fmt()
/third_party/ffmpeg/tools/
Ddvd2concat19 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23 dvd2concat - create a concat script for a DVD title
27 tools/dvd2concat I<path/to/dvd/structure> > I<file.concat>
31 This script uses B<lsdvd> to produce concat script for a DVD title.
39 I<file.concat> is the output file. It can be used as an input to ffmpeg.
40 It will require the B<-safe 0> and
41 B<-protocol_whitelist file,subfile,concat> options.
53 "help|usage|?|h" => sub { pod2usage({ -verbose => 1, -exitval => 0 }) },
54 "manpage|m" => sub { pod2usage({ -verbose => 2, -exitval => 0 }) },
56 ) and @ARGV == 1 or pod2usage({ -verbose => 1, -exitval => 1 });
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/parser/tf/
Dtf_concat_parser.cc2 * Copyright 2020-2023 Huawei Technologies Co., Ltd
8 * http://www.apache.org/licenses/LICENSE-2.0
19 #include <map>
27 … const std::map<string, const tensorflow::NodeDef *> &tf_node_map, in Parse()
29 auto prim = std::make_unique<ops::Concat>(); in Parse()
31 auto prim_c = prim->GetPrim(); in Parse()
33 auto axis_node = GetConstInputNode(tf_node_map, tf_op.input(tf_op.input_size() - 1)); in Parse()
35 MS_LOG(ERROR) << "get concat axis attr node failed"; in Parse()
44 prim->set_axis(tensor_proto.int_val(0)); in Parse()
47 for (int i = 0; i < tf_op.input_size() - 1; ++i) { in Parse()
[all …]
/third_party/mindspore/mindspore-src/source/docs/api/api_python_en/
Ddataset_list.rst2 :class: hidden-section
13 Pre-processing Operation
14 ----------------------------
22 mindspore.dataset.Dataset.concat
25 mindspore.dataset.Dataset.map
37 ------------------------
49 ---------
60 ----------
78 --------------
89 --------
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/adapter/dpico/mapper/
Dconcat_mapper.cc2 * Copyright 2021-2023 Huawei Technologies Co., Ltd
8 * http://www.apache.org/licenses/LICENSE-2.0
26 STATUS ConcatMapper::Map(const api::CNodePtr &cnode, std::vector<BaseOperatorPtr> *base_operators, in Map() function in mindspore::dpico::ConcatMapper
32 auto concat_prim = api::utils::cast<api::SharedPtr<ops::Concat>>(prim); in Map()
42 MS_LOG(ERROR) << "set common attr failed. " << cnode->fullname_with_scope(); in Map()
46 concat_operator->SetOpType(mapper::OpType::CONCAT); in Map()
47 if (concat_prim->GetAttr(ops::kAxis) != nullptr) { in Map()
48 concat_operator->SetAxis(static_cast<int32_t>(concat_prim->get_axis())); in Map()
51 base_operators->push_back(std::move(concat_operator)); in Map()
54 REG_MAPPER(Concat, ConcatMapper)
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dtests.rs18 #[path = "../../bindgen-cli/options.rs"]
25 fn rustfmt(source: String) -> (String, String) { in rustfmt()
35 p.args(["run", "nightly", "rustfmt", "--version"]); in rustfmt()
53 $ rustup component add rustfmt --toolchain nightly in rustfmt()
70 "--config-path", in rustfmt()
71 concat!(env!("CARGO_MANIFEST_DIR"), "/tests/rustfmt.toml"), in rustfmt()
93 .map(|_| String::from_utf8_lossy(&output).to_string()) in rustfmt()
99 // Ignore actual rustfmt status because it is often non-zero for trivial in rustfmt()
109 .expect("rustfmt should only emit valid utf-8"); in rustfmt()
119 fn should_overwrite_expected() -> bool { in should_overwrite_expected()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/test/ut/tools/converter/registry/parser/
Dnode_parser_test.cc2 * Copyright 2021-2023 Huawei Technologies Co., Ltd
8 * http://www.apache.org/licenses/LICENSE-2.0
19 #include <map>
45 primc->set_axis(0); in Parse()
46 primc->set_output_num(2); in Parse()
56 auto primc = api::MakeShared<ops::Concat>(); in Parse()
57 primc->set_axis(0); in Parse()
69 primc->set_type("Proposal"); in Parse()
70 std::map<std::string, std::vector<uint8_t>> custom_attrs; in Parse()
77 primc->set_attr(custom_attrs); in Parse()
[all …]
/third_party/typescript/
Dpackage.json2 "name": "ohos-typescript",
8 "version": "4.9.5-r4",
9 "license": "Apache-2.0",
47 "@types/fancy-log": "2.0.0",
48 "@types/fs-extra": "9.0.13",
51 "@types/gulp-concat": "0.0.33",
52 "@types/gulp-newer": "0.0.32",
53 "@types/gulp-rename": "2.0.1",
54 "@types/gulp-sourcemaps": "0.0.35",
56 "@types/microsoft__typescript-etw": "0.1.1",
[all …]
/third_party/skia/modules/sksg/src/
DSkSGTransform.cpp4 * Use of this source code is governed by a BSD-style license that can be
36 class Concat final : public Transform { class
40 Concat(sk_sp<Transform> a, sk_sp<Transform> b) in Concat() function in sksg::__anon34fe33640111::Concat
45 this->observeInval(fA); in Concat()
46 this->observeInval(fB); in Concat()
49 ~Concat() override { in ~Concat()
50 this->unobserveInval(fA); in ~Concat()
51 this->unobserveInval(fB); in ~Concat()
56 fA->revalidate(ic, ctm); in onRevalidate()
57 fB->revalidate(ic, ctm); in onRevalidate()
[all …]

12345678910>>...16