Home
last modified time | relevance | path

Searched +full:type +full:- +full:utils (Results 1 – 25 of 1070) sorted by relevance

12345678910>>...43

/third_party/typescript/tests/baselines/reference/user/
Dnpm.log3 lib/arborist-cmd.js(22,17): error TS2339: Property 'exec' does not exist on type 'ArboristCmd'.
4 lib/auth/legacy.js(40,11): error TS2571: Object is of type 'unknown'.
5 lib/auth/legacy.js(59,9): error TS2571: Object is of type 'unknown'.
6 lib/auth/legacy.js(84,7): error TS2339: Property 'info' does not exist on type '{}'.
7 lib/auth/sso.js(17,7): error TS2339: Property 'info' does not exist on type '{}'.
8 lib/auth/sso.js(70,7): error TS2339: Property 'info' does not exist on type '{}'.
9 lib/base-command.js(21,29): error TS2339: Property 'description' does not exist on type 'Function'.
10 lib/base-command.js(25,29): error TS2339: Property 'ignoreImplicitWorkspace' does not exist on type
11 lib/base-command.js(30,27): error TS2339: Property 'description' does not exist on type 'Function'.
12 lib/base-command.js(35,27): error TS2339: Property 'usage' does not exist on type 'Function'.
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cEnhancedLayoutsTests.cpp1 /*-------------------------------------------------------------------------
3 * -----------------------------
5 * Copyright (c) 2015-2016 The Khronos Group Inc.
11 * http://www.apache.org/licenses/LICENSE-2.0
22 */ /*-------------------------------------------------------------------*/
27 */ /*-------------------------------------------------------------------*/
72 namespace Utils namespace
104 const GLint rand = GetRandUint() - s_rand_max_half; in GetRandInt()
138 /** Type constants **/
139 const Type Type::_double = Type::GetType(Type::Double, 1, 1);
[all …]
Dgl4cEnhancedLayoutsTests.hpp3 /*-------------------------------------------------------------------------
5 * -----------------------------
7 * Copyright (c) 2015-2016 The Khronos Group Inc.
13 * http://www.apache.org/licenses/LICENSE-2.0
24 */ /*-------------------------------------------------------------------*/
29 */ /*-------------------------------------------------------------------*/
44 namespace Utils namespace
46 /** Represents data type
49 struct Type struct
79 static bool DoesTypeSupportMatrix(TYPES type);
[all …]
Dgl4cGPUShaderFP64Tests.cpp1 /*-------------------------------------------------------------------------
3 * -----------------------------
5 * Copyright (c) 2014-2016 The Khronos Group Inc.
11 * http://www.apache.org/licenses/LICENSE-2.0
22 */ /*-------------------------------------------------------------------*/
27 */ /*-------------------------------------------------------------------*/
50 const glw::GLenum Utils::programInfo::ARB_COMPUTE_SHADER = 0x91B9;
56 Utils::programInfo::programInfo(deqp::Context& context) in programInfo()
72 Utils::programInfo::~programInfo() in ~programInfo()
136 void Utils::programInfo::build(const glw::GLchar* compute_shader_code, const glw::GLchar* fragment_… in build()
[all …]
Dgl4cShaderSubroutineTests.hpp3 /*-------------------------------------------------------------------------
5 * -----------------------------
7 * Copyright (c) 2014-2016 The Khronos Group Inc.
13 * http://www.apache.org/licenses/LICENSE-2.0
24 */ /*-------------------------------------------------------------------*/
29 */ /*-------------------------------------------------------------------*/
41 class Utils class
44 /* Public type definitions */
135 void get(glw::GLenum format, glw::GLenum type, glw::GLvoid* out_data);
137 …void update(glw::GLuint width, glw::GLuint height, glw::GLenum format, glw::GLenum type, glw::GLvo…
[all …]
Dgl4cStencilTexturingTests.cpp1 /*-------------------------------------------------------------------------
3 * -----------------------------
5 * Copyright (c) 2015-2016 The Khronos Group Inc.
11 * http://www.apache.org/licenses/LICENSE-2.0
22 */ /*-------------------------------------------------------------------*/
45 class Utils class
52 …static GLuint createAndCompileShader(deqp::Context& context, const GLenum type, const GLchar* code…
55 GLenum format, GLenum type, const GLvoid* data);
77 GLuint Utils::createAndBuildProgram(deqp::Context& context, const GLchar* cs_code, const GLchar* fs… in createAndBuildProgram()
196 * @param type Type of shader
[all …]
Dgl4cShadingLanguage420PackTests.hpp3 /*-------------------------------------------------------------------------
5 * -----------------------------
7 * Copyright (c) 2014-2016 The Khronos Group Inc.
13 * http://www.apache.org/licenses/LICENSE-2.0
24 */ /*-------------------------------------------------------------------*/
29 */ /*-------------------------------------------------------------------*/
44 class Utils class
294 …void uniform(const glw::GLchar* uniform_name, TYPES type, glw::GLuint n_columns, glw::GLuint n_row…
330 void get(glw::GLenum format, glw::GLenum type, glw::GLvoid* out_data) const;
334 …ate(glw::GLuint width, glw::GLuint height, glw::GLuint depth, glw::GLenum format, glw::GLenum type,
[all …]
Dgl4cCopyImageTests.cpp1 /*-------------------------------------------------------------------------
3 * -----------------------------
5 * Copyright (c) 2015-2016 The Khronos Group Inc.
11 * http://www.apache.org/licenses/LICENSE-2.0
22 */ /*-------------------------------------------------------------------*/
44 * By default everything is disabled - which still gives 14560 test cases.
46 * ALL_FORMAT - selects all internal formats, 61 x 61
47 * ALL_TARGETS - selects all valid targets, 10 x 10
48 * ALL_IMG_DIM - selects all image dimmensions, 9 x 9
49 * ALL_REG_DIM - selects all region dimmensions, 7 x 7
[all …]
Dgl4cShadingLanguage420PackTests.cpp1 /*-------------------------------------------------------------------------
3 * -----------------------------
5 * Copyright (c) 2014-2016 The Khronos Group Inc.
11 * http://www.apache.org/licenses/LICENSE-2.0
22 */ /*-------------------------------------------------------------------*/
27 */ /*-------------------------------------------------------------------*/
61 bool Utils::checkUniformBinding(Utils::program& program, const glw::GLchar* name, glw::GLint expect… in checkUniformBinding()
64 if (-1 == uniform_location) in checkUniformBinding()
82 bool Utils::checkUniformArrayBinding(Utils::program& program, const glw::GLchar* name, glw::GLuint … in checkUniformArrayBinding()
89 if (-1 == uniform_location) in checkUniformArrayBinding()
[all …]
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dparser_type.cc7 // http://www.apache.org/licenses/LICENSE-2.0
22 #include "src/utils/map.h"
23 #include "src/utils/hash.h"
25 TINT_INSTANTIATE_TYPEINFO(tint::reader::spirv::Type);
54 return utils::Hash(t.type, t.storage_class); in operator ()()
60 return utils::Hash(t.type, t.storage_class); in operator ()()
66 return utils::Hash(t.type, t.size); in operator ()()
72 return utils::Hash(t.type, t.columns, t.rows); in operator ()()
78 return utils::Hash(t.type, t.size, t.stride); in operator ()()
84 return utils::Hash(t.dims, t.type); in operator ()()
[all …]
/third_party/typescript/src/testRunner/unittests/tsbuild/
DmoduleSpecifiers.ts2 import * as Utils from "../../_namespaces/Utils";
10 "/src/solution/common/nominal.ts": Utils.dedent`
11 export declare type Nominal<T, Name extends string> = T & {
15 "/src/solution/common/tsconfig.json": Utils.dedent`
23 "/src/solution/sub-project/index.ts": Utils.dedent`
26 export type MyNominal = Nominal<string, 'MyNominal'>;
28 "/src/solution/sub-project/tsconfig.json": Utils.dedent`
39 "/src/solution/sub-project-2/index.ts": Utils.dedent`
40 import { MyNominal } from '../sub-project/index';
50 "/src/solution/sub-project-2/tsconfig.json": Utils.dedent`
[all …]
DjavascriptProjectEmit.ts2 import * as Utils from "../../_namespaces/Utils";
7 subScenario: `loads js-based projects and emits them correctly`,
9 "/src/common/nominal.js": Utils.dedent`
16 "/src/common/tsconfig.json": Utils.dedent`
24 "/src/sub-project/index.js": Utils.dedent`
31 "/src/sub-project/tsconfig.json": Utils.dedent`
42 "/src/sub-project-2/index.js": Utils.dedent`
43 import { MyNominal } from '../sub-project/index';
46 key: /** @type {MyNominal} */('value'),
56 "/src/sub-project-2/tsconfig.json": Utils.dedent`
[all …]
DdeclarationEmit.ts3 import * as Utils from "../../_namespaces/Utils";
30 "/src/solution/src/subProject/index.ts": Utils.dedent`
32 export type MyNominal = Nominal<string, 'MyNominal'>;`,
39 "/src/solution/src/subProject2/index.ts": Utils.dedent`
52 "/src/solution/src/common/nominal.ts": Utils.dedent`
54 export declare type Nominal<T, Name extends string> = MyNominal<T, Name>;`,
55 "/src/solution/src/common/types.d.ts": Utils.dedent`
56 declare type MyNominal<T, Name extends string> = T & {
65 commandLineArgs: ["--b", "/src/solution/tsconfig.json", "--verbose"]
79 commandLineArgs: ["--b", "/src/solution/tsconfig.json", "--verbose"]
[all …]
DmoduleResolution.ts2 import * as Utils from "../../_namespaces/Utils";
9 content: Utils.dedent`
10 import type { TheNum } from 'pkg2'
22 content: `export type TheNum = 42;`
26 content: `export type { TheNum } from 'const';`
59 commandLineArgs: ["-b", "packages/pkg1", "--verbose", "--traceResolution"],
67 commandLineArgs: ["-b", "packages/pkg1", "--verbose", "--traceResolution"],
73 …subScenario: `type reference resolution uses correct options for different resolution options refe…
80 … "/src/packages/typeroot1/sometype/index.d.ts": Utils.dedent`declare type TheNum = "type1";`,
86 … "/src/packages/typeroot2/sometype/index.d.ts": Utils.dedent`declare type TheNum2 = "type2";`,
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/adapter/acl/common/
Dutils.cc8 * http://www.apache.org/licenses/LICENSE-2.0
17 #include "tools/converter/adapter/acl/common/utils.h"
25 #include "include/common/utils/utils.h"
41 MS_CHECK_TRUE_MSG(tuple_get_item->size() == mindspore::kTupleGetItemInputSize, kInvalidSize, in GetTupleGetItemOutIndex()
43 …auto output_index_value_node = tuple_get_item->input(mindspore::kInputNodeOutputIndexInTupleGetIte… in GetTupleGetItemOutIndex()
45 auto value_node = output_index_value_node->cast<mindspore::ValueNodePtr>(); in GetTupleGetItemOutIndex()
47 auto values = opt::CastToInt(value_node->value()); in GetTupleGetItemOutIndex()
54 if (node->isa<mindspore::CNode>()) { in CheckPrimitiveType()
55 auto cnode = node->cast<mindspore::CNodePtr>(); in CheckPrimitiveType()
57 return IsPrimitive(cnode->input(0), primitive_type); in CheckPrimitiveType()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/backend/common/optimizer/
Dpattern_engine.cc2 * Copyright 2019-2023 Huawei Technologies Co., Ltd
8 * http://www.apache.org/licenses/LICENSE-2.0
20 #include "utils/convert_utils_base.h"
38 if (lhs->isa<CondVar>() && rhs->isa<CondVar>()) { in operator ==()
44 if (lhs->isa<SeqVar>() && rhs->isa<SeqVar>()) { in operator ==()
54 buffer << "SeqVar(" << tag() << ", " << subvar_->ToString() << ")"; in ToString()
62 os << var->ToString(); in operator <<()
75 if (utils::isa<AnfNodePtr>(x)) {
76 auto node = utils::cast<AnfNodePtr>(x);
77 os << "TypeString[" << node->type_name() << "]";
[all …]
Dvisitor.cc2 * Copyright 2019-2023 Huawei Technologies Co., Ltd
8 * http://www.apache.org/licenses/LICENSE-2.0
23 #include "utils/any.h"
26 #include "utils/log_adapter.h"
30 …return std::any_of(list.begin(), list.end(), [](const BaseRef &any) { return utils::isa<Seq>(any);… in CheckIfNeedExpand()
36 if (utils::isa<Seq>(item)) { in ExpandList()
37 const Seq &seq = utils::cast<Seq>(item); in ExpandList()
38 new_list->insert(new_list->end(), seq.begin(), seq.end()); in ExpandList()
40 new_list->push_back(item); in ExpandList()
47 if (utils::isa<AnfNodePtr>(x)) { in GetVar()
[all …]
/third_party/libnl/
Dsolve-oh-compile-problem3_11_0.patch1 diff -urN libnl/lib/utils.c libnl-libnl3_11_0-new/lib/utils.c
2 --- libnl/lib/utils.c 2024-10-30 15:13:01.000000000 +0800
3 +++ libnl-libnl3_11_0-new/lib/utils.c 2025-06-18 10:02:10.472222700 +0800
4 @@ -279,8 +279,8 @@
6 int nl_rate2str(unsigned long long rate, int type, char *buf, size_t len)
8 - char *unit;
9 - double frac;
13 switch (type) {
15 @@ -427,6 +427,7 @@
23 diff -urN libnl/lib/route/mdb.c libnl-libnl3_11_0-new/lib/route/mdb.c
[all …]
Dsolve-oh-compile-problem.patch1 diff -urN libnl-3.7.0/include/netlink-private/utils.h libnl-3.7.0-new/include/netlink-private/utils
2 --- libnl-3.7.0/include/netlink-private/utils.h 2022-05-24 16:55:12.000000000 +0800
3 +++ libnl-3.7.0-new/include/netlink-private/utils.h 2024-01-13 18:22:20.218754000 +0800
4 @@ -114,10 +114,8 @@
8 - typeof(addr_family) _addr_family = (addr_family); \
9 - \
10 - _nl_assert(_addr_family == AF_INET || \
11 - _addr_family == AF_INET6); \
17 diff -urN libnl-3.7.0/lib/route/link/vrf.c libnl-3.7.0-new/lib/route/link/vrf.c
18 --- libnl-3.7.0/lib/route/link/vrf.c 2022-05-24 16:55:12.000000000 +0800
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/common/
Dnode_util.cc2 * Copyright 2020-2021 Huawei Technologies Co., Ltd
8 * http://www.apache.org/licenses/LICENSE-2.0
44 for (const auto &input : cnode->inputs()) { in GetInputCNode()
45 if (input == nullptr || !utils::isa<CNodePtr>(input)) { in GetInputCNode()
48 inputs.emplace_back(utils::cast<CNodePtr>(input)); in GetInputCNode()
96 dst_dims->push_back(nchw_dim[NCHW_N]); in ConvertDims()
97 dst_dims->push_back(nchw_dim[NCHW_H]); in ConvertDims()
98 dst_dims->push_back(nchw_dim[NCHW_W]); in ConvertDims()
99 dst_dims->push_back(nchw_dim[NCHW_C]); in ConvertDims()
109 static bool IsKCHWSource(kTransFilterType type) { in IsKCHWSource() argument
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/optimizer/ge/
Dfused_cast_add.cc8 * http://www.apache.org/licenses/LICENSE-2.0
22 #include "include/common/utils/anfalgo.h"
23 #include "include/common/utils/utils.h"
25 #include "utils/ms_context.h"
44 return ms_context->get_param<bool>(MS_CTX_ENABLE_FUSED_CAST_ADD_OPT); in CheckMatchedDAG()
53 auto cast_cnode = cast_node->cast<CNodePtr>(); in SelectAddInput()
54 auto add_cnode = add_node->cast<CNodePtr>(); in SelectAddInput()
57 const auto selected_input = cast_cnode->input(selected_cast_input_index); in SelectAddInput()
58 add_cnode->set_input(replaced_add_input_index, selected_input); in SelectAddInput()
63 if (!utils::isa<AnfNodePtr>(node)) { in checking_type_16()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DSubresourceRenderAttachmentTests.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
18 #include "utils/ComboRenderPipelineDescriptor.h"
19 #include "utils/WGPUHelpers.h"
26 enum class Type { Color, Depth, Stencil }; enum in SubresourceRenderAttachmentTest
28 void DoSingleTest(Type type, in DoSingleTest() argument
45 utils::ComboRenderPassDescriptor renderPass = [&]() { in DoSingleTest()
46 switch (type) { in DoSingleTest()
47 case Type::Color: { in DoSingleTest()
48 utils::ComboRenderPassDescriptor renderPass({renderTargetView}); in DoSingleTest()
57 case Type::Depth: { in DoSingleTest()
[all …]
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMap.java2 * Protocol Buffers - Google's data interchange format
4 * https://developers.google.com/protocol-buffers/
76 * call-seq:
82 * on the same values as field-type symbols in message descriptors) that
83 * indicate the type of the map key and value fields.
102 * shallow-copied into the new Map: the original map is unmodified, but
103 * references to underlying objects will be shared if the value type is a
104 * message type.
109 this.keyType = Utils.rubyToFieldType(args[0]); in initialize()
110 this.valueType = Utils.rubyToFieldType(args[1]); in initialize()
[all …]
/third_party/typescript/src/testRunner/unittests/tsc/
DdeclarationEmit.ts2 import * as Utils from "../../_namespaces/Utils";
24 commandLineArgs: ["-p", rootProject, "--explainFiles"],
38 commandLineArgs: ["-p", rootProject, "--explainFiles"],
55 … return `import pluginTwo from "plugin-two"; // include this to add reference to symlink`;
58 return Utils.dedent`
59 … import { actionCreatorFactory } from "typescript-fsa"; // Include version of shared lib
61 const featureOne = action<{ route: string }>("feature-one");
65 return Utils.dedent`
76 }): import("typescript-fsa").Action<{
90 name: "typescript-fsa",
[all …]
/third_party/alsa-utils/
DREADME_zh.md1 - [三方开源软件alsa-utils](#三方开源软件alsa-utils)
2 - [1. alsa-utils简介](#1-alsa-utils简介)
3 - [2. 组件引入背景简述](#2-组件引入背景简述)
4 - [3. 使用场景](#3-使用场景)
5 - [4. 为OpenHarmony带来的价值](#4-为openharmony带来的价值)
6 - [5. 如何使用](#5-如何使用)
7 - [5.1 添加编译](#51-添加编译)
8 - [5.2 常用命令的使用](#52-常用命令的使用)
10 ## 三方开源软件alsa-utils
11 ### 1. alsa-utils简介
[all …]

12345678910>>...43