Home
last modified time | relevance | path

Searched refs:trial (Results 1 – 25 of 103) sorted by relevance

12345

/external/libchrome/base/metrics/
Dfield_trial_unittest.cc75 void OnFieldTrialGroupFinalized(const std::string& trial, in OnFieldTrialGroupFinalized() argument
77 trial_name_ = trial; in OnFieldTrialGroupFinalized()
173 scoped_refptr<FieldTrial> trial; in TEST_F() local
178 trial = CreateFieldTrial(name, 10, winner, &default_group_number); in TEST_F()
179 trial->AppendGroup(loser, 5); // 50% chance of not being chosen. in TEST_F()
181 } while (trial->group_ != FieldTrial::kNotFinalized); in TEST_F()
184 EXPECT_EQ(default_group_number, trial->group()); in TEST_F()
187 EXPECT_EQ(winner, trial->group_name()); in TEST_F()
202 scoped_refptr<FieldTrial> trial = in TEST_F() local
204 trial->AppendGroup("first", 1); // 50% chance of being chosen. in TEST_F()
[all …]
Dfield_trial.cc662 FieldTrial::State trial; in AllStatesToString() local
663 if (!registered.second->GetStateWhileLocked(&trial, include_expired)) in AllStatesToString()
666 trial.trial_name->find(kPersistentStringSeparator)); in AllStatesToString()
668 trial.group_name->find(kPersistentStringSeparator)); in AllStatesToString()
669 if (trial.activated) in AllStatesToString()
671 output->append(*trial.trial_name); in AllStatesToString()
673 output->append(*trial.group_name); in AllStatesToString()
685 FieldTrial::State trial; in AllParamsToString() local
686 if (!registered.second->GetStateWhileLocked(&trial, include_expired)) in AllParamsToString()
689 trial.trial_name->find(kPersistentStringSeparator)); in AllParamsToString()
[all …]
/external/cldr/tools/java/org/unicode/cldr/tool/
DCountryCodeConverter.java27 String trial = display.trim().toLowerCase(Locale.ENGLISH); in getCodeFromName() local
28 if (trial.startsWith("\"") && trial.endsWith("\"")) { in getCodeFromName()
29 trial = trial.substring(1, trial.length() - 2); in getCodeFromName()
31 if (trial.startsWith("the ")) { in getCodeFromName()
32 trial = trial.substring(4); in getCodeFromName()
34 String result = nameToCountryCode.get(trial); in getCodeFromName()
39 trial = reverseComma(display); in getCodeFromName()
40 if (trial != null) { in getCodeFromName()
41 result = nameToCountryCode.get(trial); in getCodeFromName()
59 String trial; in reverseComma() local
[all …]
DGetDescriptions.java182 String trial = name.substring(postComma.length()).trim() + ", " + postComma; in addStart()
183 if (descriptionWithoutComments.keySet().contains(trial)) { in addStart()
186 descriptionWithoutComments.put(trial, name + "\t@MISSING\t" + types); in addStart()
192 … String trial = preComma + ", " + name.substring(0, name.length() - preComma.length()).trim(); in addEnd()
193 if (descriptionWithoutComments.keySet().contains(trial)) { in addEnd()
196 descriptionWithoutComments.put(trial, name + "\t@MISSING\t" + types); in addEnd()
224 String trial = directional.group(2) + (directional.group(2).contains(",") ? " " : ", ") in checkInversion() local
226 if (!items.contains(trial)) { in checkInversion()
227 … commas.println(commaCount++ + "\t" + type + "\t" + code + "\t" + "\t@MISSING\t" + trial); in checkInversion()
DCheckLangTagBNF.java190 String trial = bnf.next(); in main() local
191 trial = randomizeAsciiCase(trial); in main()
192 System.out.println(trial); in main()
193 if (!regexLanguageTag.reset(trial).matches()) { in main()
194 throw new IllegalArgumentException("Regex generation fails with: " + trial); in main()
209 String trial = invalidBNF.next(); in main() local
210 if (regexLanguageTag.reset(trial).matches()) { in main()
213 System.out.println(trial); in main()
/external/openssh/regress/
Dcfginclude.sh86 trial() { function
97 trial a aa
98 trial b bb
99 trial c ccc
100 trial d dd
101 trial e ee
102 trial f fff
103 trial m xxxx
104 trial n xxxx
105 trial x x
[all …]
/external/fec/
Dsumsq_test.c29 int i,d,trial,trials=10000; local
77 for(trial=0;trial<trials;trial++){
81 for(trial=0;trial<trials;trial++){
/external/cldr/tools/java/org/unicode/cldr/draft/
DShortestCanonicalForm.java89 String trial = leadStr + sub + trail2;
90 String nfc = shortNFC(trial);
91 String shortest = getShortest(trial, nfc);
109 private static String shortNFC(String trial) { in shortNFC() argument
110 String result = Normalizer.normalize(trial, Normalizer.NFC); in shortNFC()
161 private static String getShortest(String trial, String nfc) { in getShortest() argument
165 CanonicalIterator ci = new CanonicalIterator(trial); in getShortest()
219 for (String trial = ci.next(); trial != null; trial = ci.next()) { in process()
220 int len = trial.codePointCount(0, trial.length()); in process()
222 best = trial; in process()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DTrialResult.java24 private final Trial trial; field in TrialResult
28 TrialResult(Trial trial, Experiment experiment, ImmutableList<String> trialMessages) { in TrialResult() argument
29 this.trial = trial; in TrialResult()
39 return trial; in getTrial()
DResultsUploader.java94 @Override public final void processTrial(Trial trial) { in processTrial() argument
103 resource.type(APPLICATION_JSON_TYPE).post(gson.toJson(ImmutableList.of(trial))); in processTrial()
105 runId = Optional.of(trial.run().id()); in processTrial()
108 logUploadFailure(trial, e); in processTrial()
110 logUploadFailure(trial, e); in processTrial()
118 private static void logUploadFailure(Trial trial, Exception e) { in logUploadFailure() argument
120 "Could not upload trial %s. Consider uploading it manually.", trial.id()), e); in logUploadFailure()
DConsoleOutput.java94 Trial trial = result.getTrial(); in processTrial() local
98 .putAll(Multimaps.index(trial.measurements(), new Function<Measurement, String>() { in processTrial()
131 instrumentSpecs.add(trial.instrumentSpec()); in processTrial()
132 Scenario scenario = trial.scenario(); in processTrial()
135 numMeasurements += trial.measurements().size(); in processTrial()
/external/tensorflow/tensorflow/core/platform/posix/
Dnet.cc97 int trial = 0; in PickUnusedPortOrDie() local
100 trial++; in PickUnusedPortOrDie()
101 CHECK_LE(trial, kMaximumTrials) in PickUnusedPortOrDie()
103 if (trial == 1) { in PickUnusedPortOrDie()
105 } else if (trial <= kNumRandomPortsToPick) { in PickUnusedPortOrDie()
/external/tensorflow/tensorflow/core/platform/windows/
Dnet.cc113 int trial = 0; in PickUnusedPortOrDie() local
116 trial++; in PickUnusedPortOrDie()
117 CHECK_LE(trial, kMaximumTrials) in PickUnusedPortOrDie()
119 if (trial == 1) { in PickUnusedPortOrDie()
121 } else if (trial <= kNumRandomPortsToPick) { in PickUnusedPortOrDie()
/external/icu/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp308 double trial = unum_parseDouble(fFmt,fStr,fLen, NULL, &setupStatus); in warmup() local
309 if(U_SUCCESS(setupStatus) && trial!=fExpect) { in warmup()
312 fFile,fLine,getName(),trial,fExpect); in warmup()
317 double trial=0.0; in run() local
320 trial = unum_parse(fFmt,fStr,fLen, NULL, &setupStatus); in run()
437 int32_t trial = unum_formatDouble(fFmt,fExpect, buf, 100, NULL, &setupStatus); in warmup() local
439 || trial!=fLen in warmup()
440 ||trial<=0 in warmup()
441 || u_strncmp(fStr,buf,trial) ) { in warmup()
443 u_strToUTF8(strBuf,200,NULL,buf,trial+1,&setupStatus); in warmup()
[all …]
/external/libchrome/base/test/
Dscoped_feature_list_unittest.cc118 scoped_refptr<FieldTrial> trial = in TEST_F() local
133 EXPECT_EQ(trial.get(), FeatureList::GetFieldTrial(kTestFeature1)); in TEST_F()
147 EXPECT_NE(trial.get(), FeatureList::GetFieldTrial(kTestFeature1)); in TEST_F()
156 EXPECT_EQ(trial.get(), FeatureList::GetFieldTrial(kTestFeature1)); in TEST_F()
170 EXPECT_EQ(trial.get(), FeatureList::GetFieldTrial(kTestFeature1)); in TEST_F()
178 EXPECT_EQ(trial.get(), FeatureList::GetFieldTrial(kTestFeature1)); in TEST_F()
233 FieldTrial* trial = FieldTrialList::CreateFieldTrial("TrialExample", "A"); in TEST_F() local
235 kTestFeature1.name, FeatureList::OVERRIDE_ENABLE_FEATURE, trial); in TEST_F()
250 FieldTrial* trial = FieldTrialList::CreateFieldTrial("TrialExample", "A"); in TEST_F() local
252 kTestFeature1.name, FeatureList::OVERRIDE_DISABLE_FEATURE, trial); in TEST_F()
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/utils/
Drandom_test.cc26 for (int trial = 0; trial < 10; ++trial) { in TEST() local
/external/libchrome/base/
Dfeature_list_unittest.cc224 FieldTrial* trial = FieldTrialList::CreateFieldTrial("TrialExample2", "A"); in TEST_F() local
226 kFeatureOffByDefaultName, FeatureList::OVERRIDE_DISABLE_FEATURE, trial); in TEST_F()
229 EXPECT_FALSE(FieldTrialList::IsTrialActive(trial->trial_name())); in TEST_F()
235 EXPECT_FALSE(FieldTrialList::IsTrialActive(trial->trial_name())); in TEST_F()
363 FieldTrial* trial = FieldTrialList::CreateFieldTrial("Trial", "Group"); in TEST_F() local
366 trial); in TEST_F()
389 FieldTrial* trial = FieldTrialList::CreateFieldTrial("Trial", "Group"); in TEST_F() local
391 kFeatureOffByDefaultName, FeatureList::OVERRIDE_USE_DEFAULT, trial); in TEST_F()
406 FieldTrial* trial = FieldTrialList::CreateFieldTrial("Trial", "Group"); in TEST_F() local
409 kFeatureOnByDefaultName, FeatureList::OVERRIDE_USE_DEFAULT, trial); in TEST_F()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpMath.java177 int trial = 1; in splitPow() local
181 prevtrial = trial; in splitPow()
182 trial = trial * 2; in splitPow()
183 if (trial > a) { in splitPow()
189 trial = prevtrial; in splitPow()
191 a -= trial; in splitPow()
231 int trial = 1; in pow() local
236 prevtrial = trial; in pow()
238 trial = trial * 2; in pow()
239 } while (a>trial); in pow()
[all …]
/external/cldr/tools/java/org/unicode/cldr/test/
DTestTransformsSimple.java399 String trial = Normalizer.compose(sample, false); in getRepresentativeBoundaryHangul() local
400 if (trial.length() == 2) { in getRepresentativeBoundaryHangul()
401 resultToAddTo.add(trial); in getRepresentativeBoundaryHangul()
412 String trial = Normalizer.compose(sample, false); in getRepresentativeBoundaryHangul() local
413 if (trial.length() == 2) { in getRepresentativeBoundaryHangul()
414 resultToAddTo.add(trial); in getRepresentativeBoundaryHangul()
420 String trial = Normalizer.compose(sample, false); in getRepresentativeBoundaryHangul() local
421 if (trial.length() == 2) { in getRepresentativeBoundaryHangul()
422 resultToAddTo.add(trial); in getRepresentativeBoundaryHangul()
/external/v8/src/wasm/
Dwasm-memory.cc59 for (int trial = 0;; ++trial) { in TryAllocateBackingStore() local
63 if (trial == kAllocationRetries) { in TryAllocateBackingStore()
83 for (int trial = 0;; ++trial) { in TryAllocateBackingStore() local
87 if (trial == kAllocationRetries) { in TryAllocateBackingStore()
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DResultProcessorCreatorTest.java56 public void processTrial(Trial trial) { in processTrial() argument
85 public void processTrial(Trial trial) { in processTrial() argument
103 public void processTrial(Trial trial) { in processTrial() argument
DInMemoryResultsUploader.java51 @Override public void processTrial(Trial trial) { in processTrial() argument
53 trials.add(trial); in processTrial()
/external/autotest/client/site_tests/cheets_AppCompatTest/
Dcheets_AppCompatTest.py201 for trial in range(retries):
202 logging.info('Iteration %d: Trying to launch play store' % trial)
208 logging.info('Iteration %d: Test finished' % trial)
213 self._save_logcat(trial)
217 elif trial + 1 >= retries:
/external/clang/test/Modules/
Dignored_macros.m1 // First trial: pass -DIGNORED=1 to both. This should obviously work.
6 // Second trial: pass -DIGNORED=1 only to the second invocation. We
15 // Third trial: pass -DIGNORED=1 only to the second invocation, but
22 // Fourth trial: pass -DIGNORED=1 and -fmodules-ignore-macro=IGNORED
29 // Fifth trial: pass -DIGNORED=1 and -fmodules-ignore-macro=IGNORED=1
/external/cldr/tools/java/org/unicode/cldr/util/
DPair.java84 int trial = Utility.checkCompare(first, that.first); in compareTo() local
85 if (trial != 0) return trial; in compareTo()

12345