Searched refs:trial (Results 1 - 25 of 44) sorted by relevance

12

/external/caliper/caliper/src/main/java/com/google/caliper/runner/
H A DTrialResult.java24 private final Trial trial; field in class:TrialResult
28 TrialResult(Trial trial, Experiment experiment, ImmutableList<String> trialMessages) { argument
29 this.trial = trial;
39 return trial;
H A DResultsUploader.java94 @Override public final void processTrial(Trial trial) { argument
103 resource.type(APPLICATION_JSON_TYPE).post(gson.toJson(ImmutableList.of(trial)));
105 runId = Optional.of(trial.run().id());
108 logUploadFailure(trial, e);
110 logUploadFailure(trial, e);
118 private static void logUploadFailure(Trial trial, Exception e) { argument
120 "Could not upload trial %s. Consider uploading it manually.", trial.id()), e);
H A DConsoleOutput.java68 * Prints a short message when we observe a trial failure.
72 // TODO(lukes): it would be nice to print which trial failed. Consider adding Experiment data
81 * Prints a summary of a successful trial result.
94 Trial trial = result.getTrial();
98 .putAll(Multimaps.index(trial.measurements(), new Function<Measurement, String>() {
131 instrumentSpecs.add(trial.instrumentSpec());
132 Scenario scenario = trial.scenario();
135 numMeasurements += trial.measurements().size();
H A DOutputFileDumper.java96 @Override public void processTrial(Trial trial) { argument
107 "An error occured writing trial %s. Results in %s will be incomplete.", trial.id(),
112 gson.toJson(trial, Trial.class, writer.get());
/external/fec/
H A 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/libchrome/base/metrics/
H A Dfield_trial_unittest.cc53 void OnFieldTrialGroupFinalized(const std::string& trial,
55 trial_name_ = trial;
147 scoped_refptr<FieldTrial> trial; local
151 std::string name = StringPrintf("trial%d", ++counter);
152 trial = CreateFieldTrial(name, 10, winner, &default_group_number);
153 trial->AppendGroup(loser, 5); // 50% chance of not being chosen.
155 } while (trial->group_ != FieldTrial::kNotFinalized);
158 EXPECT_EQ(default_group_number, trial->group());
161 EXPECT_EQ(winner, trial->group_name());
176 scoped_refptr<FieldTrial> trial local
201 scoped_refptr<FieldTrial> trial = local
225 scoped_refptr<FieldTrial> trial = local
257 FieldTrial* trial = FieldTrialList::FactoryGetFieldTrial( local
272 scoped_refptr<FieldTrial> trial = local
333 scoped_refptr<FieldTrial> trial = local
365 scoped_refptr<FieldTrial> trial = local
400 scoped_refptr<FieldTrial> trial = local
420 scoped_refptr<FieldTrial> trial = local
462 scoped_refptr<FieldTrial> trial = local
509 FieldTrial* trial = FieldTrialList::Find("Some_name"); local
510 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local
515 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local
524 FieldTrial* trial = FieldTrialList::Find("tname"); local
525 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local
544 scoped_refptr<FieldTrial> trial = local
648 FieldTrial* trial = FieldTrialList::Find("Foo"); local
649 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local
654 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local
664 FieldTrial* trial = FieldTrialList::Find("Some_name"); local
665 ASSERT_NE(static_cast<FieldTrial*>(NULL), trial); local
682 scoped_refptr<FieldTrial> trial = local
697 scoped_refptr<FieldTrial> trial = local
705 scoped_refptr<FieldTrial> trial = local
792 scoped_refptr<FieldTrial> trial = local
806 scoped_refptr<FieldTrial> trial = local
921 scoped_refptr<FieldTrial> trial = local
940 scoped_refptr<FieldTrial> trial = local
964 scoped_refptr<FieldTrial> trial = local
988 scoped_refptr<FieldTrial> trial = local
1010 scoped_refptr<FieldTrial> trial = local
1094 scoped_refptr<FieldTrial> trial = local
[all...]
H A Dfield_trial.cc26 // Define a marker character to be used as a prefix to a trial name on the
96 // Verify if the trial should be activated or not.
141 // the trial to the default group.
159 // forced trial, it will not have the same value as the default group
266 DVLOG(1) << "Field trial: " << trial_name_ << " Group choice:" << group_name_;
365 // Check if the field trial has already been created in some other way.
369 // If the default group name differs between the existing forced trial
370 // and this trial, then use a different value for the default group number.
374 // chosen for the forced trial (which has been finalized when it was
477 FieldTrial::State trial; local
546 FieldTrial* trial = CreateFieldTrial(trial_name, group_name); local
646 Register(FieldTrial* trial) argument
[all...]
/external/caliper/caliper/src/main/java/com/google/caliper/api/
H A DResultProcessor.java30 void processTrial(Trial trial); argument
/external/openssh/regress/
H A 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
227 trial() { function
[all...]
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
H A DInMemoryResultsUploader.java51 @Override public void processTrial(Trial trial) { argument
53 trials.add(trial);
H A DResultProcessorCreatorTest.java56 public void processTrial(Trial trial) { argument
85 public void processTrial(Trial trial) { argument
103 public void processTrial(Trial trial) { argument
H A DAllocationInstrumentTest.java73 Trial trial = Iterables.getOnlyElement(runner.trials());
75 Measurement.indexByDescription(trial.measurements());
/external/autotest/client/cros/chameleon/
H A Dchameleon_bluetooth_audio.py17 # When device is busy, a trial may take more than 15 seconds.
125 @param timeout: Timeout in seconds to pair bluetooth module in a trial.
133 for trial in xrange(retries):
138 elif trial == retries - 1:
/external/libchrome/base/
H A Dfeature_list_unittest.cc163 // Initially, neither trial should be active.
195 // Initially, neither trial should be active.
222 FieldTrial* trial = FieldTrialList::CreateFieldTrial("TrialExample2", "A"); local
224 kFeatureOffByDefaultName, FeatureList::OVERRIDE_DISABLE_FEATURE, trial);
227 EXPECT_FALSE(FieldTrialList::IsTrialActive(trial->trial_name()));
231 // field trial, the field trial should not be activated (since the Associate*
233 EXPECT_FALSE(FieldTrialList::IsTrialActive(trial->trial_name()));
261 // Register a field trial to associate with the feature and ensure that the
271 // Now, register a field trial t
361 FieldTrial* trial = FieldTrialList::CreateFieldTrial("Trial", "Group"); local
382 FieldTrial* trial = FieldTrialList::CreateFieldTrial("Trial", "Group"); local
399 FieldTrial* trial = FieldTrialList::CreateFieldTrial("Trial", "Group"); local
[all...]
H A Dfeature_list.cc30 // field trial names, as they are used as special characters for command-line
73 // Only one associated field trial is supported per feature. This is generally
78 << " already has trial: " << entry->field_trial->trial_name()
79 << ", associating trial: " << field_trial->trial_name();
93 << " has conflicting field trial overrides: "
220 // Activate the corresponding field trial, if necessary.
253 base::FieldTrial* trial = nullptr; local
256 // this splits off the field trial name and associates it with the override.
260 trial = base::FieldTrialList::Find(value.substr(pos + 1));
263 RegisterOverride(feature_name, overridden_state, trial);
[all...]
/external/icu/icu4c/source/test/perf/howExpensiveIs/
H A DhowExpensiveIs.cpp182 fprintf(stderr, "trial: %d/%d = %.9fs\n", i, ITERATIONS,times[i]);
308 double trial = unum_parseDouble(fFmt,fStr,fLen, NULL, &setupStatus); local
309 if(U_SUCCESS(setupStatus) && trial!=fExpect) {
312 fFile,fLine,getName(),trial,fExpect);
317 double trial=0.0; local
320 trial = unum_parse(fFmt,fStr,fLen, NULL, &setupStatus);
437 int32_t trial = unum_formatDouble(fFmt,fExpect, buf, 100, NULL, &setupStatus); local
439 || trial!=fLen
440 ||trial<=0
441 || u_strncmp(fStr,buf,trial) ) {
451 int32_t trial; local
561 int32_t trial = unum_formatInt64(fFmt,fExpect, buf, 100, NULL, &setupStatus); local
575 int32_t trial; local
668 int32_t trial; local
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
H A DDfpMath.java177 int trial = 1;
181 prevtrial = trial;
182 trial = trial * 2;
183 if (trial > a) {
189 trial = prevtrial;
191 a -= trial;
231 int trial = 1;
236 prevtrial = trial;
238 trial
[all...]
/external/guava/guava-tests/test/com/google/common/base/
H A DUtf8Test.java67 for (int trial = 0; trial < 100; trial++) {
/external/webp/src/enc/
H A Dalpha_enc.c249 FilterTrial trial; local
252 &trial);
253 if (ok && trial.score < best.score) {
255 best = trial;
257 VP8BitWriterWipeOut(&trial.bw);
/external/ltp/testcases/kernel/security/tomoyo/
H A Dtomoyo_new_test.c618 int trial; local
619 for (trial = 0; trial < 2; trial++) {
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
H A DRoundTripTest.java239 String trial = Normalizer.compose(sample, false);
240 if (trial.length() == 2) {
241 resultToAddTo.add(trial);
252 String trial = Normalizer.compose(sample, false);
253 if (trial.length() == 2) {
254 resultToAddTo.add(trial);
260 String trial = Normalizer.compose(sample, false);
261 if (trial.length() == 2) {
262 resultToAddTo.add(trial);
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
H A DRoundTripTest.java238 String trial = Normalizer.compose(sample, false);
239 if (trial.length() == 2) {
240 resultToAddTo.add(trial);
251 String trial = Normalizer.compose(sample, false);
252 if (trial.length() == 2) {
253 resultToAddTo.add(trial);
259 String trial = Normalizer.compose(sample, false);
260 if (trial.length() == 2) {
261 resultToAddTo.add(trial);
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DRateLimiterTest.java398 for (int trial = 0; trial < 100; trial++) {
/external/icu/icu4c/source/common/
H A Dcaniter.cpp575 UnicodeString trial; local
576 nfd.normalize(temp, trial, status);
577 if(U_FAILURE(status) || trial.compare(segment+segmentPos, segLen - segmentPos) != 0) {
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
H A DTransliterationChart.java126 String trial = (String)sit.next();
127 if (!sets[i].containsAll(trial)) continue;
128 item = trial;

Completed in 1179 milliseconds

12