Home
last modified time | relevance | path

Searched refs:pct (Results 1 – 25 of 29) sorted by relevance

12

/third_party/grpc/tools/profiling/microbenchmarks/bm_diff/
Dbm_speedup.py38 pct = 1
39 while pct < 100:
40 sp, pp = cmp(new, scale(old, 1 - pct / 100.0))
43 pct += 1
44 return -(pct - 1)
46 pct = 1
47 while pct < 10000:
48 sp, pp = cmp(new, scale(old, 1 + pct / 100.0))
51 pct += 1
52 return pct - 1
/third_party/flutter/skia/third_party/externals/sdl/src/power/linux/
DSDL_syspower.c136 int pct = -1; in check_proc_acpi_battery() local
178 pct = (int) ((((float) remaining) / ((float) maximum)) * 100.0f); in check_proc_acpi_battery()
179 if (pct < 0) { in check_proc_acpi_battery()
180 pct = 0; in check_proc_acpi_battery()
181 } else if (pct > 100) { in check_proc_acpi_battery()
182 pct = 100; in check_proc_acpi_battery()
193 if ((pct < 0) && (*percent < 0)) { in check_proc_acpi_battery()
196 if (pct > *percent) { in check_proc_acpi_battery()
205 *percent = pct; in check_proc_acpi_battery()
414 const int pct = battery_percent; in SDL_GetPowerInfo_Linux_proc_apm() local
[all …]
/third_party/mindspore/tests/st/ops/cpu/
Dtest_rank_op.py42 def __init__(self, axis: int, method: str, na_option: str, ascending: bool, pct: bool):
48 self.pct = validator.check_value_type("pct", pct, [bool], self.name)
62 def __init__(self, axis: int, method: str, na_option: str, ascending: bool, pct: bool):
64 self.rank = Rank(axis, method, na_option, ascending, pct)
82 def test_rank_1d(shape: List[int], dtype, method: str, ascending: bool, pct: bool, na_option: str):
91 …pd_result = pandas_rank(arr, method=method, ascending=ascending, pct=pct, na_option=na_option).fla…
92 rank = RankNet(0, method=method, ascending=ascending, pct=pct, na_option=na_option)
109 def test_rank_2d(shape: List[int], dtype, method: str, ascending: bool, pct: bool, axis: int, na_op…
118 …pd_result = pandas_rank(arr, method=method, ascending=ascending, pct=pct, na_option=na_option, axi…
119 rank = RankNet(axis=axis, method=method, ascending=ascending, pct=pct, na_option=na_option)
/third_party/flutter/skia/third_party/externals/sdl/src/power/macosx/
DSDL_syspower.c50 int pct = -1; in checkps() local
106 pct = (int) val; in checkps()
109 if ((pct > 0) && (maxpct > 0)) { in checkps()
110 pct = (int) ((((double) pct) / ((double) maxpct)) * 100.0); in checkps()
113 if (pct > 100) { in checkps()
114 pct = 100; in checkps()
122 if ((pct < 0) && (*percent < 0)) { in checkps()
125 if (pct > *percent) { in checkps()
134 *percent = pct; in checkps()
/third_party/grpc/test/cpp/qps/
Dqps_interarrival_test.cc45 for (double pct = 0.0; pct < 100.0; pct += 1.0) { in RunTest() local
46 std::cout << grpc_histogram_percentile(h, pct) << "," << pct << std::endl; in RunTest()
/third_party/flutter/skia/third_party/externals/sdl/src/power/windows/
DSDL_syspower.c59 const int pct = (int) status.BatteryLifePercent; in SDL_GetPowerInfo_Windows() local
62 if (pct != 255) { /* 255 == unknown */ in SDL_GetPowerInfo_Windows()
63 *percent = (pct > 100) ? 100 : pct; /* clamp between 0%, 100% */ in SDL_GetPowerInfo_Windows()
/third_party/flutter/skia/third_party/externals/sdl/src/power/haiku/
DSDL_syspower.c109 const int pct = (int) battery_life; in SDL_GetPowerInfo_Haiku() local
112 if (pct != 255) { /* 255 == unknown */ in SDL_GetPowerInfo_Haiku()
113 *percent = (pct > 100) ? 100 : pct; /* clamp between 0%, 100% */ in SDL_GetPowerInfo_Haiku()
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation_platform.c459 int pct; in platform_testGetPowerInfo() local
462 state = SDL_GetPowerInfo(&secs, &pct); in platform_testGetPowerInfo()
480 (pct >= 0) && (pct <= 100), in platform_testGetPowerInfo()
482 pct); in platform_testGetPowerInfo()
493 pct == -1, in platform_testGetPowerInfo()
495 pct); in platform_testGetPowerInfo()
514 pct==pctAgain, in platform_testGetPowerInfo()
/third_party/libsoup/libsoup/
Dsoup-uri.c338 const char *pct; in soup_uri_new_with_base() local
351 pct = memchr (uri_string, '%', hostend - uri_string); in soup_uri_new_with_base()
352 if (!pct || (pct[1] == '2' && pct[2] == '5')) { in soup_uri_new_with_base()
556 const char *pct; in soup_uri_to_string_internal() local
559 pct = strchr (uri->host, '%'); in soup_uri_to_string_internal()
560 if (pct) { in soup_uri_to_string_internal()
562 (int) (pct - uri->host), in soup_uri_to_string_internal()
563 uri->host, pct + 1); in soup_uri_to_string_internal()
Dsoup-address.c591 const char *pct, *ip; in maybe_resolve_ip() local
600 pct = strchr (priv->name, '%'); in maybe_resolve_ip()
601 if (pct) in maybe_resolve_ip()
602 ip = tmp = g_strndup (priv->name, pct - priv->name); in maybe_resolve_ip()
/third_party/boost/libs/config/test/
Dboost_no_std_locale.ipp25 const std::ctype<char>* pct = 0;
27 (void) &pct;
/third_party/mesa3d/src/gallium/auxiliary/hud/
Dhud_nic.c200 float pct = (bits / period_speed) * 100; in query_nic_load() local
206 if (pct > 100) in query_nic_load()
207 pct = 100; in query_nic_load()
208 hud_graph_add_value(gr, (uint64_t) pct); in query_nic_load()
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_power.h65 extern DECLSPEC SDL_PowerState SDLCALL SDL_GetPowerInfo(int *secs, int *pct);
/third_party/glib/glib/
Dguri.c484 gchar *pct, *zone_id = NULL; in parse_ip_literal() local
498 pct = strchr (addr, '%'); in parse_ip_literal()
499 if (pct != NULL) in parse_ip_literal()
501 *pct = '\0'; in parse_ip_literal()
503 if (addr_length - (pct - addr) >= 4 && in parse_ip_literal()
504 *(pct + 1) == '2' && *(pct + 2) == '5') in parse_ip_literal()
506 zone_id = pct + 3; in parse_ip_literal()
510 addr_length - (pct - addr) >= 2) in parse_ip_literal()
512 zone_id = pct + 1; in parse_ip_literal()
/third_party/node/deps/npm/node_modules/unique-filename/coverage/
Dbase.css130 div.coverage-summary th.pct { border-right: none !important; }
132 div.coverage-summary td.pct { text-align: right; border-left: 1px solid #666; }
/third_party/node/deps/npm/node_modules/mute-stream/coverage/lcov-report/
Dbase.css132 .coverage-summary th.pct { }
135 .coverage-summary td.pct,
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/
Dgstmpegvideoparse.c416 picture_type_name (guint8 pct) in picture_type_name() argument
421 guint8 pct; in picture_type_name() member
433 if (pct_names[i].pct == pct) in picture_type_name()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeAnalyzer.cpp660 double pct = (Stats.NumBits * 100.0) / BufferSizeBits; in printStats() local
661 O.OS << " Percent of file: " << format("%2.4f%%", pct) << "\n"; in printStats()
678 double pct = (Stats.NumAbbreviatedRecords * 100.0) / Stats.NumRecords; in printStats() local
679 O.OS << " Percent Abbrevs: " << format("%2.4f%%", pct) << "\n"; in printStats()
/third_party/grpc/tools/run_tests/
Drun_tests.py1395 pct = float(arg_str)
1396 if pct > 100 or pct < 0:
1398 "'%f' is not a valid percentage in the [0, 100] range" % pct)
1399 return pct
/third_party/libwebsockets/lib/roles/cgi/
Dcgi-server.c157 char *pct = lws_hdr_simple_ptr(wsi, in lws_cgi() local
160 if (pct && !strcmp(pct, "gzip")) in lws_cgi()
/third_party/flutter/skia/third_party/externals/icu/source/data/unit/
Dda.txt1206 dnam{"pct."}
1207 one{"{0} pct."}
1208 other{"{0} pct."}
/third_party/ffmpeg/doc/
Dencoders.texi1590 @item undershoot-pct (@emph{pct})
1594 @item overshoot-pct (@emph{pct})
1598 @item minsection-pct (@emph{pct})
1599 Minimum percentage variation of the GOP bitrate from the target bitrate. If minsection-pct
1603 @item maxsection-pct (@emph{pct})
1604 Maximum percentage variation of the GOP bitrate from the target bitrate. If maxsection-pct
2002 @item undershoot-pct
2005 @item overshoot-pct
2010 @item qcomp (@emph{bias-pct})
2012 @item maxrate (@emph{maxsection-pct})
[all …]
/third_party/ffmpeg/libavformat/
Dasfdec_f.c1621 int pct, ict; in asf_build_simple_index() local
1627 pct = avio_rl32(s->pb); in asf_build_simple_index()
1630 "itime:0x%"PRIx64", pct:%d, ict:%d\n", itime, pct, ict); in asf_build_simple_index()
/third_party/skia/third_party/externals/icu/source/data/unit/
Dda.txt1536 dnam{"pct."}
1537 one{"{0} pct."}
1538 other{"{0} pct."}
/third_party/icu/icu4c/source/data/unit/
Dda.txt1536 dnam{"pct."}
1537 one{"{0} pct."}
1538 other{"{0} pct."}

12