Home
last modified time | relevance | path

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

123

/external/libchrome/base/metrics/
Dfield_trial_unittest.cc53 void OnFieldTrialGroupFinalized(const std::string& trial, in OnFieldTrialGroupFinalized() argument
55 trial_name_ = trial; in OnFieldTrialGroupFinalized()
147 scoped_refptr<FieldTrial> trial; in TEST_F() local
152 trial = CreateFieldTrial(name, 10, winner, &default_group_number); in TEST_F()
153 trial->AppendGroup(loser, 5); // 50% chance of not being chosen. in TEST_F()
155 } while (trial->group_ != FieldTrial::kNotFinalized); in TEST_F()
158 EXPECT_EQ(default_group_number, trial->group()); in TEST_F()
161 EXPECT_EQ(winner, trial->group_name()); in TEST_F()
176 scoped_refptr<FieldTrial> trial = in TEST_F() local
178 trial->AppendGroup("first", 1); // 50% chance of being chosen. in TEST_F()
[all …]
Dfield_trial.cc477 FieldTrial::State trial; in AllStatesToString() local
478 if (!registered.second->GetState(&trial)) in AllStatesToString()
481 trial.trial_name.find(kPersistentStringSeparator)); in AllStatesToString()
483 trial.group_name.find(kPersistentStringSeparator)); in AllStatesToString()
484 if (trial.activated) in AllStatesToString()
486 trial.trial_name.AppendToString(output); in AllStatesToString()
488 trial.group_name.AppendToString(output); in AllStatesToString()
546 FieldTrial* trial = CreateFieldTrial(trial_name, group_name); in CreateTrialsFromString() local
547 if (!trial) in CreateTrialsFromString()
553 trial->group(); in CreateTrialsFromString()
[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/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()
DOutputFileDumper.java96 @Override public void processTrial(Trial trial) { in processTrial() argument
107 "An error occured writing trial %s. Results in %s will be incomplete.", trial.id(), in processTrial()
112 gson.toJson(trial, Trial.class, writer.get()); in processTrial()
/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/
Dfeature_list_unittest.cc222 FieldTrial* trial = FieldTrialList::CreateFieldTrial("TrialExample2", "A"); in TEST_F() local
224 kFeatureOffByDefaultName, FeatureList::OVERRIDE_DISABLE_FEATURE, trial); in TEST_F()
227 EXPECT_FALSE(FieldTrialList::IsTrialActive(trial->trial_name())); in TEST_F()
233 EXPECT_FALSE(FieldTrialList::IsTrialActive(trial->trial_name())); in TEST_F()
361 FieldTrial* trial = FieldTrialList::CreateFieldTrial("Trial", "Group"); in TEST_F() local
364 trial); in TEST_F()
382 FieldTrial* trial = FieldTrialList::CreateFieldTrial("Trial", "Group"); in TEST_F() local
384 kFeatureOffByDefaultName, FeatureList::OVERRIDE_USE_DEFAULT, trial); in TEST_F()
399 FieldTrial* trial = FieldTrialList::CreateFieldTrial("Trial", "Group"); in TEST_F() local
402 kFeatureOnByDefaultName, FeatureList::OVERRIDE_USE_DEFAULT, trial); in TEST_F()
[all …]
Dfeature_list.cc253 base::FieldTrial* trial = nullptr; in RegisterOverridesFromCommandLine() local
260 trial = base::FieldTrialList::Find(value.substr(pos + 1)); in RegisterOverridesFromCommandLine()
263 RegisterOverride(feature_name, overridden_state, trial); in RegisterOverridesFromCommandLine()
/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/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()
DAllocationInstrumentTest.java73 Trial trial = Iterables.getOnlyElement(runner.trials()); in intrinsics() local
75 Measurement.indexByDescription(trial.measurements()); in intrinsics()
/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/cros/system_api/dbus/
Dfield_trial_list.proto9 // This protobuf is for serializing Finch experimental field trial data to
18 // All the active field trial groups for this device.
/external/autotest/client/cros/chameleon/
Dchameleon_bluetooth_audio.py133 for trial in xrange(retries):
138 elif trial == retries - 1:
/external/webp/src/enc/
Dalpha_enc.c249 FilterTrial trial; in ApplyFiltersAndEncode() local
252 &trial); in ApplyFiltersAndEncode()
253 if (ok && trial.score < best.score) { in ApplyFiltersAndEncode()
255 best = trial; in ApplyFiltersAndEncode()
257 VP8BitWriterWipeOut(&trial.bw); in ApplyFiltersAndEncode()
/external/guava/guava-tests/test/com/google/common/base/
DUtf8Test.java67 for (int trial = 0; trial < 100; trial++) { in testEncodedLength_validStrings2()
/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_new_test.c618 int trial; in main() local
619 for (trial = 0; trial < 2; trial++) { in main()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DRoundTripTest.java238 String trial = Normalizer.compose(sample, false); in getRepresentativeBoundaryHangul() local
239 if (trial.length() == 2) { in getRepresentativeBoundaryHangul()
240 resultToAddTo.add(trial); in getRepresentativeBoundaryHangul()
251 String trial = Normalizer.compose(sample, false); in getRepresentativeBoundaryHangul() local
252 if (trial.length() == 2) { in getRepresentativeBoundaryHangul()
253 resultToAddTo.add(trial); in getRepresentativeBoundaryHangul()
259 String trial = Normalizer.compose(sample, false); in getRepresentativeBoundaryHangul() local
260 if (trial.length() == 2) { in getRepresentativeBoundaryHangul()
261 resultToAddTo.add(trial); in getRepresentativeBoundaryHangul()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DRoundTripTest.java239 String trial = Normalizer.compose(sample, false); in getRepresentativeBoundaryHangul() local
240 if (trial.length() == 2) { in getRepresentativeBoundaryHangul()
241 resultToAddTo.add(trial); in getRepresentativeBoundaryHangul()
252 String trial = Normalizer.compose(sample, false); in getRepresentativeBoundaryHangul() local
253 if (trial.length() == 2) { in getRepresentativeBoundaryHangul()
254 resultToAddTo.add(trial); in getRepresentativeBoundaryHangul()
260 String trial = Normalizer.compose(sample, false); in getRepresentativeBoundaryHangul() local
261 if (trial.length() == 2) { in getRepresentativeBoundaryHangul()
262 resultToAddTo.add(trial); in getRepresentativeBoundaryHangul()
/external/caliper/caliper/src/main/java/com/google/caliper/api/
DResultProcessor.java30 void processTrial(Trial trial); in processTrial() argument
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DTransliterationChart.java126 String trial = (String)sit.next(); in main() local
127 if (!sets[i].containsAll(trial)) continue; in main()
128 item = trial; in main()
/external/icu/icu4c/source/common/
Dcaniter.cpp575 UnicodeString trial; in extract() local
576 nfd.normalize(temp, trial, status); in extract()
577 if(U_FAILURE(status) || trial.compare(segment+segmentPos, segLen - segmentPos) != 0) { in extract()

123