Home
last modified time | relevance | path

Searched +full:config +full:- +full:array (Results 1 – 25 of 1032) sorted by relevance

12345678910>>...42

/third_party/ltp/include/
Dtst_kconfig.h1 // SPDX-License-Identifier: GPL-2.0-or-later
18 * Reads a kernel config, parses it and writes results into an array of
21 * The path to the kernel config should be autodetected in most of the cases as
26 * filled with config variable name such as 'CONFIG_FOO', the id_len should
31 * 'm' - config option set to m
32 * 'y' - config option set to y
33 * 'v' - config option set to other value
34 * 'n' - config option is not set
35 * 0 - config option not found
40 * @param vars An array of caller initalized tst_kconfig_var structures.
[all …]
/third_party/skia/third_party/externals/tint/src/transform/
Drobustness.h7 // http://www.apache.org/licenses/LICENSE-2.0
33 /// This transform is responsible for clamping all array accesses to be within
34 /// the bounds of the array. Any access before the start of the array will clamp
35 /// to zero and any access past the end of the array will clamp to
36 /// (array length - 1).
46 struct Config : public Castable<Config, Data> { struct
48 Config();
51 Config(const Config&);
54 ~Config() override;
57 /// @returns this Config
[all …]
Darray_length_from_uniform.cc7 // http://www.apache.org/licenses/LICENSE-2.0
28 TINT_INSTANTIATE_TYPEINFO(tint::transform::ArrayLengthFromUniform::Config);
47 auto& sem = ctx.src->Sem(); in IterateArrayLengthOnStorageVar()
50 for (auto* node : ctx.src->ASTNodes().Objects()) { in IterateArrayLengthOnStorageVar()
51 auto* call_expr = node->As<ast::CallExpression>(); in IterateArrayLengthOnStorageVar()
57 auto* intrinsic = call->Target()->As<sem::Intrinsic>(); in IterateArrayLengthOnStorageVar()
58 if (!intrinsic || intrinsic->Type() != sem::IntrinsicType::kArrayLength) { in IterateArrayLengthOnStorageVar()
62 // Get the storage buffer that contains the runtime array. in IterateArrayLengthOnStorageVar()
64 // `&resource.array`, which requires that `SimplifyPointers` have been run in IterateArrayLengthOnStorageVar()
66 auto* param = call_expr->args[0]->As<ast::UnaryOpExpression>(); in IterateArrayLengthOnStorageVar()
[all …]
Darray_length_from_uniform_test.cc7 // http://www.apache.org/licenses/LICENSE-2.0
58 arr : array<i32>; in TEST_F()
72 buffer_size : array<vec4<u32>, 1u>; in TEST_F()
80 arr : array<i32>; in TEST_F()
87 var len : u32 = ((tint_symbol_1.buffer_size[0u][0u] - 4u) / 4u); in TEST_F()
91 ArrayLengthFromUniform::Config cfg({0, 30u}); in TEST_F()
95 data.Add<ArrayLengthFromUniform::Config>(std::move(cfg)); in TEST_F()
101 got.data.Get<ArrayLengthFromUniform::Result>()->used_size_indices); in TEST_F()
110 arr : [[stride(64)]] array<i32>; in TEST_F()
124 buffer_size : array<vec4<u32>, 1u>; in TEST_F()
[all …]
Drobustness.cc7 // http://www.apache.org/licenses/LICENSE-2.0
29 TINT_INSTANTIATE_TYPEINFO(tint::transform::Robustness::Config);
51 /// Apply bounds clamping to array, vector and matrix indexing
52 /// @param expr the array, vector or matrix index expression
57 auto* ret_type = ctx.src->Sem().Get(expr->object)->Type(); in Transform()
59 auto* ref = ret_type->As<sem::Reference>(); in Transform()
60 if (ref && omitted_classes.count(ref->StorageClass()) != 0) { in Transform()
64 auto* ret_unwrapped = ret_type->UnwrapRef(); in Transform()
78 Value size; // size of the array, vector or matrix in Transform()
80 if (auto* vec = ret_unwrapped->As<sem::Vector>()) { in Transform()
[all …]
Darray_length_from_uniform.h7 // http://www.apache.org/licenses/LICENSE-2.0
39 /// buffer_size : array<u32, 8>;
46 /// the `Config` transform input. The `Config` struct also defines the mapping
47 /// from a storage buffer's `BindingPoint` to the array index that will be used
52 /// builtin always have the form `&resource.array`.
62 struct Config : public Castable<Data, transform::Data> { struct
65 explicit Config(sem::BindingPoint ubo_bp);
68 Config(const Config&);
71 /// @return this Config
72 Config& operator=(const Config&); argument
[all …]
/third_party/mesa3d/src/broadcom/ci/
Dv3d-rpi4-fails.txt1 glx@glx-make-current,Crash
2 glx@glx-multi-window-single-context,Fail
3 glx@glx-multithread-buffer,Fail
4 glx@glx-query-drawable-glx_fbconfig_id-window,Fail
5 glx@glx-swap-pixmap-bad,Fail
6 glx@glx-visuals-depth -pixmap,Crash
7 glx@glx-visuals-stencil -pixmap,Crash
13 glx@glx_ext_import_context@import context- multi process,Fail
14 glx@glx_ext_import_context@import context- single process,Fail
16 glx@glx_ext_import_context@make current- multi process,Fail
[all …]
Dbroadcom-rpi4-fails.txt1 glx@glx-multithread-buffer,Fail
2 glx@glx-swap-pixmap-bad,Fail
3 glx@glx-visuals-depth -pixmap,Crash
4 glx@glx-visuals-stencil -pixmap,Crash
11 glx@glx_ext_import_context@import context- multi process,Fail
12 glx@glx_ext_import_context@import context- single process,Fail
14 glx@glx_ext_import_context@make current- multi process,Fail
15 glx@glx_ext_import_context@make current- single process,Fail
17 shaders@glsl-bug-110796,Fail
18 spec@!opengl 1.0@gl-1.0-bitmap-heart-dance,Fail
[all …]
/third_party/mindspore/mindspore-src/source/tests/ut/python/dataset/
Dtest_autotune.py1 # Copyright 2021-2022 Huawei Technologies Co., Ltd
7 # http://www.apache.org/licenses/LICENSE-2.0
29 # pylint: disable=unused-variable
42 ds.config.set_enable_autotune(True)
43 source = [(np.array([x]),) for x in range(1024)]
57 ds.config.set_enable_autotune(False)
71 ds.config.set_enable_autotune(True)
72 source = [(np.array([x]),) for x in range(1024)]
94 ds.config.set_enable_autotune(False)
104 ds.config.set_enable_autotune(True)
[all …]
Dtest_pyfunc.py1 # Copyright 2019-2023 Huawei Technologies Co., Ltd
7 # http://www.apache.org/licenses/LICENSE-2.0
25 …se tests in separate processes since many tests update config parameters, like shared memory config
35 Description: Test 1-1 PyFunc : lambda x : x + x
38 logger.info("Test 1-1 PyFunc : lambda x : x + x")
48 golden = np.array([[i * 2, (i + 1) * 2], [(i + 2) * 2, (i + 3) * 2]])
56 Description: Test 1-n PyFunc : lambda x : (x, x + x)
59 logger.info("Test 1-n PyFunc : lambda x : (x , x + x) ")
70 golden = np.array([[i, i + 1], [i + 2, i + 3]])
72 golden = np.array([[i * 2, (i + 1) * 2], [(i + 2) * 2, (i + 3) * 2]])
[all …]
Dtest_pipeline_debug_mode_map.py7 # http://www.apache.org/licenses/LICENSE-2.0
32 SEED_VAL = ds.config.get_seed()
36 ds.config.set_seed(SEED_VAL)
54 yield (np.array([i]),)
60 yield (np.array([i]), np.array([i + 100]))
66 …yield (np.array([i]), np.array([i * 10]), np.array([i * 100]), np.array([i * 1000]), np.array([i *…
73 Description: Test GeneratorDataset with 1 column, map 1 column -> 1 column (renamed)
78 debug_mode_original = ds.config.get_debug_mode()
79 ds.config.set_debug_mode(True)
98 ds.config.set_debug_mode(debug_mode_original)
[all …]
Dtest_transform_input_consistency.py7 # http://www.apache.org/licenses/LICENSE-2.0
40 seed = ds.config.get_seed()
41 ds.config.set_seed(12345)
240 ds.config.set_seed(seed)
249 seed = ds.config.get_seed()
250 ds.config.set_seed(12345)
252 data1 = np.array([1, 2, 3])
267 assert (output != np.array(inputs_copy)).any()
276 pre_array = np.array([10, 20])
277 append_array = np.array([100])
[all …]
/third_party/typescript/tests/baselines/reference/tscWatch/incremental/
Dwhen-file-with-ambient-global-declaration-file-is-deleted-incremental.js3 /// <reference no-default-lib="true"/>
13 interface Array<T> { length: number; [n: number]: T; }
18 declare namespace Config { const value: string;}
21 console.log(Config.value);
27 /a/lib/tsc.js -i
58 console.log(Config.value);
62-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface …
74-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface …
75-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface …
79 "version": "-6314871648-declare namespace Config { const value: string;} ",
[all …]
Dwhen-file-with-ambient-global-declaration-file-is-deleted-watch.js3 /// <reference no-default-lib="true"/>
13 interface Array<T> { length: number; [n: number]: T; }
18 declare namespace Config { const value: string;}
21 console.log(Config.value);
27 /a/lib/tsc.js -w
75 console.log(Config.value);
79-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface …
91-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface …
92-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface …
96 "version": "-6314871648-declare namespace Config { const value: string;} ",
[all …]
/third_party/openssl/util/perl/OpenSSL/Test/
DUtils.pm1 # Copyright 2016-2019 The OpenSSL Project Authors. All Rights Reserved.
17 @EXPORT = qw(alldisabled anydisabled disabled config available_protocols
22 OpenSSL::Test::Utils - test utility functions
33 config("fips");
55 =item B<alldisabled ARRAY>
57 =item B<anydisabled ARRAY>
59 In an array context returns an array with each element set to 1 if the
63 ARRAY are disabled, while anydisabled returns 1 if any of them are
66 =item B<config STRING>
68 Returns an item from the %config hash in \$TOP/configdata.pm.
[all …]
/third_party/mesa3d/src/freedreno/ci/
Dfreedreno-a420-fails.txt1 # Points/lines pop in and out instead of being clipped ES-style
2 dEQP-GLES2.functional.clipping.line.wide_line_clip_viewport_center,Fail
3 dEQP-GLES2.functional.clipping.line.wide_line_clip_viewport_corner,Fail
4 dEQP-GLES2.functional.clipping.point.wide_point_clip,Fail
5 dEQP-GLES2.functional.clipping.point.wide_point_clip_viewport_center,Fail
6 dEQP-GLES2.functional.clipping.point.wide_point_clip_viewport_corner,Fail
7 dEQP-GLES3.functional.clipping.line.wide_line_clip_viewport_center,Fail
8 dEQP-GLES3.functional.clipping.line.wide_line_clip_viewport_corner,Fail
9 dEQP-GLES3.functional.clipping.point.wide_point_clip,Fail
10 dEQP-GLES3.functional.clipping.point.wide_point_clip_viewport_center,Fail
[all …]
Dfreedreno-a530-fails.txt1 dEQP-GLES2.functional.clipping.line.wide_line_clip_viewport_center,Fail
2 dEQP-GLES2.functional.clipping.line.wide_line_clip_viewport_corner,Fail
3 dEQP-GLES2.functional.clipping.point.wide_point_clip,Fail
4 dEQP-GLES2.functional.clipping.point.wide_point_clip_viewport_center,Fail
5 dEQP-GLES2.functional.clipping.point.wide_point_clip_viewport_corner,Fail
7 …expression::ir_expression(int, ir_rvalue*, ir_rvalue*): Assertion `op0->type == op1->type' failed."
10 dEQP-GLES31.functional.shaders.builtin_functions.integer.bitfieldextract.int_lowp_compute,Crash
11 dEQP-GLES31.functional.shaders.builtin_functions.integer.bitfieldextract.int_lowp_fragment,Crash
12 dEQP-GLES31.functional.shaders.builtin_functions.integer.bitfieldextract.int_mediump_compute,Crash
13 dEQP-GLES31.functional.shaders.builtin_functions.integer.bitfieldextract.int_mediump_fragment,Crash
[all …]
/third_party/typescript/tests/baselines/reference/
DcontrolFlowOuterVariable.symbols4 const CONFIG = {
5 >CONFIG : Symbol(CONFIG, Decl(controlFlowOuterVariable.ts, 2, 5))
14 CONFIG.foo = foo;
15 >CONFIG.foo : Symbol(foo, Decl(controlFlowOuterVariable.ts, 2, 16))
16 >CONFIG : Symbol(CONFIG, Decl(controlFlowOuterVariable.ts, 2, 5))
30 >t.slice : Symbol(Array.slice, Decl(lib.es5.d.ts, --, --))
32 >slice : Symbol(Array.slice, Decl(lib.es5.d.ts, --, --))
/third_party/mindspore/mindspore-src/source/tests/st/optimizer/
Dtest_adamax.py7 # http://www.apache.org/licenses/LICENSE-2.0
25 w1 = np.array([[0.03909272, 0.08893055, -0.259909, -0.459185,
26 -0.0195536, 0.12977135, -0.62942827, -0.53132117],
27 [0.1542052, 0.6513571, -0.06453168, 0.44788414,
28 -0.3775454, 0.6520292, 0.444174, -0.59306043],
30 0.4724893, -0.34384444, -0.16007674, 0.21797538],
31 [-0.3865972, 0.26727962, 0.23178828, -0.24629539,
32 -0.68038213, -0.31262863, 0.10493469, -0.28973007]]).astype("float32")
34 b1 = np.array([0., 0., 0., 0.]).astype("float32")
36 w2 = np.array([[-0.6079024, -1.005364, 0.59004724, 0.7289244]]).astype("float32")
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DCompressedTextureFormatTests.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
45 if (utils::IsBCTextureFormat(format) && SupportsFeatures({"texture-compression-bc"})) { in GetRequiredFeatures()
47 return {"texture-compression-bc"}; in GetRequiredFeatures()
49 if (utils::IsETC2TextureFormat(format) && SupportsFeatures({"texture-compression-etc2"})) { in GetRequiredFeatures()
51 return {"texture-compression-etc2"}; in GetRequiredFeatures()
53 if (utils::IsASTCTextureFormat(format) && SupportsFeatures({"texture-compression-astc"})) { in GetRequiredFeatures()
55 return {"texture-compression-astc"}; in GetRequiredFeatures()
92 // Fill data with the pre-prepared one-block compressed texture data. in UploadData()
170 fn main([[builtin(vertex_index)]] VertexIndex : u32) -> VertexOut { in CreateRenderPipelineForTest()
171 var pos = array<vec2<f32>, 3>( in CreateRenderPipelineForTest()
[all …]
/third_party/nghttp2/src/
Ddeflatehd.cc2 * nghttp2 - HTTP/2 C Library
26 # include <config.h>
60 static deflate_config config; variable
67 return n - 10 + 'a'; in to_hex_digit()
103 json_integer(config.table_size)); in output_to_json()
105 if (config.dump_header_table) { in output_to_json()
117 std::array<uint8_t, 64_k> buf; in deflate_hd()
139 return -1; in deflate_hd_json()
142 fprintf(stderr, "The value of 'headers' key must be an array at %d\n", seq); in deflate_hd_json()
143 return -1; in deflate_hd_json()
[all …]
/third_party/backends/testsuite/sanei/
Dsanei_config_test.c1 #include "../../include/sane/config.h"
40 /* range for int value in [0-15] */
66 check_config_attach (SANEI_Config * config, const char *devname, in check_config_attach() argument
70 if (config == NULL) in check_config_attach()
89 * non-existent config file
95 SANEI_Config config; in inexistent_config() local
97 config.count = 0; in inexistent_config()
98 config.descriptors = NULL; in inexistent_config()
99 config.values = NULL; in inexistent_config()
101 "/data/inexistent.conf", &config, in inexistent_config()
[all …]
/third_party/python/Tools/demo/
Dsortvisu.py8 - an array visualizer with methods that implement basic sorting
12 - a number of sorting algorithms (currently quicksort, insertion sort,
14 all using the array visualizer for its basic operations and with calls
17 - and a ``driver'' class which can be used as a Grail applet or as a
18 stand-alone application.
29 class Array: class
59 self.canvas.config(width=(self.size+1)*XGRID,
90 elif self.speed == "single-step":
102 raise Array.Cancelled
128 self.canvas.coords(self.left, (x1 - 2, 0, x1 - 2, 9999))
[all …]
/third_party/skia/third_party/externals/tint/test/bug/tint/
D1121.wgsl.expected.wgsl9 lights : array<LightData>;
16 lightId : array<u32, 64>;
21 data : array<TileLightIdData, 4>;
27 struct Config {
36 [[group(2), binding(0)]] var<uniform> config : Config;
52 if ((index >= config.numLights)) {
55 …ex].position.y = ((lightsBuffer.lights[index].position.y - 0.100000001) + (0.001 * (f32(index) - (…
60 var viewNear : f32 = (-(M[3][2]) / (-1.0 + M[2][2]));
61 var viewFar : f32 = (-(M[3][2]) / (1.0 + M[2][2]));
66 var boxMin : vec4<f32> = (lightPos - vec4<f32>(vec3<f32>(lightRadius), 0.0));
[all …]
D1121.wgsl2 // https://github.com/shrekshao/webgpu-deferred-renderer/blob/4f8bf0910793100aa8d60dbd1319bddb5357b…
16 lights: array<LightData>;
21 lightId: array<u32, 64>;
24 data: array<TileLightIdData, 4>;
28 [[block]] struct Config {
36 [[group(2), binding(0)]] var<uniform> config: Config;
50 if (index >= config.numLights) {
54 …hts[index].position.y = lightsBuffer.lights[index].position.y - 0.1 + 0.001 * (f32(index) - 64.0 *…
60 // Implementation here is Tiled without per tile min-max depth
65 var viewNear: f32 = - M[3][2] / ( -1.0 + M[2][2]);
[all …]

12345678910>>...42