Home
last modified time | relevance | path

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

12

/external/chromium/base/metrics/
Dfield_trial_unittest.cc104 scoped_refptr<FieldTrial> trial; in TEST_F() local
108 trial = new FieldTrial(name, 10, winner, next_year_, 12, 31); in TEST_F()
109 trial->AppendGroup(loser, 5); // 50% chance of not being chosen. in TEST_F()
111 } while (trial->group_ != FieldTrial::kNotFinalized); in TEST_F()
114 EXPECT_EQ(FieldTrial::kDefaultGroupNumber, trial->group()); in TEST_F()
117 EXPECT_EQ(winner, trial->group_name()); in TEST_F()
132 scoped_refptr<FieldTrial> trial( in TEST_F() local
134 trial->AppendGroup("first", 1); // 50% chance of being chosen. in TEST_F()
136 if (trial->group_ != FieldTrial::kNotFinalized) { in TEST_F()
140 trial->AppendGroup("second", 1); // Always chosen at this point. in TEST_F()
[all …]
Dfield_trial.cc157 void FieldTrialList::Register(FieldTrial* trial) { in Register() argument
163 DCHECK(!global_->PreLockedFind(trial->name())); in Register()
164 trial->AddRef(); in Register()
165 global_->registered_[trial->name()] = trial; in Register()
Dfield_trial.h228 static void Register(FieldTrial* trial);
/external/icu4c/layout/
DLookupTables.cpp34 const LookupSegment *trial = (const LookupSegment *) ((char *) entry + extra); in lookupSegment() local
36 if (SWAPW(trial->lastGlyph) <= ttGlyph) { in lookupSegment()
37 entry = trial; in lookupSegment()
42 trial = (const LookupSegment *) ((char *) entry + probe); in lookupSegment()
44 if (SWAPW(trial->lastGlyph) <= ttGlyph) { in lookupSegment()
45 entry = trial; in lookupSegment()
63 const LookupSingle *trial = (const LookupSingle *) ((char *) entry + extra); in lookupSingle() local
65 if (SWAPW(trial->glyph) <= ttGlyph) { in lookupSingle()
66 entry = trial; in lookupSingle()
71 trial = (const LookupSingle *) ((char *) entry + probe); in lookupSingle()
[all …]
DPairPositioningSubtables.cpp148 const PairValueRecord *trial = (const PairValueRecord *) ((char *) record + extra); in findPairValueRecord()
150 if (SWAPW(trial->secondGlyph) <= glyphID) { in findPairValueRecord()
151 record = trial; in findPairValueRecord()
156 trial = (const PairValueRecord *) ((char *) record + probe); in findPairValueRecord()
158 if (SWAPW(trial->secondGlyph) <= glyphID) { in findPairValueRecord()
159 record = trial; in findPairValueRecord()
/external/chromium/chrome/browser/prerender/
Dprerender_field_trial.cc65 scoped_refptr<base::FieldTrial> trial( in ConfigurePrefetchAndPrerender() local
69 const int kNoPrefetchGroup = trial->kDefaultGroupNumber; in ConfigurePrefetchAndPrerender()
71 trial->AppendGroup("ContentPrefetchEnabled", kYesPrefetchProbability); in ConfigurePrefetchAndPrerender()
73 trial->AppendGroup("ContentPrefetchPrerender1", in ConfigurePrefetchAndPrerender()
76 trial->AppendGroup("ContentPrefetchPrerenderControl1", in ConfigurePrefetchAndPrerender()
79 trial->AppendGroup("ContentPrefetchPrerender2", in ConfigurePrefetchAndPrerender()
82 trial->AppendGroup("ContentPrefetchPrerenderControl2", in ConfigurePrefetchAndPrerender()
84 const int trial_group = trial->group(); in ConfigurePrefetchAndPrerender()
/external/chromium/chrome/browser/
Dio_thread.cc95 scoped_refptr<base::FieldTrial> trial( in CreateGlobalHostResolver() local
101 int parallel_6 = trial->AppendGroup("parallel_6", kProbabilityPerGroup); in CreateGlobalHostResolver()
102 int parallel_7 = trial->AppendGroup("parallel_7", kProbabilityPerGroup); in CreateGlobalHostResolver()
103 int parallel_8 = trial->AppendGroup("parallel_8", kProbabilityPerGroup); in CreateGlobalHostResolver()
104 int parallel_9 = trial->AppendGroup("parallel_9", kProbabilityPerGroup); in CreateGlobalHostResolver()
105 int parallel_10 = trial->AppendGroup("parallel_10", kProbabilityPerGroup); in CreateGlobalHostResolver()
106 int parallel_14 = trial->AppendGroup("parallel_14", kProbabilityPerGroup); in CreateGlobalHostResolver()
107 int parallel_20 = trial->AppendGroup("parallel_20", kProbabilityPerGroup); in CreateGlobalHostResolver()
109 if (trial->group() == parallel_6) in CreateGlobalHostResolver()
111 else if (trial->group() == parallel_7) in CreateGlobalHostResolver()
[all …]
Dbrowser_main.cc405 scoped_refptr<base::FieldTrial> trial( in SpdyFieldTrial() local
410 int npn_spdy_grp = trial->kDefaultGroupNumber; in SpdyFieldTrial()
413 int npn_http_grp = trial->AppendGroup("npn_with_http", npnhttp_probability); in SpdyFieldTrial()
415 int trial_grp = trial->group(); in SpdyFieldTrial()
440 scoped_refptr<base::FieldTrial> trial( in SpdyFieldTrial() local
444 trial->AppendGroup("cwnd10", kSpdyCwnd10); in SpdyFieldTrial()
445 trial->AppendGroup("cwnd16", kSpdyCwnd16); in SpdyFieldTrial()
446 trial->AppendGroup("cwndMin16", kSpdyCwndMin16); in SpdyFieldTrial()
447 trial->AppendGroup("cwndMin10", kSpdyCwndMin10); in SpdyFieldTrial()
469 scoped_refptr<base::FieldTrial> trial( in SSLFalseStartFieldTrial() local
[all …]
/external/chromium/chrome/browser/net/websocket_experiment/
Dwebsocket_experiment_runner.cc32 scoped_refptr<base::FieldTrial> trial( in Start() local
35 int active = trial->AppendGroup("active", 5); // 0.5% in active group. in Start()
37 bool run_experiment = (trial->group() == active); in Start()
/external/icu4c/common/
Dcaniter.cpp565 UnicodeString trial; in extract() local
566 nfd.normalize(temp, trial, status); in extract()
567 if(U_FAILURE(status) || trial.compare(segment+segmentPos, segLen - segmentPos) != 0) { in extract()
Duniset.cpp661 const UnicodeString& trial = *(const UnicodeString*)strings->elementAt(i); in matches() local
668 UChar c = trial.charAt(forward ? 0 : trial.length() - 1); in matches()
675 int32_t matchLen = matchRest(text, offset, limit, trial); in matches()
685 if (matchLen == trial.length()) { in matches()
/external/chromium/net/spdy/
Dspdy_session.cc1447 base::FieldTrial* trial = base::FieldTrialList::Find("SpdyCwnd"); in ApplyCwndFieldTrialPolicy() local
1448 if (!trial) { in ApplyCwndFieldTrialPolicy()
1452 if (trial->group_name() == "cwnd10") in ApplyCwndFieldTrialPolicy()
1454 else if (trial->group_name() == "cwnd16") in ApplyCwndFieldTrialPolicy()
1456 else if (trial->group_name() == "cwndMin16") in ApplyCwndFieldTrialPolicy()
1458 else if (trial->group_name() == "cwndMin10") in ApplyCwndFieldTrialPolicy()
1460 else if (trial->group_name() == "cwndDynamic") in ApplyCwndFieldTrialPolicy()
/external/aac/libAACdec/src/
Daacdec_hcrs.cpp127 UINT trial; in DecodeNonPCWs() local
215 for ( trial = *pNumSegment; trial > 0; trial-- ) { in DecodeNonPCWs()
/external/littlemock/src/com/google/testing/littlemock/
DLittleMock.java158 for (MethodCall trial : calls) {
159 if (mLastCall == null || mLastCall.mInvocationOrder < trial.mInvocationOrder) {
160 mLastCall = trial;
163 lastTrial = trial;
/external/icu4c/i18n/
Ddtptngen.cpp972 DateTimeMatcher trial = it.next(); in getBestRaw() local
973 if (trial.equals(skipMatcher)) { in getBestRaw()
976 int32_t distance=source.getDistance(trial, includeMask, tempInfo); in getBestRaw()
979 … bestPattern=patternMap->getPatternFromSkeleton(*trial.getSkeletonPtr(), &specifiedSkeleton); in getBestRaw()
1225 UnicodeString trial = getBestPattern(current.getPattern(), status); in getRedundants() local
1226 if (trial == *pattern) { in getRedundants()
/external/clang/tools/c-index-test/
Dc-index-test.c1270 int trial; in perform_test_reparse_source() local
1304 for (trial = 0; trial < trials; ++trial) { in perform_test_reparse_source()
1306 trial >= remap_after_trial ? num_unsaved_files : 0, in perform_test_reparse_source()
1307 trial >= remap_after_trial ? unsaved_files : 0, in perform_test_reparse_source()
/external/junit/
DNOTICE88 …r after the cause of action arose. Each party waives its rights to a jury trial in any resulting l…
/external/emma/
DNOTICE132 …r after the cause of action arose. Each party waives its rights to a jury trial in any resulting l…
/external/eclipse-windowbuilder/propertysheet/
DNOTICE223 to a jury trial in any resulting litigation.
/external/libmtp/
DREADME178 * The trial version of HHD Softwares software-only
180 the newer trial versions won't let you carry out the
/external/bzip2/
Dbzip2.txt134 decompress them. This really performs a trial
Dbzip2.1.preformatted137 decompress them. This really performs a trial
/external/guava/guava-tests/test/com/google/common/io/testdata/
Dalice_in_wonderland.txt634 trial: For
642 a trial,
3006 just begun to repeat it, when a cry of `The trial's beginning!'
3012 `What trial is it?' Alice panted as she ran; but the Gryphon
3035 quite hungry to look at them--`I wish they'd get the trial done,'
3061 can't have anything to put down yet, before the trial's begun.'
3065 trial.'
3077 before the trial's over!' thought Alice.
3320 `The trial cannot proceed,' said the King in a very grave
3330 would be QUITE as much use in the trial one way up as the other.'
/external/dropbear/libtommath/
Dbn.tex1633 You should always still perform a trial division before a Miller-Rabin test though.
1640 This will perform a trial division followed by $t$ rounds of Miller-Rabin tests on $a$ and store th…
/external/dropbear/libtomcrypt/
Dchanges1345 does trial divisions against more primes before the Rabin Miller steps

12