Searched defs:ratio (Results 1 - 25 of 117) sorted by relevance

12345

/external/eigen/bench/btl/data/
H A Dgnuplot_common_settings.hh44 set size ratio 0 1,1 variable
/external/aac/libSBRenc/src/
H A Dresampler.h135 int ratio; /*! downsampling ration */ member in struct:__anon696
146 INT ratio); /*!< downsampler ratio */
150 * to the downsampler ratio.
/external/autotest/frontend/client/src/autotest/common/
H A DAbstractStatusSummary.java30 public boolean matches(double ratio) { argument
31 return ratio * 100 >= minPercent;
47 double ratio = (double) getPassed() / getComplete();
49 if (mapping.matches(ratio))
52 throw new RuntimeException("No color map match for ratio " + ratio);
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/
H A DLMonestep.h26 RealScalar ratio; local
122 /* compute the ratio of the actual to the predicted */
124 ratio = 0.;
126 ratio = actred / prered;
129 if (ratio <= Scalar(.25)) {
139 } else if (!(m_par != 0. && ratio < RealScalar(.75))) {
145 if (ratio >= RealScalar(1e-4)) {
156 if (abs(actred) <= m_ftol && prered <= m_ftol && Scalar(.5) * ratio <= 1. && m_delta <= m_xtol * xnorm)
161 if (abs(actred) <= m_ftol && prered <= m_ftol && Scalar(.5) * ratio <= 1.)
178 if (abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio <
[all...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
H A D2-1.c88 float ratio; local
181 ratio = (float)count / (float)child_count;
183 if (child_count == 0 || ratio >= ACCEPTABLE_RATIO) {
186 } else if (ratio <= (1 / ACCEPTABLE_RATIO)) {
H A D2-2.c89 float ratio; local
185 ratio = (float)count / (float)child_count;
187 if (child_count == 0 || ratio >= ACCEPTABLE_RATIO) {
190 } else if (ratio <= (1 / ACCEPTABLE_RATIO)) {
/external/mesa3d/src/intel/vulkan/
H A DgenX_state.c107 vk_to_gen_max_anisotropy(float ratio) argument
109 return (anv_clamp_f(ratio, 2, 16) - 2) / 2;
/external/skia/debugger/QT/
H A DSkDrawCommandGeometryWidget.cpp52 float ratio = this->width() / pixmap.width(); local
53 resultRect = QRectF(0, 0, this->width(), ratio * pixmap.height());
55 float ratio = this->height() / pixmap.height(); local
56 resultRect = QRectF(0, 0, ratio * pixmap.width(), this->height());
/external/skqp/debugger/QT/
H A DSkDrawCommandGeometryWidget.cpp52 float ratio = this->width() / pixmap.width(); local
53 resultRect = QRectF(0, 0, this->width(), ratio * pixmap.height());
55 float ratio = this->height() / pixmap.height(); local
56 resultRect = QRectF(0, 0, ratio * pixmap.width(), this->height());
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/
H A DPercentageColumn.java93 private String format(double ratio) { argument
95 BigDecimal.valueOf(ratio).setScale(2, RoundingMode.FLOOR));
/external/pdfium/fxbarcode/
H A Dcbc_codabar.cpp46 bool CBC_Codabar::SetWideNarrowRatio(int8_t ratio) { argument
47 return GetOnedCodaBarWriter()->SetWideNarrowRatio(ratio);
H A Dcbc_code39.cpp71 bool CBC_Code39::SetWideNarrowRatio(int8_t ratio) { argument
72 return GetOnedCode39Writer()->SetWideNarrowRatio(ratio);
/external/pdfium/fxbarcode/oned/
H A DBC_OnedCodaBarWriter.cpp85 bool CBC_OnedCodaBarWriter::SetWideNarrowRatio(int8_t ratio) { argument
86 if (ratio < 2 || ratio > 3)
89 m_iWideNarrRatio = ratio;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/
H A DRow.java21 private double ratio; field in class:Row
39 return ratio;
42 public void setRatio(double ratio) { argument
43 this.ratio = ratio;
/external/tensorflow/tensorflow/core/kernels/
H A Drange_sampler_test.cc102 float ratio = sampler_->Probability(i) / sampler_->Probability(i / 2); local
103 EXPECT_NEAR(ratio, 0.5, 0.1);
/external/tensorflow/tensorflow/core/lib/random/
H A Dweighted_picker_test.cc216 const float ratio = float(count[i + 1]) / float(count[i]); local
217 EXPECT_GE(ratio, 1.6f);
218 EXPECT_LE(ratio, 2.4f);
/external/webrtc/webrtc/modules/audio_coding/neteq/
H A Dnormal.cc103 int32_t ratio = WebRtcSpl_DivW32W16(bgn_energy, energy_scaled); local
104 mute_factor = WebRtcSpl_SqrtFloor(ratio << 14);
/external/adhd/cras/src/dsp/
H A Ddrc_kernel.h46 float ratio; member in struct:drc_kernel
47 float slope; /* Inverse ratio. */
54 * "ratio" portion of the curve. The portion between db_threshold and
56 * which transitions smoothly from the linear portion to the ratio
91 float ratio,
/external/libopus/celt/tests/
H A Dtest_unit_mathops.c76 double ratio; local
79 ratio = val/sqrt(i);
80 if (fabs(ratio - 1) > .0005 && fabs(val-sqrt(i)) > 2)
82 fprintf (stderr, "sqrt failed: sqrt(%d)="WORD" (ratio = %f)\n", i, val, ratio);
/external/libxaac/decoder/
H A Dixheaacd_mps_temp_reshape.c150 FLOAT32 gain, ratio; local
185 ratio = min(max((gain + amp_ratio * (gain - 1)), 1 / LAMDA), LAMDA);
188 self->hyb_dir_out[ch][time_slot][jj].re *= ratio;
189 self->hyb_dir_out[ch][time_slot][jj].im *= ratio;
/external/ltp/testcases/kernel/fs/mongo/
H A Dmongo_compare.c51 float n1, n2, ratio; local
184 ratio = n1 / n2;
186 name_str1, n1, n2, ratio);
190 name_str1, n1, n2, ratio);
/external/nos/test/system-test-harness/src/
H A Druntests.cc319 double ratio = (double) counts.size() / (repeats * request_size); local
322 kl_divergence += count * log2(count * ratio);
324 kl_divergence *= ratio;
/external/pdfium/xfa/fxfa/
H A Dcxfa_ffbarcode.cpp214 Optional<int8_t> ratio = node->GetBarcodeAttribute_WideNarrowRatio(); local
215 if (ratio)
216 pBarCodeWidget->SetWideNarrowRatio(*ratio);
/external/skia/tests/
H A DPointTest.cpp153 SkScalar ratio = slow.length() / fast.length(); local
154 REPORTER_ASSERT(reporter, ratio > 0.999f);
155 REPORTER_ASSERT(reporter, ratio < 1.001f);
/external/skqp/tests/
H A DPointTest.cpp153 SkScalar ratio = slow.length() / fast.length(); local
154 REPORTER_ASSERT(reporter, ratio > 0.999f);
155 REPORTER_ASSERT(reporter, ratio < 1.001f);

Completed in 862 milliseconds

12345