Home
last modified time | relevance | path

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

12345678910>>...21

/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 …]
/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 …]
/third_party/rust/crates/nix/test/
Dtest_sendfile.rs66 ["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 ["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/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/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/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/rust/crates/unicode-ident/generate/src/
Dmain.rs3 // $ cargo install ucd-generate
4 // $ curl -LO https://www.unicode.org/Public/zipped/16.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/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/rust/src/tools/rustfmt/tests/source/
Dexpr.rs1 // rustfmt-normalize_comments: true
2 // rustfmt-wrap_comments: true
5 fn foo() -> bool { in foo()
13 let some_val = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa * bbbb / (bbbbbb - in foo()
18 - 50000 * sqrt(-1), in foo()
64 let _ = [0; {struct Foo; impl Foo {const fn get(&self) -> usize {5}}; Foo.get()}]; in foo()
97 // Multi-line, too. in baz()
202 [ 1 + 3, 4 , 5, 6, 7, 7, fncall::<Vec<_>>(3-1)] in arrays()
221 fn unpack(packed: u32) -> [u16; 2] { in casts()
290 -1.0 in if_else()
[all …]
/third_party/rust/rust/src/tools/rustfmt/tests/target/
Dexpr.rs1 // rustfmt-normalize_comments: true
2 // rustfmt-wrap_comments: true
5 fn foo() -> bool { in foo()
16 / (bbbbbb - function_call(x, *very_long_pointer, y)) in foo()
20 10000 * 30000000000 + 40000 / 1002200000000 - 50000 * sqrt(-1), in foo()
95 const fn get(&self) -> usize { in foo()
148 * Multi-line, too. in baz()
232 [1 + 3, 4, 5, 6, 7, 7, fncall::<Vec<_>>(3 - 1)] in arrays()
255 fn unpack(packed: u32) -> [u16; 2] { in casts()
323 let cx = tp1.x + any * radius * if anticlockwise { 1.0 } else { -1.0 }; in if_else()
[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/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/rust/rust/compiler/rustc_codegen_cranelift/.github/actions/github-release/
Dpackage-lock.json2 "name": "rustc_codegen_cranelift-github-release",
8 "name": "rustc_codegen_cranelift-github-release",
18 "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.9.1.tgz",
19 …"integrity": "sha512-5ad+U2YGrmmiw6du20AQW5XuWo7UKN2052FjSV7MX+Wfjf8sCqcsZe62NfgHys4QI4/Y+vQvLKYL8…
21 "@actions/http-client": "^2.0.1",
27 "resolved": "https://registry.npmjs.org/@actions/github/-/github-5.1.0.tgz",
28 …"integrity": "sha512-tuI80F7JQIhg77ZTTgUAPpVD7ZnP9oHSPN8xw7LOwtA4vEMbAjWJNbmLBfV7xua7r016GyjzWLuec…
30 "@actions/http-client": "^2.0.1",
32 "@octokit/plugin-paginate-rest": "^2.17.0",
33 "@octokit/plugin-rest-endpoint-methods": "^5.13.0"
[all …]
/third_party/rust/rust/compiler/rustc_transmute/src/layout/
Dnfa.rs2 use crate::{Map, Set};
6 /// A non-deterministic finite automaton (NFA) that represents the layout of a type.
13 pub(crate) transitions: Map<State, Map<Transition<R>, Set<State>>>,
33 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
42 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
54 pub(crate) fn unit() -> Self { in unit()
55 let transitions: Map<State, Map<Transition<R>, Set<State>>> = Map::default(); in unit()
62 pub(crate) fn from_byte(byte: Byte) -> Self { in from_byte()
63 let mut transitions: Map<State, Map<Transition<R>, Set<State>>> = Map::default(); in from_byte()
74 pub(crate) fn from_ref(r: R) -> Self { in from_ref()
[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/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/rust/crates/bindgen/bindgen-tests/tests/
Dtests.rs12 #[path = "../../bindgen-cli/options.rs"]
19 fn format_code<S: AsRef<str>>(source: S) -> syn::Result<String> { in format_code()
27 fn should_overwrite_expected() -> bool { in should_overwrite_expected()
44 ) -> Result<(), Error> { in error_diff_mismatch()
46 println!("--- expected: {:?}", filename); in error_diff_mismatch()
60 //usecase: var = "meld" -> You can hand check differences in error_diff_mismatch()
80 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
98 ChangeTag::Delete => ("-", Style::new().red()), in show_diff()
127 ) -> Result<(), Error> { in compare_generated_header()
146 expectation.push("libclang-16"); in compare_generated_header()
[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/rust/rust/src/tools/rust-analyzer/crates/ide-diagnostics/src/handlers/
Dmacro_error.rs3 // Diagnostic: macro-error
6 pub(crate) fn macro_error(ctx: &DiagnosticsContext<'_>, d: &hir::MacroError) -> Diagnostic { in macro_error()
9 Diagnostic::new("macro-error", d.message.clone(), display_range).experimental() in macro_error()
12 // Diagnostic: macro-error
15 pub(crate) fn macro_def_error(ctx: &DiagnosticsContext<'_>, d: &hir::MacroDefError) -> Diagnostic { in macro_def_error()
18 ctx.resolve_precise_location(&d.node.clone().map(|it| it.syntax_node_ptr()), d.name); in macro_def_error()
19 Diagnostic::new("macro-def-error", d.message.clone(), display_range).experimental() in macro_def_error()
51 // See: https://github.com/rust-lang/rust-analyzer/issues/10300 in eager_macro_concat()
55 //- /lib.rs crate:lib deps:core in eager_macro_concat()
56 use core::{panic, concat}; in eager_macro_concat()
[all …]
/third_party/skia/m133/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::__anon157ec3d90111::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 …]
/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::__anon52f20d060111::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>>...21