Home
last modified time | relevance | path

Searched +full:merge +full:- +full:base (Results 1 – 25 of 1081) sorted by relevance

12345678910>>...44

/third_party/mesa3d/src/amd/compiler/tests/
Dtest_isel.cpp4 * SPDX-License-Identifier: MIT
6 #include <llvm/Config/llvm-config.h>
9 #include "test_isel-spirv.h"
253 nir_def *init0 = nir_unit_test_uniform_amd(nb, 1, 32, .base=0);
254 nir_def *init1 = nir_unit_test_divergent_amd(nb, 1, 32, .base=1);
260 //! /* logical preds: BB0, / linear preds: BB0, / kind: uniform, loop-header, */
263 phi[0] = nir_phi_instr_create(nb->shader);
264 phi[1] = nir_phi_instr_create(nb->shader);
265 nir_def_init(&phi[0]->instr, &phi[0]->def, 1, 32);
266 nir_def_init(&phi[1]->instr, &phi[1]->def, 1, 32);
[all …]
/third_party/pulseaudio/src/pulsecore/
Dmcalign.c4 Copyright 2004-2006 Lennart Poettering
34 size_t base; member
38 pa_mcalign *pa_mcalign_new(size_t base) { in pa_mcalign_new() argument
40 pa_assert(base); in pa_mcalign_new()
44 m->base = base; in pa_mcalign_new()
45 pa_memchunk_reset(&m->leftover); in pa_mcalign_new()
46 pa_memchunk_reset(&m->current); in pa_mcalign_new()
54 if (m->leftover.memblock) in pa_mcalign_free()
55 pa_memblock_unref(m->leftover.memblock); in pa_mcalign_free()
57 if (m->current.memblock) in pa_mcalign_free()
[all …]
/third_party/skia/m133/src/effects/imagefilters/
DSkMergeImageFilter.cpp4 * Use of this source code is governed by a BSD-style license that can be
33 // No need to override flatten() since there's no additional state to write over base class.
55 sk_sp<SkImageFilter> SkImageFilters::Merge(sk_sp<SkImageFilter>* const filters, int count, in Merge() function in SkImageFilters
70 // TODO (michaelludwig) - Remove after grace period for SKPs to stop using old name in SkRegisterMergeImageFilterFlattenable()
76 if (!common.unflatten(buffer, -1) || !buffer.isValid()) { in CreateProc()
79 return SkImageFilters::Merge(common.inputs(), common.inputCount(), common.cropRect()); in CreateProc()
85 const int inputCount = this->countInputs(); in onFilterImage()
88 builder.add(this->getChildOutput(i, ctx)); in onFilterImage()
90 return builder.merge(); in onFilterImage()
97 const int inputCount = this->countInputs(); in onGetInputLayerBounds()
[all …]
/third_party/mindspore/mindspore-src/source/tests/st/networks/models/fasterrcnn/src/utils/
Dconfig.py7 # http://www.apache.org/licenses/LICENSE-2.0
57 config: dict-like object
74 BASE = "__BASE__"
75 assert os.path.splitext(file_path)[-1] in [".yaml", ".yml"], f"[{file_path}] not yaml format."
79 if BASE in cfg_default:
83 base_yamls = list(cfg_default[BASE])
95 del cfg_default[BASE]
132 def merge_config(config, base): argument
133 """Merge config"""
134 new = deepcopy(base)
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVMergeBaseOffset.cpp1 //===----- RISCVMergeBaseOffset.cpp - Optimise address calculations ------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Merge the offset of address calculation into the offset field
20 // 1) The offset field in the base of global address lowering sequence is zero.
24 //===----------------------------------------------------------------------===//
35 #define DEBUG_TYPE "riscv-merge-base-offset"
36 #define RISCV_MERGE_BASE_OFFSET_NAME "RISCV Merge Base Offset"
67 INITIALIZE_PASS(RISCVMergeBaseOffsetOpt, "riscv-merge-base-offset",
86 !MRI->hasOneUse(HiLUI.getOperand(0).getReg())) in detectLuiAddiGlobal()
[all …]
/third_party/mesa3d/docs/
Dgitlab-ci.yml1 .docs-base:
3 - .build-linux
4 - .use-alpine/x86_64_build
8 - public/
10 - meson setup _build -D prefix=$(pwd) --auto-features=disabled
11 -D vulkan-drivers="" -D gallium-drivers="" -D platforms=[] -D glx=disabled
12 -D video-codecs="" -D html-docs=enabled -D html-docs-path=public
13 -D werror=true
14 - meson compile -C _build
15 - meson install -C _build
[all …]
/third_party/typescript/scripts/
Dupdate-experimental-branches.mjs2 import { runSequence } from "./run-sequence.mjs";
4 // The first is used by bot-based kickoffs, the second by automatic triggers
8 …* This program should be invoked as `node ./scripts/update-experimental-branches <GithubAccessToke…
9 …* TODO: the following is racey - if two experiment-enlisted PRs trigger simultaneously and witness…
35 ["git", ["fetch", "-fu", "origin", "main:main"]],
43 // PR number rather than branch name - lookup info
45 … // GH calculates the rebaseable-ness of a PR into its target, so we can just use that here
52 …s configured as an experiment, and currently has rebase conflicts with main - please rebase onto m…
61 … ["git", ["push", "-f", "-u", "fork", `${num}`]], // Keep a rebased copy of this branch in our fork
73 ["git", ["checkout", "-b", "experimental"]],
[all …]
Dopen-cherry-pick-pr.mjs2 import { runSequence } from "./run-sequence.mjs";
24 ["git", ["rev-parse", "HEAD"]]
27 ["git", ["log", "-1", `--pretty="%aN <%aE>"`]]
36 …if (inputPR.base.repo.git_url !== `git:github.com/microsoft/TypeScript` && inputPR.base.repo.git_u…
38 …["git", ["remote", "add", "nonlocal", inputPR.base.repo.git_url.replace(/^git:(?:\/\/)?/, "https:/…
42 const baseBranchName = inputPR.base.ref;
47 …og", `${remoteName}/${baseBranchName}..${currentSha.trim()}`, `--pretty="%h %s%n%b"`, "--reverse"]]
49 logText = `Cherry-pick PR #${process.env.SOURCE_ISSUE} into ${process.env.TARGET_BRANCH}
54 …const mergebase = runSequence([["git", ["merge-base", `${remoteName}/${baseBranchName}`, currentSh…
56 ["git", ["checkout", "-b", "temp-branch"]],
[all …]
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskUtil.java1 // Protocol Buffers - Google's data interchange format
4 // Use of this source code is governed by a BSD-style
6 // https://developers.google.com/open-source/licenses/bsd
10 import static com.google.common.base.Preconditions.checkArgument;
12 import com.google.common.base.CaseFormat;
13 import com.google.common.base.Joiner;
14 import com.google.common.base.Optional;
15 import com.google.common.base.Splitter;
42 // TODO: Consider using com.google.common.base.Joiner here instead. in toString()
64 // TODO: Consider using com.google.common.base.Splitter here instead. in fromString()
[all …]
/third_party/mbedtls/scripts/mbedtls_dev/
Dbignum_mod_raw.py3 # SPDX-License-Identifier: Apache-2.0
9 # http://www.apache.org/licenses/LICENSE-2.0
25 #pylint: disable=abstract-method, too-few-public-methods
29 # BEGIN MERGE SLOT 1
31 # END MERGE SLOT 1
33 # BEGIN MERGE SLOT 2
38 symbol = "-"
44 def arguments(self) -> List[str]:
50 def result(self) -> List[str]:
51 result = (self.int_a - self.int_b) % self.int_n
[all …]
/third_party/mesa3d/.gitlab-ci/
Dtest-source-dep.yml5 .scheduled_pipeline-rules:
7 - if: &is-scheduled-pipeline '$CI_PIPELINE_SOURCE == "schedule"'
12 # disables that, but keeps the auto-retry for infrastructure failures.
13 .no-auto-retry:
19 - api_failure
20 - runner_system_failure
21 - scheduler_failure
22 - data_integrity_failure
23 - unknown_failure
28 .no_scheduled_pipelines-rules:
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/core/
DCMakeLists.txt9 string(REPLACE " -Werror " " " CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
10 …string(REPLACE " -fvisibility=hidden" " -fvisibility=default" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
14 string(REPLACE "-fno-rtti" "" CMAKE_C_FLAGS ${CMAKE_C_FLAGS})
15 string(REPLACE "-fno-exceptions" "" CMAKE_C_FLAGS ${CMAKE_C_FLAGS})
18 string(REPLACE "-fno-rtti" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
19 string(REPLACE "-fno-exceptions" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
32 include(${TOP_DIR}/mindspore/lite/cmake/merge.cmake)
34 … merge_files(${CMAKE_CURRENT_SOURCE_DIR}/ops/ ${CMAKE_BINARY_DIR}/merge/mindspore/core ops_merge
37 …merge_files(${CMAKE_CURRENT_SOURCE_DIR}/ops/ ${CMAKE_BINARY_DIR}/merge/mindspore/core ops_merge "")
40 "${CMAKE_BINARY_DIR}/merge/mindspore/core/ops_merge*.cc")
[all …]
/third_party/skia/m133/modules/sksg/src/
DSkSGMerge.cpp4 * Use of this source code is governed by a BSD-style license that can be
14 #include "include/private/base/SkAssert.h"
22 Merge::Merge(std::vector<Rec>&& recs) in Merge() function in sksg::Merge
25 this->observeInval(rec.fGeo); in Merge()
29 Merge::~Merge() { in ~Merge()
31 this->unobserveInval(rec.fGeo); in ~Merge()
35 void Merge::onClip(SkCanvas* canvas, bool antiAlias) const { in onClip()
36 canvas->clipPath(fMerged, SkClipOp::kIntersect, antiAlias); in onClip()
39 void Merge::onDraw(SkCanvas* canvas, const SkPaint& paint) const { in onDraw()
40 canvas->drawPath(fMerged, paint); in onDraw()
[all …]
/third_party/grpc/tools/run_tests/python_utils/
Dfilter_pull_request_tests.py7 # http://www.apache.org/licenses/LICENSE-2.0
14 """Filter out tests based on file differences compared to merge target branch"""
50 _NODE_TEST_SUITE = TestSuite(["grpc-node"])
85 "^src/objective\-c/": [_OBJC_TEST_SUITE],
107 "gRPC\-Core\.podspec$": [_OBJC_TEST_SUITE],
108 "gRPC\-ProtoRPC\.podspec$": [_OBJC_TEST_SUITE],
109 "gRPC\-RxLibrary\.podspec$": [_OBJC_TEST_SUITE],
116 "PYTHON\-MANIFEST\.in$": [_PYTHON_TEST_SUITE],
134 Get list of changed files between current branch and base of target merge branch
136 # Get file changes between branch and merge-base of specified branch
[all …]
/third_party/rust/rust/src/tools/miri/
Dmiri2 set -e
7 Installs the miri driver and cargo-miri. <flags> are passed to `cargo
33 Runs just `cargo <flags>` with the Miri-specific environment variables.
34 Mainly meant to be invoked by rust-analyzer.
36 ./miri many-seeds <command>:
38 variable is set to its original value appended with ` -Zmiri-seed=$SEED` for
43 Runs the benchmarks from bench-cargo-miri in hyperfine. hyperfine needs to be installed.
48 `rust-version` file.
49 `rustup-toolchain-install-master` must be installed for this to work. Any extra
50 flags are passed to `rustup-toolchain-install-master`.
[all …]
/third_party/rust/rust/src/tools/miri/tests/fail/stacked_borrows/
Ddisable_mut_does_not_merge_srw.rs2 // removing them from the stack -- the latter would 'merge' neighboring SRW groups which we would
7 let base = &mut mem as *mut i32; // the base pointer we build the rest of the stack on in main() localVariable
9 let mutref = &mut *base; in main()
12 // In the stack, we now have [base, mutref, raw]. in main()
16 let _val = *base; in main()
18 *base = 1; in main()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DMergeICmps.cpp1 //===- MergeICmps.cpp - Optimize chains of integer comparisons ------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
16 // - There are less jumps, and therefore less opportunities for mispredictions
17 // and I-cache misses.
18 // - Code size is smaller, both because jumps are removed and because the
19 // encoding of a 2*n byte compare is smaller than that of two n-byte
40 // Which will later be expanded (ExpandMemCmp) as a single 8-bytes icmp.
42 //===----------------------------------------------------------------------===//
72 return LI->isSimple(); in isSimpleLoadOrStore()
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_io_to_vector.c7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
45 /* This handling of dual-source blending might not be correct when more than in get_slot()
48 return var->data.location + var->data.index; in get_slot()
55 if (nir_is_arrayed_io(var, shader->info.stage)) { in get_per_vertex_type()
56 assert(glsl_type_is_array(var->type)); in get_per_vertex_type()
58 *num_vertices = glsl_get_length(var->type); in get_per_vertex_type()
59 return glsl_get_array_element(var->type); in get_per_vertex_type()
63 return var->type; in get_per_vertex_type()
85 if (a->data.compact || b->data.compact) in variables_can_merge()
88 if (a->data.per_view || b->data.per_view) in variables_can_merge()
[all …]
/third_party/skia/m133/third_party/externals/harfbuzz/src/
Dhb-ot-shaper-indic.cc31 #include "hb-ot-shaper-indic.hh"
32 #include "hb-ot-shaper-indic-machine.hh"
33 #include "hb-ot-shaper-vowel-constraints.hh"
34 #include "hb-ot-layout.hh"
95 lookups = map->get_stage_lookups (0/*GSUB*/, in init()
96 map->get_feature_stage (0/*GSUB*/, feature_tag)); in init()
116 * Indic configurations. Note that we do not want to keep every single script-specific
117 * behavior in these tables necessarily. This should mainly be used for per-script
136 BLWF_MODE_PRE_AND_POST, /* Below-forms feature applied to pre-base and post-base. */
137 BLWF_MODE_POST_ONLY /* Below-forms feature applied to post-base only. */
[all …]
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_winsys_win32.c7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
23 #include "pipe-loader/pipe_loader.h"
35 struct vl_screen base; member
47 if (w32screen->winsys) in vl_win32_screen_destroy()
48 w32screen->winsys->destroy(w32screen->winsys); in vl_win32_screen_destroy()
50 if (vscreen->pscreen) in vl_win32_screen_destroy()
51 vscreen->pscreen->destroy(vscreen->pscreen); in vl_win32_screen_destroy()
53 if (vscreen->dev) in vl_win32_screen_destroy()
54 pipe_loader_release(&vscreen->dev, 1); in vl_win32_screen_destroy()
66 vscreen->winsys = gdi_create_sw_winsys(gdi_sw_acquire_hdc_by_value, gdi_sw_release_hdc_by_value); in vl_win32_screen_create()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/gpu/kernel/
Dgpu_kernel_factory.h2 * Copyright 2019-2022 Huawei Technologies Co., Ltd
8 * http://www.apache.org/licenses/LICENSE-2.0
86 #define KERNEL_NAME(kernel, cnt) MERGE(kernel, cnt)
87 #define MERGE(kernel, cnt) kernel##cnt macro
90 …static_assert(std::is_base_of<NativeGpuKernelMod, OPCLASS>::value, " must be base of NativeGpuKern…
95 …static_assert(std::is_base_of<NativeGpuKernelMod, OPCLASS>::value, " must be base of NativeGpuKern…
100 …static_assert(std::is_base_of<NativeGpuKernelMod, OPCLASS<T>>::value, " must be base of NativeGpuK…
105 …static_assert(std::is_base_of<NativeGpuKernelMod, OPCLASS<T>>::value, " must be base of NativeGpuK…
110 …static_assert(std::is_base_of<NativeGpuKernelMod, OPCLASS<T, S>>::value, " must be base of NativeG…
115 …static_assert(std::is_base_of<NativeGpuKernelMod, OPCLASS<T, S, G>>::value, " must be base of Nati…
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_transfer_queue.c7 * on the rights to use, copy, modify, merge, publish, distribute, sub
17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
27 #include "virtio-gpu/virgl_protocol.h"
58 switch (xfer->base.resource->target) { in transfer_dim()
75 if (box->width > 0) { in box_min_max()
76 *min = box->x; in box_min_max()
77 *max = box->x + box->width; in box_min_max()
79 *max = box->x; in box_min_max()
80 *min = box->x + box->width; in box_min_max()
84 if (box->height > 0) { in box_min_max()
[all …]
/third_party/mesa3d/src/freedreno/computerator/
Dir3_asm.cc7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
33 struct ir3_shader *shader = ir3_parse_asm(c, &kernel->info, in); in ir3_asm_assemble()
35 errx(-1, "assembler failed"); in ir3_asm_assemble()
36 struct ir3_shader_variant *v = shader->variants; in ir3_asm_assemble()
38 kernel->v = v; in ir3_asm_assemble()
39 kernel->bin = v->bin; in ir3_asm_assemble()
41 kernel->base.local_size[0] = v->local_size[0]; in ir3_asm_assemble()
42 kernel->base.local_size[1] = v->local_size[1]; in ir3_asm_assemble()
43 kernel->base.local_size[2] = v->local_size[2]; in ir3_asm_assemble()
44 kernel->base.num_bufs = kernel->info.num_bufs; in ir3_asm_assemble()
[all …]
/third_party/skia/m133/third_party/externals/harfbuzz/docs/
Dusermanual-clusters.xml2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
9 <section id="clusters-and-shaping">
47 that may merge adjacent characters (for example, when two code
95 Performing line-breaking, justification, and other
96 line-level or paragraph-level operations that must be done
98 character-level properties.
103 <section id="working-with-harfbuzz-clusters">
155 assigned in a monotonic (either non-decreasing or non-increasing)
159 For buffers in the left-to-right (LTR)
[all …]
/third_party/mesa3d/src/amd/registers/
Dregdb.py2 # Copyright 2017-2019 Advanced Micro Devices, Inc.
4 # SPDX-License-Identifier: MIT
20 Simplistic implementation of a union-find data structure that also keeps
23 - add: add an element to the implied global set of elements
24 - union: unify the sets containing the two given elements
25 - find: return the representative element of the set containing the
27 - get_set: get the set containing the given element
28 - sets: iterate over all sets (the sets form a partition of the set of all
126 Wrap a merge handling function in a "scope" whose name will be added when
138 dicts -- list of (origin, dictionary) pairs to merge
[all …]

12345678910>>...44