Home
last modified time | relevance | path

Searched full:sizes (Results 1 – 25 of 3702) sorted by relevance

12345678910>>...149

/third_party/glslang/glslang/Include/
Darrays.h72 // TSmallArrayVector is used as the container for the set of sizes in TArraySizes.
79 // Almost all arrays could be handled by two sizes each fitting
81 // are more than 3 sizes or a size needing more than 16 bits.
85 TSmallArrayVector() : sizes(nullptr) { } in TSmallArrayVector()
91 if (from.sizes == nullptr)
92 sizes = nullptr;
95 *sizes = *from.sizes;
103 if (sizes == nullptr) in size()
105 return (int)sizes->size(); in size()
110 assert(sizes != nullptr && sizes->size() > 0); in frontSize()
[all …]
/third_party/ffmpeg/tests/checkasm/
Dhevc_pel.c31 static const int sizes[] = { -1, 4, 6, 8, 12, 16, 24, 32, 48, 64 }; variable
99 … if (check_func(h.put_hevc_qpel[size][j][i], "put_hevc_%s%d_%d", type, sizes[size], bit_depth)) { in checkasm_check_hevc_qpel()
102 … call_ref(dstw0, src0, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]); in checkasm_check_hevc_qpel()
103 … call_new(dstw1, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]); in checkasm_check_hevc_qpel()
104 for (row = 0; row < size[sizes]; row++) { in checkasm_check_hevc_qpel()
105 … if (memcmp(dstw0 + row * MAX_PB_SIZE, dstw1 + row * MAX_PB_SIZE, sizes[size] * SIZEOF_PIXEL)) in checkasm_check_hevc_qpel()
108 … bench_new(dstw1, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]); in checkasm_check_hevc_qpel()
143 …if (check_func(h.put_hevc_qpel_uni[size][j][i], "put_hevc_%s%d_%d", type, sizes[size], bit_depth))… in checkasm_check_hevc_qpel_uni()
145 …call_ref(dst0, sizes[size] * SIZEOF_PIXEL, src0, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, si… in checkasm_check_hevc_qpel_uni()
146 …call_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, si… in checkasm_check_hevc_qpel_uni()
[all …]
/third_party/skia/m133/src/core/
DSkVertices.cpp45 struct SkVertices::Sizes { struct in SkVertices
46 Sizes(const Desc& desc) { in Sizes() function
118 Sizes sizes(desc); in init() local
119 if (!sizes.isValid()) { in init()
124 void* storage = ::operator new (sizes.fTotal); in init()
125 if (sizes.fBuilderTriFanISize) { in init()
126 fIntermediateFanIndices.reset(new uint8_t[sizes.fBuilderTriFanISize]); in init()
141 fVertices->fPositions = (SkPoint*) advance(sizes.fVSize); in init()
142 fVertices->fTexs = (SkPoint*) advance(sizes.fTSize); in init()
143 fVertices->fColors = (SkColor*) advance(sizes.fCSize); in init()
[all …]
/third_party/skia/src/core/
DSkVertices.cpp44 struct SkVertices::Sizes { struct in SkVertices
45 Sizes(const Desc& desc) { in Sizes() argument
118 Sizes sizes(desc); in init() local
119 if (!sizes.isValid()) { in init()
124 void* storage = ::operator new (sizes.fTotal); in init()
125 if (sizes.fBuilderTriFanISize) { in init()
126 fIntermediateFanIndices.reset(new uint8_t[sizes.fBuilderTriFanISize]); in init()
141 fVertices->fPositions = (SkPoint*) advance(sizes.fVSize); in init()
142 fVertices->fTexs = (SkPoint*) advance(sizes.fTSize); in init()
143 fVertices->fColors = (SkColor*) advance(sizes.fCSize); in init()
[all …]
/third_party/libdrm/radeon/
Dradeon_cs_space.c42 static inline int radeon_cs_setup_bo(struct radeon_cs_space_check *sc, struct rad_sizes *sizes) in radeon_cs_setup_bo() argument
71 sizes->op_vram_write += bo->size; in radeon_cs_setup_bo()
73 sizes->op_gart_write += bo->size; in radeon_cs_setup_bo()
76 sizes->op_read += bo->size; in radeon_cs_setup_bo()
89 sizes->op_read -= bo->size; in radeon_cs_setup_bo()
90 sizes->op_vram_write += bo->size; in radeon_cs_setup_bo()
92 sizes->op_read -= bo->size; in radeon_cs_setup_bo()
93 sizes->op_gart_write += bo->size; in radeon_cs_setup_bo()
114 struct rad_sizes sizes; in radeon_cs_do_space_check() local
122 memset(&sizes, 0, sizeof(struct rad_sizes)); in radeon_cs_do_space_check()
[all …]
/third_party/rust/rust/tests/ui/traits/object/
Dprint_vtable_sizes.stdout1 print-vtable-sizes { "crate_name": "<UNKNOWN_CRATE>", "trait_name": "D", "entries": "7", "entries_i…
2 print-vtable-sizes { "crate_name": "<UNKNOWN_CRATE>", "trait_name": "E", "entries": "6", "entries_i…
3 print-vtable-sizes { "crate_name": "<UNKNOWN_CRATE>", "trait_name": "G", "entries": "14", "entries_…
4 print-vtable-sizes { "crate_name": "<UNKNOWN_CRATE>", "trait_name": "A", "entries": "6", "entries_i…
5 print-vtable-sizes { "crate_name": "<UNKNOWN_CRATE>", "trait_name": "B", "entries": "4", "entries_i…
6 print-vtable-sizes { "crate_name": "<UNKNOWN_CRATE>", "trait_name": "F", "entries": "6", "entries_i…
7 print-vtable-sizes { "crate_name": "<UNKNOWN_CRATE>", "trait_name": "_::S", "entries": "3", "entrie…
8 print-vtable-sizes { "crate_name": "<UNKNOWN_CRATE>", "trait_name": "_::S", "entries": "3", "entrie…
9 print-vtable-sizes { "crate_name": "<UNKNOWN_CRATE>", "trait_name": "help::MarkerWithSuper", "entri…
10 print-vtable-sizes { "crate_name": "<UNKNOWN_CRATE>", "trait_name": "help::Super", "entries": "4", …
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/gpu/kernel/cuda_impl/cuda_ops/
Dtensor_layout_helper.cuh48 …static std::pair<int64_t, int64_t> CollapseDimsInner(int *sizes, int64_t *strides, int dim_size, i… in CollapseDimsInner()
56 if (sizes[old_index] == 1) { in CollapseDimsInner()
61 sizes[new_index] = sizes[old_index]; in CollapseDimsInner()
68 if (sizes[old_index] == 1) { in CollapseDimsInner()
72 if (strides[new_index] == sizes[old_index] * strides[old_index]) { in CollapseDimsInner()
73 sizes[new_index] *= sizes[old_index]; in CollapseDimsInner()
77 sizes[new_index] = sizes[old_index]; in CollapseDimsInner()
84 sizes[new_index] = sizes[old_index]; in CollapseDimsInner()
93 if (new_index == -1 || (new_index == 0 && sizes[0] == 1)) { in CollapseDimsInner()
95 sizes[0] = 1; in CollapseDimsInner()
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/
Dvk-master-FAIL.txt6 dEQP-VK.texture.explicit_lod.2d.sizes.31x55_linear_linear_mipmap_linear_repeat
7 dEQP-VK.texture.explicit_lod.2d.sizes.31x55_linear_linear_mipmap_nearest_repeat
8 dEQP-VK.texture.explicit_lod.2d.sizes.31x55_nearest_linear_mipmap_linear_repeat
9 dEQP-VK.texture.explicit_lod.2d.sizes.31x55_nearest_linear_mipmap_nearest_repeat
10 dEQP-VK.texture.explicit_lod.2d.sizes.57x35_linear_linear_mipmap_linear_repeat
11 dEQP-VK.texture.explicit_lod.2d.sizes.57x35_linear_linear_mipmap_nearest_repeat
12 dEQP-VK.texture.explicit_lod.2d.sizes.57x35_nearest_linear_mipmap_linear_repeat
13 dEQP-VK.texture.explicit_lod.2d.sizes.57x35_nearest_linear_mipmap_nearest_repeat
/third_party/skia/m133/resources/sksl/compute/
DMatrixMultiply.compute4 int2[] sizes; // in1, in2, out
17 sizes[2] = int2(sizes[0].x, sizes[1].y);
21 for (int i = 0; i < sizes[0].y; ++i) {
22 int a = i + resultCell.x * sizes[0].y;
23 int b = resultCell.y + i * sizes[1].y;
27 int index = resultCell.y + resultCell.x * sizes[1].y;
/third_party/protobuf/third_party/abseil-cpp/absl/debugging/
Dstacktrace.h43 // and sizes in `results` and `sizes` buffers, and returns the number of frames
53 // int sizes[10];
54 // int depth = absl::GetStackFrames(result, sizes, 10, 1);
69 // Corresponding stack frame sizes will also be recorded:
71 // sizes[0] 16
72 // sizes[1] 16
74 // (Stack frame sizes of `16` above are just for illustration purposes.)
76 // Stack frame sizes of 0 or less indicate that those frame sizes couldn't
80 // available. Also note that `result` and `sizes` must both be non-null.
81 extern int GetStackFrames(void** result, int* sizes, int max_depth,
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/
Dstacktrace.h43 // and sizes in `results` and `sizes` buffers, and returns the number of frames
53 // int sizes[10];
54 // int depth = absl::GetStackFrames(result, sizes, 10, 1);
69 // Corresponding stack frame sizes will also be recorded:
71 // sizes[0] 16
72 // sizes[1] 16
74 // (Stack frame sizes of `16` above are just for illustration purposes.)
76 // Stack frame sizes of 0 or less indicate that those frame sizes couldn't
80 // available. Also note that `result` and `sizes` must both be non-null.
81 extern int GetStackFrames(void** result, int* sizes, int max_depth,
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/
Dresize_v2.cc49 …(void)CheckAndConvertUtils::CheckInteger("dim of sizes", SizeToLong(sizes_shape.size()), kEqual, k… in ResizeV2InferShape()
59 auto sizes = in ResizeV2InferShape() local
60 …CheckAndConvertUtils::CheckTensorIntValue("sizes", sizes_input, op_name, input_args[kInputIndex3]-… in ResizeV2InferShape()
62 if (sizes.size() != kSizesSize) { in ResizeV2InferShape()
63 MS_EXCEPTION(ValueError) << "For '" << op_name << "', the length of 'sizes' must be 4."; in ResizeV2InferShape()
65 if (mode_str != "cubic" && sizes[kInputIndex2] != 1) { in ResizeV2InferShape()
66 …MS_EXCEPTION(ValueError) << "For '" << op_name << "', sizes[2] must be 1, when mode='nearest' or '… in ResizeV2InferShape()
68 if (sizes[kInputIndex2] <= 0 || sizes[kInputIndex3] <= 0) { in ResizeV2InferShape()
69 MS_EXCEPTION(ValueError) << "For '" << op_name << "', the value of 'sizes' " in ResizeV2InferShape()
72 if (sizes[kInputIndex0] != x_shape_0 || sizes[kInputIndex1] != x_shape_1) { in ResizeV2InferShape()
[all …]
/third_party/skia/m133/tests/sksl/compute/
DMatrixMultiply.wgsl7 sizes: array<vec2<i32>>,
24 _storage0.sizes[2] = vec2<i32>(_storage0.sizes[0].x, _storage0.sizes[1].y);
30 if i < _storage0.sizes[0].y {
32 let a: i32 = i + resultCell.x * _storage0.sizes[0].y;
33 let b: i32 = resultCell.y + i * _storage0.sizes[1].y;
44 let index: i32 = resultCell.y + resultCell.x * _storage0.sizes[1].y;
DMatrixMultiply.metal11 int2 sizes[1];
32 …_globals._anonInterface0->sizes[2] = int2(_globals._anonInterface0->sizes[0].x, _globals._anonInte…
35 for (int i = 0;i < _globals._anonInterface0->sizes[0].y; ++i) {
36 int a = i + resultCell.x * _globals._anonInterface0->sizes[0].y;
37 int b = resultCell.y + i * _globals._anonInterface0->sizes[1].y;
40 int index = resultCell.y + resultCell.x * _globals._anonInterface0->sizes[1].y;
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DMinimumBufferSizeValidationTests.cpp61 [&](const std::vector<uint64_t>& sizes) { func(sizes, false); }); in CheckSizeBounds() argument
63 // Make sure correct sizes work in CheckSizeBounds()
68 [&](const std::vector<uint64_t>& sizes) { func(sizes, true); }); in CheckSizeBounds() argument
214 // Creates bind group layout with given minimum sizes for each binding
251 // Create a bind group with given binding sizes for each entry (backed by the same buffer)
338 // Fail if layout given has non-zero minimum sizes smaller than shader requirements
347 CheckSizeBounds({8, 4}, [&](const std::vector<uint64_t>& sizes, bool expectation) { in TEST_F() argument
348 wgpu::BindGroupLayout layout = CreateBindGroupLayout(bindings, sizes); in TEST_F()
359 // Fail if layout given has non-zero minimum sizes smaller than shader requirements
372 CheckSizeBounds({8, 4, 12, 16}, [&](const std::vector<uint64_t>& sizes, bool expectation) { in TEST_F() argument
[all …]
/third_party/grpc/include/grpc/event_engine/internal/
Dslice_cast.h44 // Insist upon sizes being equal to catch mismatches.
45 // We assume if sizes are opted in and sizes are equal then yes, these two
56 // Insist upon sizes being equal to catch mismatches.
57 // We assume if sizes are opted in and sizes are equal then yes, these two
68 // Insist upon sizes being equal to catch mismatches.
69 // We assume if sizes are opted in and sizes are equal then yes, these two
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/khronos_mustpass/3.2.6.x/
Dgles2-khr-master.txt22 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_nearest
23 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_linear
24 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_nearest_mipmap_nearest
25 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_linear_mipmap_nearest
26 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_nearest_mipmap_linear
27 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_linear_mipmap_linear
28 KHR-GLES2.texture_3d.filtering.sizes.32x64x16_nearest
29 KHR-GLES2.texture_3d.filtering.sizes.32x64x16_linear
30 KHR-GLES2.texture_3d.filtering.sizes.32x64x16_nearest_mipmap_nearest
31 KHR-GLES2.texture_3d.filtering.sizes.32x64x16_linear_mipmap_nearest
[all …]
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/khronos_mustpass/main/
Dgles2-khr-master.txt22 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_nearest
23 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_linear
24 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_nearest_mipmap_nearest
25 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_linear_mipmap_nearest
26 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_nearest_mipmap_linear
27 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_linear_mipmap_linear
28 KHR-GLES2.texture_3d.filtering.sizes.32x64x16_nearest
29 KHR-GLES2.texture_3d.filtering.sizes.32x64x16_linear
30 KHR-GLES2.texture_3d.filtering.sizes.32x64x16_nearest_mipmap_nearest
31 KHR-GLES2.texture_3d.filtering.sizes.32x64x16_linear_mipmap_nearest
[all …]
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/khronos_mustpass/3.2.5.x/
Dgles2-khr-master.txt22 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_nearest
23 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_linear
24 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_nearest_mipmap_nearest
25 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_linear_mipmap_nearest
26 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_nearest_mipmap_linear
27 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_linear_mipmap_linear
28 KHR-GLES2.texture_3d.filtering.sizes.32x64x16_nearest
29 KHR-GLES2.texture_3d.filtering.sizes.32x64x16_linear
30 KHR-GLES2.texture_3d.filtering.sizes.32x64x16_nearest_mipmap_nearest
31 KHR-GLES2.texture_3d.filtering.sizes.32x64x16_linear_mipmap_nearest
[all …]
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/khronos_mustpass/master/
Dgles2-khr-master.txt21 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_nearest
22 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_linear
23 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_nearest_mipmap_nearest
24 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_linear_mipmap_nearest
25 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_nearest_mipmap_linear
26 KHR-GLES2.texture_3d.filtering.sizes.4x8x8_linear_mipmap_linear
27 KHR-GLES2.texture_3d.filtering.sizes.32x64x16_nearest
28 KHR-GLES2.texture_3d.filtering.sizes.32x64x16_linear
29 KHR-GLES2.texture_3d.filtering.sizes.32x64x16_nearest_mipmap_nearest
30 KHR-GLES2.texture_3d.filtering.sizes.32x64x16_linear_mipmap_nearest
[all …]
/third_party/mesa3d/src/virtio/ci/
Dvenus-skips.txt18 dEQP-VK.texture.explicit_lod.2d.sizes.128x128_linear_linear_mipmap_linear_clamp
19 dEQP-VK.texture.explicit_lod.2d.sizes.128x128_linear_linear_mipmap_nearest_clamp
20 dEQP-VK.texture.explicit_lod.2d.sizes.128x128_linear_linear_mipmap_nearest_repeat
21 dEQP-VK.texture.explicit_lod.2d.sizes.128x128_linear_nearest_mipmap_linear_clamp
22 dEQP-VK.texture.explicit_lod.2d.sizes.128x128_linear_nearest_mipmap_linear_repeat
23 dEQP-VK.texture.explicit_lod.2d.sizes.128x128_nearest_linear_mipmap_linear_repeat
33 dEQP-VK.texture.explicit_lod.2d.sizes.128x128_nearest_linear_mipmap_nearest_clamp
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/fp32/
Dtranspose_server_fp32.c32 int64_t size = boundary_info->sizes[0]; in DoTransposeServerDim3()
45 size = boundary_info->sizes[1]; in DoTransposeServerDim3()
57 size = boundary_info->sizes[THIRD_INPUT]; in DoTransposeServerDim3()
66 int64_t size = boundary_info->sizes[0]; in DoTransposeServerDim4()
82 size = boundary_info->sizes[1]; in DoTransposeServerDim4()
95 size = boundary_info->sizes[THIRD_INPUT]; in DoTransposeServerDim4()
104 int64_t size = boundary_info->sizes[0]; in DoTransposeServerDim5()
123 size = boundary_info->sizes[1]; in DoTransposeServerDim5()
137 size = boundary_info->sizes[THIRD_INPUT]; in DoTransposeServerDim5()
146 int64_t size = boundary_info->sizes[0]; in DoTransposeServerDim6()
[all …]
/third_party/rust/rust/tests/ui/transmute/
Dtransmute-different-sizes.stderr1 error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
2 --> $DIR/transmute-different-sizes.rs:11:17
10 error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
11 --> $DIR/transmute-different-sizes.rs:16:17
19 error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
20 --> $DIR/transmute-different-sizes.rs:27:5
/third_party/rust/rust/src/doc/unstable-book/src/compiler-flags/
Demit-stack-sizes.md1 # `emit-stack-sizes`
9 The rustc flag `-Z emit-stack-sizes` makes LLVM emit stack size metadata.
34 Using the `-Z emit-stack-sizes` flag produces extra linker sections in the
50 $ rustc -C opt-level=3 --emit=obj -Z emit-stack-sizes foo.rs
67 stack sizes (unsigned LEB128)".
103 /* file: keep-stack-sizes.x */
131 $ RUSTFLAGS="-Z emit-stack-sizes" cargo build --release
136 $ RUSTFLAGS="-Z emit-stack-sizes" cargo rustc --release -- \
137 -C link-arg=-Wl,-Tkeep-stack-sizes.x \
166 > addition to `-Tkeep-stack-sizes.x`. For example, it's not required when
/third_party/mindspore/mindspore-src/source/docs/api/api_python/dataset/dataset_method/operation/
Dmindspore.dataset.Dataset.split.rst4 .. py:method:: mindspore.dataset.Dataset.split(sizes, randomize=True)
9 …- **sizes** (Union[list[int], list[float]]) - 如果指定了一列整数[s1, s2, …, sn],数据集将被拆分为n个大小为s1、s2、...、sn的数…
25 - **RuntimeError** - `sizes` 是list[int],并且 `sizes` 中所有元素的总和不等于数据集大小。
26 - **RuntimeError** - `sizes` 是list[float],并且计算后存在大小为0的拆分子数据集。
28 - **ValueError** - `sizes` 是list[float],且并非所有float数值都在0和1之间,或者float数值的总和不等于1。

12345678910>>...149