Home
last modified time | relevance | path

Searched refs:cdf (Results 1 – 25 of 27) sorted by relevance

12

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DCompactDecimalFormatTest.java370 CompactDecimalFormat cdf = in TestDefaultSignificantDigits() local
372 assertEquals("Default significant digits", "123K", cdf.format(123456)); in TestDefaultSignificantDigits()
373 assertEquals("Default significant digits", "12K", cdf.format(12345)); in TestDefaultSignificantDigits()
374 assertEquals("Default significant digits", "1.2K", cdf.format(1234)); in TestDefaultSignificantDigits()
375 assertEquals("Default significant digits", "123", cdf.format(123)); in TestDefaultSignificantDigits()
380 CompactDecimalFormat cdf = in TestCharacterIterator() local
382 AttributedCharacterIterator iter = cdf.formatToCharacterIterator(1234567); in TestCharacterIterator()
384 iter = cdf.formatToCharacterIterator(1234567); in TestCharacterIterator()
398 NumberFormat cdf = in TestArabicLongStyle() local
400 … assertEquals("Arabic Long", "\u061C-\u0665\u066B\u0663 \u0623\u0644\u0641", cdf.format(-5300)); in TestArabicLongStyle()
[all …]
DDateFormatTest.java3480 ChineseDateFormat cdf = new ChineseDateFormat("y'x'G-Ml-d", ULocale.US); in TestFormatToCharacterIterator() local
3481 acit = cdf.formatToCharacterIterator(nonLeapMonthDate); in TestFormatToCharacterIterator()
3485 + cdf.format(nonLeapMonthDate)); in TestFormatToCharacterIterator()
3487 acit = cdf.formatToCharacterIterator(leapMonthDate); in TestFormatToCharacterIterator()
3491 + cdf.format(leapMonthDate)); in TestFormatToCharacterIterator()
DNumberFormatTest.java3336 …NumberFormat cdf = CompactDecimalFormat.getInstance(Locale.ENGLISH, CompactDecimalFormat.CompactSt… in TestFormatAbstractImplCoverage() local
3349 result = cdf.format(new BigDecimal(2000.43), sb, new FieldPosition(0)).toString(); in TestFormatAbstractImplCoverage()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DCompactDecimalFormatTest.java373 CompactDecimalFormat cdf = in TestDefaultSignificantDigits() local
375 assertEquals("Default significant digits", "123K", cdf.format(123456)); in TestDefaultSignificantDigits()
376 assertEquals("Default significant digits", "12K", cdf.format(12345)); in TestDefaultSignificantDigits()
377 assertEquals("Default significant digits", "1.2K", cdf.format(1234)); in TestDefaultSignificantDigits()
378 assertEquals("Default significant digits", "123", cdf.format(123)); in TestDefaultSignificantDigits()
383 CompactDecimalFormat cdf = in TestCharacterIterator() local
385 AttributedCharacterIterator iter = cdf.formatToCharacterIterator(1234567); in TestCharacterIterator()
387 iter = cdf.formatToCharacterIterator(1234567); in TestCharacterIterator()
401 NumberFormat cdf = in TestArabicLongStyle() local
403 … assertEquals("Arabic Long", "\u061C-\u0665\u066B\u0663 \u0623\u0644\u0641", cdf.format(-5300)); in TestArabicLongStyle()
[all …]
DDateFormatTest.java3577 ChineseDateFormat cdf = new ChineseDateFormat("y'x'G-Ml-d", ULocale.US); in TestFormatToCharacterIterator() local
3578 acit = cdf.formatToCharacterIterator(nonLeapMonthDate); in TestFormatToCharacterIterator()
3582 + cdf.format(nonLeapMonthDate)); in TestFormatToCharacterIterator()
3584 acit = cdf.formatToCharacterIterator(leapMonthDate); in TestFormatToCharacterIterator()
3588 + cdf.format(leapMonthDate)); in TestFormatToCharacterIterator()
DNumberFormatTest.java3333 …NumberFormat cdf = CompactDecimalFormat.getInstance(Locale.ENGLISH, CompactDecimalFormat.CompactSt… in TestFormatAbstractImplCoverage() local
3346 result = cdf.format(new BigDecimal(2000.43), sb, new FieldPosition(0)).toString(); in TestFormatAbstractImplCoverage()
/third_party/icu/icu4c/source/test/intltest/
Dcompactdecimalformattest.cpp260 const CompactDecimalFormat* cdf, const ExpectedResult* expectedResult,
334 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance("sw", UNUM_SHORT, status)); in TestFieldPosition() local
341 cdf->format(1234567.0, result, fp); in TestFieldPosition()
371 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance("en", UNUM_SHORT, stat… in TestDefaultSignificantDigits() local
379 assertEquals("Default significant digits", u"123K", cdf->format(123456, actual.remove())); in TestDefaultSignificantDigits()
380 assertEquals("Default significant digits", u"12K", cdf->format(12345, actual.remove())); in TestDefaultSignificantDigits()
381 assertEquals("Default significant digits", u"1.2K", cdf->format(1234, actual.remove())); in TestDefaultSignificantDigits()
382 assertEquals("Default significant digits", u"123", cdf->format(123, actual.remove())); in TestDefaultSignificantDigits()
387 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance("en", UNUM_SHORT, stat… in TestAPIVariants() local
401 cdf->format((double)123456.0, actual, pos); in TestAPIVariants()
[all …]
/third_party/ffmpeg/libavcodec/
Dopus_rc.c90 uint32_t ff_opus_rc_dec_cdf(OpusRangeCoder *rc, const uint16_t *cdf) in ff_opus_rc_dec_cdf() argument
94 total = *cdf++; in ff_opus_rc_dec_cdf()
100 for (k = 0; cdf[k] <= symbol; k++); in ff_opus_rc_dec_cdf()
101 high = cdf[k]; in ff_opus_rc_dec_cdf()
102 low = k ? cdf[k-1] : 0; in ff_opus_rc_dec_cdf()
109 void ff_opus_rc_enc_cdf(OpusRangeCoder *rc, int val, const uint16_t *cdf) in ff_opus_rc_enc_cdf() argument
111 opus_rc_enc_update(rc, (!!val)*cdf[val], cdf[val + 1], cdf[0], 1); in ff_opus_rc_enc_cdf()
Dopus_rc.h85 uint32_t ff_opus_rc_dec_cdf(OpusRangeCoder *rc, const uint16_t *cdf);
86 void ff_opus_rc_enc_cdf(OpusRangeCoder *rc, int val, const uint16_t *cdf);
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dpoisson_distribution_test.cc180 double cdf; member
186 [](const CDF& a, const CDF& b) { return a.cdf < b.cdf; }); in InverseCDF()
194 absl::StrCat(c.index, ": pmf=", c.pmf, " cdf=", c.cdf)); in LogCDF()
391 double d = result.cdf - last_cdf; in InitChiSquaredTest()
394 last_cdf = result.cdf; in InitChiSquaredTest()
/third_party/python/Lib/
Dstatistics.py1089 def cdf(self, x): member in NormalDist
1154 return 1.0 - (fabs(Y.cdf(x1) - X.cdf(x1)) + fabs(Y.cdf(x2) - X.cdf(x2)))
/third_party/python/Lib/test/
Dtest_statistics.py2583 est_pdf = (X.cdf(x + dx) - X.cdf(x)) / dx
2613 cdfs = [X.cdf(x) for x in range(1, 200)]
2618 self.assertEqual(X.cdf(100), 0.50)
2629 self.assertAlmostEqual(Z.cdf(z), cum_prob, places=5)
2630 self.assertAlmostEqual(Z.cdf(-z), 1.0 - cum_prob, places=5)
2634 Y.cdf(90)
2636 self.assertEqual(X.cdf(float('-Inf')), 0.0)
2637 self.assertEqual(X.cdf(float('Inf')), 1.0)
2638 self.assertTrue(math.isnan(X.cdf(float('NaN'))))
2673 self.assertAlmostEqual(iq.cdf(iq.inv_cdf(p)), p)
[all …]
Dmime.types1381 application/x-netcdf nc cdf
/third_party/python/Doc/library/
Dstatistics.rst762 .. method:: NormalDist.cdf(x)
764 Using a `cumulative distribution function (cdf)
854 >>> fraction = sat.cdf(1200 + 0.5) - sat.cdf(1100 - 0.5)
904 >>> round(NormalDist(mu=n*p, sigma=sqrt(n*p*q)).cdf(k + 0.5), 4)
/third_party/skia/third_party/externals/icu/source/data/misc/
DkeyTypeData.txt228 cdf{""}
/third_party/icu/icu4c/source/data/misc/
DkeyTypeData.txt229 cdf{""}
/third_party/icu/icu4c/source/test/testdata/
Dnumberformattestspecification.txt1544 56cdf 56 K
1548 56cdf 56 K
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/data/
Dnumberformattestspecification.txt1544 56cdf 56 K
1548 56cdf 56 K
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/
Dnumberformattestspecification.txt1544 56cdf 56 K
1548 56cdf 56 K
/third_party/python/Doc/whatsnew/
D3.8.rst1216 >>> temperature_feb.cdf(3) # Chance of being under 3 degrees
/third_party/elfutils/tests/
Dtestfile44.expect.bz2
Dtestfile45.expect.bz21testfile45.o: elf64-elf_x86_64 2 3Disassembly of section .text: 4 5 0 ...
/third_party/rust/crates/regex/bench/src/data/
D1MB.txt3039 cdf
48630 cdf
/third_party/node/doc/changelogs/
DCHANGELOG_V11.md2581 …js/node/commit/dca0300a86)] - **(SEMVER-MAJOR)** **deps**: cherry-pick 2363cdf from upstream V8 (M…
/third_party/astc-encoder/Test/Images/HDRIHaven/HDR-RGB/
Dhdr-rgb-canarywharf.hdr811 …������1��}�������������||�����k�w_Rcur\kvmnmXivOjonqqj[�Ģmttܜhc�Ч���׆�nc�ْcdf��fi�ޤ��Ļ��m��Զ�xh�…

12