Home
last modified time | relevance | path

Searched refs:trials (Results 1 – 25 of 201) sorted by relevance

123456789

/external/python/cpython3/Tools/scripts/
Dvar_access_benchmark.py10 trials = [None] * 500 variable
26 def read_local(trials=trials): argument
28 for t in trials:
37 def inner(trials=trials): argument
38 for t in trials:
50 def read_global(trials=trials): argument
51 for t in trials:
58 def read_builtin(trials=trials): argument
59 for t in trials:
66 def read_classvar_from_class(trials=trials, A=A): argument
[all …]
/external/webrtc/video/config/
Dsimulcast_unittest.cc83 const FieldTrialBasedConfig trials; in TEST() local
89 !kScreenshare, true, trials); in TEST()
117 FieldTrialBasedConfig trials; in TEST() local
125 !kScreenshare, true, trials); in TEST()
142 FieldTrialBasedConfig trials; in TEST() local
145 !kScreenshare, true, trials); in TEST()
157 FieldTrialBasedConfig trials; in TEST() local
162 true, trials); in TEST()
174 FieldTrialBasedConfig trials; in TEST() local
179 true, trials); in TEST()
[all …]
Dsimulcast.cc112 bool EnableLowresBitrateInterpolation(const webrtc::FieldTrialsView& trials) { in EnableLowresBitrateInterpolation() argument
114 trials.Lookup("WebRTC-LowresSimulcastBitrateInterpolation"), "Enabled"); in EnableLowresBitrateInterpolation()
134 int DefaultNumberOfTemporalLayers(const webrtc::FieldTrialsView& trials) { in DefaultNumberOfTemporalLayers() argument
136 trials.Lookup("WebRTC-VP8ConferenceTemporalLayers"); in DefaultNumberOfTemporalLayers()
283 const webrtc::FieldTrialsView& trials) { in LimitSimulcastLayerCount() argument
284 if (!absl::StartsWith(trials.Lookup(kUseLegacySimulcastLayerLimitFieldTrial), in LimitSimulcastLayerCount()
292 trials.Lookup("WebRTC-SimulcastLayerLimitRoundUp")); in LimitSimulcastLayerCount()
295 EnableLowresBitrateInterpolation(trials); in LimitSimulcastLayerCount()
319 const webrtc::FieldTrialsView& trials) { in GetSimulcastConfig() argument
324 webrtc::RateControlSettings::ParseFromKeyValueConfig(&trials) in GetSimulcastConfig()
[all …]
Dsimulcast.h46 const webrtc::FieldTrialsView& trials);
57 const webrtc::FieldTrialsView& trials);
68 const webrtc::FieldTrialsView& trials);
/external/webrtc/media/engine/
Dwebrtc_media_engine_unittest.cc131 webrtc::test::ScopedKeyValueConfig trials; in TEST() local
133 FilterRtpExtensions(extensions, SupportedExtensions1, true, trials); in TEST()
139 webrtc::test::ScopedKeyValueConfig trials; in TEST() local
141 FilterRtpExtensions(extensions, SupportedExtensions1, false, trials); in TEST()
149 webrtc::test::ScopedKeyValueConfig trials; in TEST() local
151 FilterRtpExtensions(extensions, SupportedExtensions2, false, trials); in TEST()
158 webrtc::test::ScopedKeyValueConfig trials; in TEST() local
160 FilterRtpExtensions(extensions, SupportedExtensions2, true, trials); in TEST()
167 webrtc::test::ScopedKeyValueConfig trials; in TEST() local
169 FilterRtpExtensions(extensions, SupportedExtensions2, false, trials); in TEST()
[all …]
Dwebrtc_media_engine.cc40 dependencies.trials ? nullptr : new webrtc::FieldTrialBasedConfig()); in CreateMediaEngine()
41 const webrtc::FieldTrialsView& trials = in CreateMediaEngine() local
42 dependencies.trials ? *dependencies.trials : *fallback_trials; in CreateMediaEngine()
49 dependencies.audio_frame_processor, trials); in CreateMediaEngine()
53 std::move(dependencies.video_decoder_factory), trials); in CreateMediaEngine()
146 const webrtc::FieldTrialsView& trials) { in FilterRtpExtensions() argument
181 if (absl::StartsWith(trials.Lookup("WebRTC-FilterAbsSendTimeExtension"), in FilterRtpExtensions()
/external/cronet/base/allocator/
Dpartition_alloc_support_unittest.cc58 auto trials = ProposeSyntheticFinchTrials(); in TEST() local
59 auto group_iter = trials.find("BackupRefPtr_Effective"); in TEST()
60 EXPECT_NE(group_iter, trials.end()); in TEST()
62 group_iter = trials.find("PCScan_Effective"); in TEST()
63 EXPECT_NE(group_iter, trials.end()); in TEST()
65 group_iter = trials.find("PCScan_Effective_Fallback"); in TEST()
66 EXPECT_NE(group_iter, trials.end()); in TEST()
104 auto trials = ProposeSyntheticFinchTrials(); in TEST() local
105 auto group_iter = trials.find("BackupRefPtr_Effective"); in TEST()
106 EXPECT_NE(group_iter, trials.end()); in TEST()
[all …]
/external/fec/
Drs_speedtest.c15 int trials = 10000; in main() local
24 for(i=0;i<trials;i++){ in main()
34 …printf("Execution time for %d Reed-Solomon blocks using general decoder: %.2f sec\n",trials,extime… in main()
35 printf("decoder speed: %g bits/s\n",trials*223*8/extime); in main()
40 for(i=0;i<trials;i++){ in main()
49 printf("Execution time for %d Reed-Solomon blocks using CCSDS decoder: %.2f sec\n",trials,extime); in main()
50 printf("decoder speed: %g bits/s\n",trials*223*8/extime); in main()
Dvtest29.c40 int sr=0,trials = 10000,errcnt,framebits=2048; local
82 trials = atoi(optarg);
111 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain);
113 for(tr=0;tr<trials;tr++){
154 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain);
157 tot_errs,(long long)framebits*trials,tot_errs/((double)framebits*trials),
166 for(tr=0;tr < trials;tr++){
178 printf("Execution time for %d %d-bit frames: %.2f sec\n",trials,
180 printf("decoder speed: %g bits/s\n",trials*framebits/extime);
Dvtest27.c40 int sr=0,trials = 10000,errcnt,framebits=2048; local
82 trials = atoi(optarg);
111 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain);
113 for(tr=0;tr<trials;tr++){
154 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain);
157 tot_errs,(long long)framebits*trials,tot_errs/((double)framebits*trials),
167 for(tr=0;tr < trials;tr++){
179 printf("Execution time for %d %d-bit frames: %.2f sec\n",trials,
181 printf("decoder speed: %g bits/s\n",trials*framebits/extime);
Dvtest39.c40 int sr=0,trials = 10000,errcnt,framebits=2048; local
82 trials = atoi(optarg);
111 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain);
113 for(tr=0;tr<trials;tr++){
155 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain);
158 tot_errs,(long long)framebits*trials,tot_errs/((double)framebits*trials),
167 for(tr=0;tr < trials;tr++){
179 printf("Execution time for %d %d-bit frames: %.2f sec\n",trials,
181 printf("decoder speed: %g bits/s\n",trials*framebits/extime);
Dvtest615.c42 int sr=0,trials = 10,errcnt,framebits=2048; local
84 trials = atoi(optarg);
113 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain);
115 for(tr=0;tr<trials;tr++){
162 printf("nframes = %d framesize = %d ebn0 = %.2f dB gain = %g\n",trials,framebits,ebn0,Gain);
174 for(tr=0;tr < trials;tr++){
186 printf("Execution time for %d %d-bit frames: %.2f sec\n",trials,
188 printf("decoder speed: %g bits/s\n",trials*framebits/extime);
Dsumsq_test.c29 int i,d,trial,trials=10000; local
64 trials = atoi(optarg);
77 for(trial=0;trial<trials;trial++){
81 for(trial=0;trial<trials;trial++){
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DBinomialDistributionImpl.java51 public BinomialDistributionImpl(int trials, double p) { in BinomialDistributionImpl() argument
53 setNumberOfTrialsInternal(trials); in BinomialDistributionImpl()
84 public void setNumberOfTrials(int trials) { in setNumberOfTrials() argument
85 setNumberOfTrialsInternal(trials); in setNumberOfTrials()
95 private void setNumberOfTrialsInternal(int trials) { in setNumberOfTrialsInternal() argument
96 if (trials < 0) { in setNumberOfTrialsInternal()
98 LocalizedFormats.NEGATIVE_NUMBER_OF_TRIALS, trials); in setNumberOfTrialsInternal()
100 numberOfTrials = trials; in setNumberOfTrialsInternal()
/external/webrtc/system_wrappers/source/
Dfield_trial.cc50 bool FieldTrialsStringIsValidInternal(const absl::string_view trials) { in FieldTrialsStringIsValidInternal() argument
51 if (trials.empty()) in FieldTrialsStringIsValidInternal()
56 while (next_item < trials.length()) { in FieldTrialsStringIsValidInternal()
57 size_t name_end = trials.find(kPersistentStringSeparator, next_item); in FieldTrialsStringIsValidInternal()
58 if (name_end == trials.npos || next_item == name_end) in FieldTrialsStringIsValidInternal()
61 trials.find(kPersistentStringSeparator, name_end + 1); in FieldTrialsStringIsValidInternal()
62 if (group_name_end == trials.npos || name_end + 1 == group_name_end) in FieldTrialsStringIsValidInternal()
64 absl::string_view name = trials.substr(next_item, name_end - next_item); in FieldTrialsStringIsValidInternal()
66 trials.substr(name_end + 1, group_name_end - name_end - 1); in FieldTrialsStringIsValidInternal()
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DInMemoryResultsUploader.java35 static ImmutableList<Trial> trials() { in trials() method in InMemoryResultsUploader
36 return ImmutableList.copyOf(trials); in trials()
39 private static List<Trial> trials; field in InMemoryResultsUploader
43 trials = Lists.newArrayList(); in InMemoryResultsUploader()
53 trials.add(trial); in processTrial()
/external/webrtc/modules/pacing/
Dtask_queue_paced_sender_unittest.cc217 ScopedKeyValueConfig trials(GetParam()); in TEST_P() local
218 TaskQueuePacedSender pacer(time_controller.GetClock(), &packet_router, trials, in TEST_P()
260 ScopedKeyValueConfig trials(GetParam()); in TEST_P() local
261 TaskQueuePacedSender pacer(time_controller.GetClock(), &packet_router, trials, in TEST_P()
306 ScopedKeyValueConfig trials(GetParam()); in TEST_P() local
307 TaskQueuePacedSender pacer(time_controller.GetClock(), &packet_router, trials, in TEST_P()
360 ScopedKeyValueConfig trials(GetParam()); in TEST_P() local
361 TaskQueuePacedSender pacer(time_controller.GetClock(), &packet_router, trials, in TEST_P()
393 ScopedKeyValueConfig trials(GetParam()); in TEST_P() local
394 TaskQueuePacedSender pacer(time_controller.GetClock(), &packet_router, trials, in TEST_P()
[all …]
/external/webrtc/call/
Dcall_factory.cc36 const FieldTrialsView& trials, in GetNetworkConfigs() argument
75 trials.Lookup(send ? "WebRTC-FakeNetworkSendConfig" in GetNetworkConfigs()
88 RTC_DCHECK(config.trials); in CreateCall()
91 GetNetworkConfigs(*config.trials, /*send=*/true); in CreateCall()
94 GetNetworkConfigs(*config.trials, /*send=*/false); in CreateCall()
/external/webrtc/pc/
Dpeer_connection_factory.cc215 const FieldTrialsView* trials = in CreatePeerConnectionOrError() local
216 dependencies.trials ? dependencies.trials.get() : &field_trials(); in CreatePeerConnectionOrError()
219 configuration.turn_customizer, /*relay_port_factory=*/nullptr, trials); in CreatePeerConnectionOrError()
243 const FieldTrialsView* trials = in CreatePeerConnectionOrError() local
244 dependencies.trials ? dependencies.trials.get() : &field_trials(); in CreatePeerConnectionOrError()
246 worker_thread()->BlockingCall([this, &event_log, trials, &configuration] { in CreatePeerConnectionOrError()
247 return CreateCall_w(event_log.get(), *trials, configuration); in CreatePeerConnectionOrError()
346 call_config.trials = &field_trials; in CreateCall_w()
/external/tensorflow/tensorflow/core/lib/random/
Dweighted_picker_test.cc32 static void CheckUniform(SimplePhilox* rnd, WeightedPicker* picker, int trials);
33 static void CheckSkewed(SimplePhilox* rnd, WeightedPicker* picker, int trials);
184 int trials) { in CheckUniform() argument
188 for (int i = 0; i < size * trials; i++) { in CheckUniform()
194 const int expected_min = int(0.9 * trials); in CheckUniform()
195 const int expected_max = int(1.1 * trials); in CheckUniform()
203 static void CheckSkewed(SimplePhilox* rnd, WeightedPicker* picker, int trials) { in CheckSkewed() argument
207 for (int i = 0; i < size * trials; i++) { in CheckSkewed()
/external/webrtc/g3doc/
Dfield-trials.md1 # Field trials
7 colloquially known as *field trials*. This is foremost used for A/B testing new
9 [Chromium field trials](https://chromium.googlesource.com/chromium/src/+/main/testing/variations/RE…
23 The set of field trials can be instantiated from a single string with the format
26 trials this way, for example:
34 The policy for field trials is:
/external/caliper/caliper/src/main/java/com/google/caliper/options/
DParsedOptions.java125 private int trials = 1; field in ParsedOptions
128 private void setTrials(int trials) throws InvalidCommandException { in setTrials() argument
130 if (trials < 1) { in setTrials()
131 throw new InvalidCommandException("trials must be at least 1: " + trials); in setTrials()
133 this.trials = trials; in setTrials()
137 return trials; in trialsPerScenario()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/
Dbernoulli_distribution_test.cc64 size_t trials = para.second; in TEST_P() local
74 for (size_t i = 0; i < trials; ++i) { in TEST_P()
81 const double stddev_p = std::sqrt((p * (1.0 - p)) / trials); in TEST_P()
82 const double expected = trials * p; in TEST_P()
83 const double stddev = trials * stddev_p; in TEST_P()
/external/cronet/third_party/abseil-cpp/absl/random/
Dbernoulli_distribution_test.cc64 size_t trials = para.second; in TEST_P() local
74 for (size_t i = 0; i < trials; ++i) { in TEST_P()
81 const double stddev_p = std::sqrt((p * (1.0 - p)) / trials); in TEST_P()
82 const double expected = trials * p; in TEST_P()
83 const double stddev = trials * stddev_p; in TEST_P()
/external/abseil-cpp/absl/random/
Dbernoulli_distribution_test.cc64 size_t trials = para.second; in TEST_P() local
74 for (size_t i = 0; i < trials; ++i) { in TEST_P()
81 const double stddev_p = std::sqrt((p * (1.0 - p)) / trials); in TEST_P()
82 const double expected = trials * p; in TEST_P()
83 const double stddev = trials * stddev_p; in TEST_P()

123456789