Home
last modified time | relevance | path

Searched full:pick (Results 1 – 25 of 4792) sorted by relevance

12345678910>>...192

/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DTestBNF.java12 import org.unicode.cldr.util.Pick;
79 Pick p = Pick.maybe(75,Pick.unquoted("a"));
81 p = Pick.or(new String[]{"", "a", "bb", "ccc"});
83 p = Pick.repeat(3, 5, new int[]{20, 30, 20}, "a");
85 p = Pick.codePoint("[a-ce]");
87 p = Pick.codePoint("[a-ce]");
89 p = Pick.string(2, 8, p);
92 p = Pick.or(new String[]{"", "a", "bb", "ccc"});
93 p = Pick.and(p).and2(p).and2("&");
101 static void testMatch(Pick p, String source) { in testMatch()
[all …]
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DPick.java19 public abstract class Pick { class
28 private Pick pick; field in Pick.Target
31 private Multiset<Pick> stack = LinkedHashMultiset.create();
33 public static Target make(Pick pick, Random random, Quoter quoter) { in make() argument
35 result.pick = pick; in make()
46 pick.addTo(this); in next()
49 for (Pick pick : e.target.stack.elementSet()) { in next()
50 System.out.println(pick.name + ": " + e.target.stack.count(pick)); in next()
93 public void exitStack(Pick pick) { in exitStack() argument
94 stack.remove(pick); in exitStack()
[all …]
DBNF.java21 private Pick pick = null; field in BNF
22 private Pick.Target target = null;
32 return pick.getInternal(0, new HashSet()); in getInternal()
106 Pick expression = (Pick) map.get(key); in complete()
114 Pick expression2 = (Pick) map.get(key2); in complete()
118 pick = (Pick) map.get("$root"); in complete()
119 target = Pick.Target.make(pick, random, quoter); in complete()
159 Pick rule = getAlternation(); in addRule()
168 protected boolean addPick(String s, Pick rule) { in addPick()
180 addPick(variable, Pick.codePoint(set)); in addSet()
[all …]
/external/tensorflow/tensorflow/core/lib/random/
Dweighted_picker_test.cc43 EXPECT_EQ(picker.Pick(&rnd), -1); in TEST()
49 EXPECT_EQ(picker.Pick(&rnd), 0); in TEST()
50 EXPECT_EQ(picker.Pick(&rnd), 0); in TEST()
51 EXPECT_EQ(picker.Pick(&rnd), 0); in TEST()
67 EXPECT_EQ(picker.Pick(&rnd), 0); in TEST()
68 EXPECT_EQ(picker.Pick(&rnd), 0); in TEST()
69 EXPECT_EQ(picker.Pick(&rnd), 0); in TEST()
76 EXPECT_EQ(picker.Pick(&rnd), 0); in TEST()
77 EXPECT_EQ(picker.Pick(&rnd), 0); in TEST()
78 EXPECT_EQ(picker.Pick(&rnd), 0); in TEST()
[all …]
/external/pytorch/.github/scripts/
Dcherry_pick.py26 parser = ArgumentParser("cherry pick a landed PR onto a release branch")
37 help="the cherry pick category",
44 help="the GitHub issue that the cherry pick fixes",
54 will only cherry pick PRs that have been merged into main
98 Create a local branch to cherry pick the commit and submit it as a pull request
137 msg = f"The cherry pick PR is at {cherry_pick_pr}"
141 … msg += f" and it is recommended to link a {classification} cherry pick PR with an issue."
159 Create a local branch and cherry pick the commit. Return the name of the local
168 cherry_pick_branch = f"cherry-pick-{pr.pr_num}-by-{github_actor}"
173 repo._run_git("cherry-pick", "-x", commit_sha)
[all …]
/external/executorch/.github/scripts/
Dcherry_pick.py33 parser = ArgumentParser("cherry pick a landed PR onto a release branch")
44 help="the cherry pick category",
51 help="the GitHub issue that the cherry pick fixes",
61 will only cherry pick PRs that have been merged into main
105 Create a local branch to cherry pick the commit and submit it as a pull request
144 msg = f"The cherry pick PR is at {cherry_pick_pr}"
148 … msg += f" and it is recommended to link a {classification} cherry pick PR with an issue."
166 Create a local branch and cherry pick the commit. Return the name of the local
175 cherry_pick_branch = f"cherry-pick-{pr.pr_num}-by-{github_actor}"
179 repo._run_git("cherry-pick", "-x", "-X", "theirs", commit_sha)
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/res/
DResBundleTest.java35 TypedResource v = resMap.pick(resName, from("v18")); in closestMatchIsPicked()
46 TypedResource v = resMap.pick(resName, from("en-v18")); in firstValIsPickedWhenNoMatch()
57 TypedResource v = resMap.pick(resName, from("v26")); in bestValIsPickedForSdkVersion()
68 TypedResource v = resMap.pick(resName, from("land-v18")); in eliminatedValuesAreNotPickedForVersion()
79 TypedResource v = resMap.pick(resName, from("v18")); in greaterVersionsAreNotPicked()
90 TypedResource v = resMap.pick(resName, from("v18")); in greaterVersionsAreNotPickedReordered()
97 // to pick the first qualifier when none of the qualifiers are a "perfect" match. in greaterVersionsAreNotPickedMoreQualifiers()
103 TypedResource v = resMap.pick(resName, from("v18")); in greaterVersionsAreNotPickedMoreQualifiers()
114 TypedResource v = resMap.pick(resName, from("v18")); in onlyMatchingVersionsQualifiersWillBePicked()
124 resMap.pick(resName, from("nosuchqualifier")); in illegalResourceQualifierThrowsException()
[all …]
/external/pytorch/.github/workflows/
Dcherry-pick.yml1 name: Create a cherry pick from a PR
5 types: [try-cherry-pick]
8 cherry-pick:
9 name: cherry-pick-pr-${{ github.event.client_payload.pr_num }}
11 environment: cherry-pick-bot
36 - name: Cherry pick the PR
56 group: cherry-pick-pr-${{ github.event.client_payload.pr_num }}
/external/executorch/.github/workflows/
Dcherry-pick.yml1 name: Create a cherry pick from a PR
5 types: [try-cherry-pick]
8 cherry-pick:
9 name: cherry-pick-pr-${{ github.event.client_payload.pr_num }}
11 environment: cherry-pick-bot
37 - name: Cherry pick the PR
57 group: cherry-pick-pr-${{ github.event.client_payload.pr_num }}
/external/mesa3d/docs/relnotes/
D18.2.6.rst71 - bin/get-pick-list.sh: simplify git oneline printing
72 - bin/get-pick-list.sh: prefix output with "[stable] "
73 - bin/get-pick-list.sh: handle "typod" usecase.
74 - bin/get-pick-list.sh: handle the fixes tag
75 - bin/get-pick-list.sh: tweak the commit sha matching pattern
76 - bin/get-pick-list.sh: flesh out is_sha_nomination
77 - bin/get-pick-list.sh: handle fixes tag with missing colon
78 - bin/get-pick-list.sh: handle unofficial "broken by" tag
79 - bin/get-pick-list.sh: use test instead of [ ]
80 - bin/get-pick-list.sh: handle reverts prior to the branchpoint
D23.0.4.rst77 - bin/pick: fix issue where None for nomination_type could fail
78 - bin/pick: use lineboxes to make the UI clearer
79 - bin/pick: Add support for adding notes on patches
80 - bin/pick: Add a Read/Write lock class
81 - pick: Fix a lot of locking issues
82 - pick: Add fixes/reverts of applied patches as they're applied
83 - bin/pick-ui: use asyncio.new_event_loop
84 - wip: 23.0 fixes for pick-ui reworks
86 - fixup! pick: Fix a lot of locking issues
172 - device_select_layer: pick a default device before applying DRI_PRIME
D22.0.1.rst77 - pick/ui: Fix mypy issue
78 - pick/core: drop the main_sha field
79 - pick/core: Add proper type annotation for update_commits callback
80 - pick/core: Add a method for updating commits
81 - pick/core: Add a MANUAL_RESOLUTION resolution
82 - pick/ui: correctly handle MANUAL_RESOLUTION
/external/grpc-grpc/test/core/client_channel/lb_policy/
Dstatic_stride_scheduler_test.cc74 ++picks[scheduler->Pick()]; in TEST()
89 ++picks[scheduler->Pick()]; in TEST()
104 picks[i] = scheduler->Pick(); in TEST()
112 EXPECT_EQ(scheduler->Pick(), picks[i % 3]); in TEST()
128 picks.push_back(scheduler->Pick()); in TEST()
133 EXPECT_EQ(scheduler->Pick(), picks[j]); in TEST()
150 picks.push_back(scheduler->Pick()); in TEST()
153 // Rewind and make each pick with a new scheduler instance. This should give in TEST()
162 EXPECT_EQ(rebuild->Pick(), picks[i]); in TEST()
183 if (scheduler->Pick() == 2) { in TEST()
[all …]
/external/llvm/test/CodeGen/Mips/
Ddsp-patterns-cmp-vselect.ll5 ; CHECK: pick.ph ${{[0-9]+}}, $6, $7
22 ; CHECK: pick.ph ${{[0-9]+}}, $6, $7
39 ; CHECK: pick.ph ${{[0-9]+}}, $6, $7
56 ; CHECK: pick.ph ${{[0-9]+}}, $7, $6
73 ; CHECK: pick.ph ${{[0-9]+}}, $7, $6
90 ; CHECK: pick.ph ${{[0-9]+}}, $7, $6
107 ; CHECK: pick.qb ${{[0-9]+}}, $6, $7
124 ; CHECK: pick.qb ${{[0-9]+}}, $6, $7
141 ; CHECK: pick.qb ${{[0-9]+}}, $6, $7
158 ; CHECK: pick.qb ${{[0-9]+}}, $7, $6
[all …]
/external/mesa3d/bin/pick/
Dcore_test.py21 """Tests for pick's core data structures and routines."""
326 with mock.patch('bin.pick.core.asyncio.create_subprocess_exec', s.mock):
327 with mock.patch('bin.pick.core.is_commit_in_branch', self.return_true):
338 with mock.patch('bin.pick.core.asyncio.create_subprocess_exec', s.mock):
339 with mock.patch('bin.pick.core.is_commit_in_branch', self.return_false):
350 with mock.patch('bin.pick.core.asyncio.create_subprocess_exec', s.mock):
361 with mock.patch('bin.pick.core.asyncio.create_subprocess_exec', s.mock):
372 with mock.patch('bin.pick.core.asyncio.create_subprocess_exec', s.mock):
383 with mock.patch('bin.pick.core.asyncio.create_subprocess_exec', s.mock):
394 with mock.patch('bin.pick.core.asyncio.create_subprocess_exec', s.mock):
[all …]
/external/curl/lib/
Dheaders.c75 struct Curl_header_store *pick = NULL; in curl_easy_header() local
94 pick = hs; in curl_easy_header()
105 hs = pick; in curl_easy_header()
134 struct Curl_llist_node *pick; in curl_easy_nextheader() local
146 pick = prev->anchor; in curl_easy_nextheader()
147 if(!pick) in curl_easy_nextheader()
150 pick = Curl_node_next(pick); in curl_easy_nextheader()
153 pick = Curl_llist_head(&data->state.httphdrs); in curl_easy_nextheader()
155 if(pick) { in curl_easy_nextheader()
158 hs = Curl_node_elem(pick); in curl_easy_nextheader()
[all …]
/external/bazel-skylib/docs/
Ddicts_doc.md60 <a id="dicts.pick"></a>
62 ## dicts.pick
65 dicts.pick(<a href="#dicts.pick-dictionary">dictionary</a>, <a href="#dicts.pick-keys">keys</a>)
75 | <a id="dicts.pick-dictionary"></a>dictionary | A `dict`. | none |
76 | <a id="dicts.pick-keys"></a>keys | A sequence. | none |
/external/ksp/.github/workflows/
Dauto-merge.yml1 # Workflow to cherry-pick changes from main to release branch.
28 # Cherry pick new changes from main, except for version bumps.
40 git config --global user.name "KSP Auto Pick"
48 if [ -n "$TO_PICK" ]; then git cherry-pick -x $TO_PICK; fi
101 pick-and-push:
114 # Cherry pick new changes from main, except for version bumps.
126 git config --global user.name "KSP Auto Pick"
134 if [ -n "$TO_PICK" ]; then git cherry-pick -x $TO_PICK; fi
/external/python/google-api-python-client/docs/dyn/
Dbigquery_v2.datasets.html132 …&quot;dataset&quot;: { # [Pick one] A grant authorizing all resources of a particular type in a pa…
143 …&quot;domain&quot;: &quot;A String&quot;, # [Pick one] A domain to grant access to. Any users sign…
144 …&quot;groupByEmail&quot;: &quot;A String&quot;, # [Pick one] An email address of a Google Group to…
145 …&quot;iamMember&quot;: &quot;A String&quot;, # [Pick one] Some other type of member that appears i…
147 …&quot;routine&quot;: { # [Pick one] A routine from a different dataset to grant access to. Queries…
152 …&quot;specialGroup&quot;: &quot;A String&quot;, # [Pick one] A special group to grant access to. P…
153 …&quot;userByEmail&quot;: &quot;A String&quot;, # [Pick one] An email address of a user to grant ac…
154 …&quot;view&quot;: { # [Pick one] A view from a different dataset to grant access to. Queries execu…
200 …&quot;dataset&quot;: { # [Pick one] A grant authorizing all resources of a particular type in a pa…
211 …&quot;domain&quot;: &quot;A String&quot;, # [Pick one] A domain to grant access to. Any users sign…
[all …]
/external/apache-xml/test/tests/conf/copy/
Dcopy42.xml4 <a2 pick="yes">
15 <a2 pick="no">
22 <a2 pick="yes">
34 <a2 pick="no">
/external/bazel-skylib/tests/
Ddicts_tests.bzl120 """Unit tests for dicts.pick."""
124 asserts.equals(env, {}, dicts.pick({}, []))
127 asserts.equals(env, {}, dicts.pick({}, ["a"]))
130 asserts.equals(env, {}, dicts.pick({"a": 1}, []))
133 asserts.equals(env, {"a": 1}, dicts.pick({"a": 1}, ["a"]))
136 asserts.equals(env, {}, dicts.pick({"a": 1}, ["b"]))
139 # result of dicts.pick is always a *copy* by modifying it afterwards and
144 result = dicts.pick(original, ["a"])
/external/google-cloud-java/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/
DRetryConfigOrBuilder.java34 * If unspecified when the queue is created, Cloud Tasks will pick the
59 * If unspecified when the queue is created, Cloud Tasks will pick the
83 * If unspecified when the queue is created, Cloud Tasks will pick the
107 * If unspecified when the queue is created, Cloud Tasks will pick the
130 * If unspecified when the queue is created, Cloud Tasks will pick the
154 * If unspecified when the queue is created, Cloud Tasks will pick the
178 * If unspecified when the queue is created, Cloud Tasks will pick the
201 * If unspecified when the queue is created, Cloud Tasks will pick the
225 * If unspecified when the queue is created, Cloud Tasks will pick the
249 * If unspecified when the queue is created, Cloud Tasks will pick the
[all …]
/external/google-cloud-java/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/
DRetryConfigOrBuilder.java34 * If unspecified when the queue is created, Cloud Tasks will pick the
59 * If unspecified when the queue is created, Cloud Tasks will pick the
83 * If unspecified when the queue is created, Cloud Tasks will pick the
107 * If unspecified when the queue is created, Cloud Tasks will pick the
129 * If unspecified when the queue is created, Cloud Tasks will pick the
152 * If unspecified when the queue is created, Cloud Tasks will pick the
175 * If unspecified when the queue is created, Cloud Tasks will pick the
197 * If unspecified when the queue is created, Cloud Tasks will pick the
220 * If unspecified when the queue is created, Cloud Tasks will pick the
243 * If unspecified when the queue is created, Cloud Tasks will pick the
[all …]
/external/jazzer-api/src/main/java/com/code_intelligence/jazzer/api/
DFuzzedDataProvider.java285 * @param collection the {@link Collection} to pick an element from.
306 * @param array the array to pick an element from.
318 * @param array the array to pick an element from.
329 * @param array the array to pick an element from.
340 * @param array the array to pick an element from.
351 * @param array the array to pick an element from.
362 * @param array the array to pick an element from.
373 * @param array the array to pick an element from.
384 * @param array the array to pick an element from.
395 * @param array the array to pick an element from.
[all …]
/external/pytorch/
DRELEASE.md93 * Q: What is cherry-pick ?
94pick is a process of propagating commits from the main into the release branch, utilizing git's bu…
234 …release after the release branch has been cut we typically employ the use of a cherry pick tracker.
241 **NOTE**: The cherry pick process is not an invitation to add new features, it is mainly there to f…
245 You can now use `pytorchbot` to cherry pick a PyTorch PR that has been committed
246 to the main branch using `@pytorchbot cherry-pick` command as follows.
249 usage: @pytorchbot cherry-pick --onto ONTO [--fixes FIXES] -c
252 Cherry pick a pull request onto a release branch for inclusion in a release
255 --onto ONTO Branch you would like to cherry pick onto (Example: release/2.2)
258 A machine-friendly classification of the cherry-pick reason.
[all …]

12345678910>>...192