Home
last modified time | relevance | path

Searched full:metrics (Results 1 – 25 of 1200) sorted by relevance

12345678910>>...48

/third_party/skia/m133/src/core/
DSkFontMetricsPriv.cpp15 void SkFontMetricsPriv::Flatten(SkWriteBuffer& buffer, const SkFontMetrics& metrics) { in Flatten() argument
16 buffer.writeUInt(metrics.fFlags); in Flatten()
17 buffer.writeScalar(metrics.fTop); in Flatten()
18 buffer.writeScalar(metrics.fAscent); in Flatten()
19 buffer.writeScalar(metrics.fDescent); in Flatten()
20 buffer.writeScalar(metrics.fBottom); in Flatten()
21 buffer.writeScalar(metrics.fLeading); in Flatten()
22 buffer.writeScalar(metrics.fAvgCharWidth); in Flatten()
23 buffer.writeScalar(metrics.fMaxCharWidth); in Flatten()
24 buffer.writeScalar(metrics.fXMin); in Flatten()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/train/metrics/
D__init__.py16 Metrics.
23 from mindspore.train.metrics.accuracy import Accuracy
24 from mindspore.train.metrics.hausdorff_distance import HausdorffDistance
25 from mindspore.train.metrics.error import MAE, MSE
26 from mindspore.train.metrics.metric import Metric, rearrange_inputs
27 from mindspore.train.metrics.precision import Precision
28 from mindspore.train.metrics.recall import Recall
29 from mindspore.train.metrics.fbeta import Fbeta, F1
30 from mindspore.train.metrics.dice import Dice
31 from mindspore.train.metrics.roc import ROC
[all …]
/third_party/grpc/src/core/lib/event_engine/posix_engine/
Dtraced_buffer_list.cc69 // Extracts opt stats from the tcp_info struct \a info to \a metrics
70 void ExtractOptStatsFromTcpInfo(ConnectionMetrics* metrics, in ExtractOptStatsFromTcpInfo() argument
76 metrics->recurring_retrans = info->tcpi_retransmits; in ExtractOptStatsFromTcpInfo()
77 metrics->is_delivery_rate_app_limited = in ExtractOptStatsFromTcpInfo()
79 metrics->congestion_window = info->tcpi_snd_cwnd; in ExtractOptStatsFromTcpInfo()
80 metrics->reordering = info->tcpi_reordering; in ExtractOptStatsFromTcpInfo()
81 metrics->packet_retx = info->tcpi_total_retrans; in ExtractOptStatsFromTcpInfo()
82 metrics->pacing_rate = info->tcpi_pacing_rate; in ExtractOptStatsFromTcpInfo()
83 metrics->data_notsent = info->tcpi_notsent_bytes; in ExtractOptStatsFromTcpInfo()
85 metrics->min_rtt = info->tcpi_min_rtt; in ExtractOptStatsFromTcpInfo()
[all …]
/third_party/grpc/src/core/lib/iomgr/
Dbuffer_list.cc63 // Extracts opt stats from the tcp_info struct \a info to \a metrics
64 void ExtractOptStatsFromTcpInfo(ConnectionMetrics* metrics, in ExtractOptStatsFromTcpInfo() argument
70 metrics->recurring_retrans = info->tcpi_retransmits; in ExtractOptStatsFromTcpInfo()
71 metrics->is_delivery_rate_app_limited = in ExtractOptStatsFromTcpInfo()
73 metrics->congestion_window = info->tcpi_snd_cwnd; in ExtractOptStatsFromTcpInfo()
74 metrics->reordering = info->tcpi_reordering; in ExtractOptStatsFromTcpInfo()
75 metrics->packet_retx = info->tcpi_total_retrans; in ExtractOptStatsFromTcpInfo()
76 metrics->pacing_rate = info->tcpi_pacing_rate; in ExtractOptStatsFromTcpInfo()
77 metrics->data_notsent = info->tcpi_notsent_bytes; in ExtractOptStatsFromTcpInfo()
79 metrics->min_rtt = info->tcpi_min_rtt; in ExtractOptStatsFromTcpInfo()
[all …]
/third_party/skia/third_party/externals/freetype/src/cff/
Dcffgload.c240 glyph->x_scale = size->root.metrics.x_scale; in cff_slot_load()
241 glyph->y_scale = size->root.metrics.y_scale; in cff_slot_load()
261 TT_SBit_MetricsRec metrics; in cff_slot_load() local
270 &metrics ); in cff_slot_load()
282 glyph->root.metrics.width = (FT_Pos)metrics.width * 64; in cff_slot_load()
283 glyph->root.metrics.height = (FT_Pos)metrics.height * 64; in cff_slot_load()
285 glyph->root.metrics.horiBearingX = (FT_Pos)metrics.horiBearingX * 64; in cff_slot_load()
286 glyph->root.metrics.horiBearingY = (FT_Pos)metrics.horiBearingY * 64; in cff_slot_load()
287 glyph->root.metrics.horiAdvance = (FT_Pos)metrics.horiAdvance * 64; in cff_slot_load()
289 glyph->root.metrics.vertBearingX = (FT_Pos)metrics.vertBearingX * 64; in cff_slot_load()
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/
DViewableTaggedData.java31 private final Metrics metrics; field in ViewableTaggedData
34 this(markers, new Style(), new Metrics()); in ViewableTaggedData()
37 private ViewableTaggedData(List<Marker> markers, Style style, Metrics metrics) { in ViewableTaggedData() argument
40 this.metrics = metrics; in ViewableTaggedData()
73 private static class Metrics { class in ViewableTaggedData
85 private Metrics() { in Metrics() method in ViewableTaggedData.Metrics
108 return metrics.lineHeight; in lineHeight()
112 return metrics.totalWidth; in totalWidth()
116 DrawContext context = new DrawContext(style, metrics, g, x, y); in draw()
123 * Compute metrics and return the dimensions.
[all …]
/third_party/grpc/tools/distrib/python/xds_protos/opencensus/proto/metrics/v1/
Dmetrics_pb2.py3 # source: opencensus/proto/metrics/v1/metrics.proto
19metrics/v1/metrics.proto\x12\x1bopencensus.proto.metrics.v1\x1a\x1fgoogle/protobuf/timestamp.proto…
23 _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'opencensus.proto.metrics.v1.metrics_pb2', _glo…
26 ….proto.metrics.v1B\014MetricsProtoP\001ZDgithub.com/census-instrumentation/opencensus-proto/gen-go…
/third_party/grpc/tools/distrib/python/xds_protos/opentelemetry/proto/metrics/v1/
Dmetrics_pb2.py3 # source: opentelemetry/proto/metrics/v1/metrics.proto
18metrics/v1/metrics.proto\x12\x1eopentelemetry.proto.metrics.v1\x1a*opentelemetry/proto/common/v1/c…
22 _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'opentelemetry.proto.metrics.v1.metrics_pb2', _…
25 … b'\n!io.opentelemetry.proto.metrics.v1B\014MetricsProtoP\001Z?github.com/open-telemetry/opentelem…
/third_party/skia/tools/fonts/
DToolUtilsFont.cpp72 SkFontMetrics metrics; in sample_user_typeface() local
73 metrics.fFlags = 0; in sample_user_typeface()
74 metrics.fTop = -200; in sample_user_typeface()
75 metrics.fAscent = -150; in sample_user_typeface()
76 metrics.fDescent = 50; in sample_user_typeface()
77 metrics.fBottom = -75; in sample_user_typeface()
78 metrics.fLeading = 10; in sample_user_typeface()
79 metrics.fAvgCharWidth = 150; in sample_user_typeface()
80 metrics.fMaxCharWidth = 300; in sample_user_typeface()
81 metrics.fXMin = -20; in sample_user_typeface()
[all …]
/third_party/grpc/tools/distrib/python/xds_protos/opencensus/proto/agent/metrics/v1/
Dmetrics_service_pb2.py3 # source: opencensus/proto/agent/metrics/v1/metrics_service.proto
15 from opencensus.proto.metrics.v1 import metrics_pb2 as opencensus_dot_proto_dot_metrics_dot_v1_dot_…
19metrics/v1/metrics_service.proto\x12!opencensus.proto.agent.metrics.v1\x1a-opencensus/proto/agent/…
23 _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'opencensus.proto.agent.metrics.v1.metrics_serv…
26metrics.v1B\023MetricsServiceProtoP\001ZJgithub.com/census-instrumentation/opencensus-proto/gen-go…
/third_party/grpc/tools/distrib/python/xds_protos/opentelemetry/proto/collector/metrics/v1/
Dmetrics_service_pb2.py3 # source: opentelemetry/proto/collector/metrics/v1/metrics_service.proto
14 from opentelemetry.proto.metrics.v1 import metrics_pb2 as opentelemetry_dot_proto_dot_metrics_dot_v…
17metrics/v1/metrics_service.proto\x12(opentelemetry.proto.collector.metrics.v1\x1a,opentelemetry/pr…
21 _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'opentelemetry.proto.collector.metrics.v1.metri…
24 …etry.proto.collector.metrics.v1B\023MetricsServiceProtoP\001ZIgithub.com/open-telemetry/openteleme…
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttsbit.c293 FT_Size_Metrics* metrics ) in tt_face_load_strike_metrics() argument
324 metrics->x_ppem = (FT_UShort)strike[44]; in tt_face_load_strike_metrics()
325 metrics->y_ppem = (FT_UShort)strike[45]; in tt_face_load_strike_metrics()
327 metrics->ascender = (FT_Char)strike[16] * 64; /* hori.ascender */ in tt_face_load_strike_metrics()
328 metrics->descender = (FT_Char)strike[17] * 64; /* hori.descender */ in tt_face_load_strike_metrics()
340 if ( metrics->descender > 0 ) in tt_face_load_strike_metrics()
344 metrics->descender = -metrics->descender; in tt_face_load_strike_metrics()
347 else if ( metrics->descender == 0 ) in tt_face_load_strike_metrics()
349 if ( metrics->ascender == 0 ) in tt_face_load_strike_metrics()
356 metrics->x_ppem, metrics->y_ppem )); in tt_face_load_strike_metrics()
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/xtask/src/
Dmetrics.rs16 impl flags::Metrics { implementation
18 let mut metrics = Metrics::new(sh)?; in run() localVariable
29 let revision = &metrics.perf_revision; in run()
40 metrics.measure_build(sh)?; in run()
41 metrics.measure_analysis_stats_self(sh)?; in run()
42 metrics.measure_analysis_stats(sh, "ripgrep")?; in run()
43 metrics.measure_analysis_stats(sh, "webrender")?; in run()
44 metrics.measure_analysis_stats(sh, "diesel/diesel")?; in run()
51 "git clone --depth 1 https://{metrics_token}@github.com/rust-analyzer/metrics.git" in run()
57 fs::File::options().append(true).open("target/metrics/metrics.json")?; in run()
[all …]
/third_party/grpc/tools/distrib/python/xds_protos/envoy/config/metrics/v3/
Dstats_pb2.py3 # source: envoy/config/metrics/v3/stats.proto
23metrics/v3/stats.proto\x12\x17\x65nvoy.config.metrics.v3\x1a\"envoy/config/core/v3/address.proto\x…
27 _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'envoy.config.metrics.v3.stats_pb2', _globals)
30 …b'\n%io.envoyproxy.envoy.config.metrics.v3B\nStatsProtoP\001ZHgithub.com/envoyproxy/go-control-pla…
32 _STATSSINK._serialized_options = b'\232\305\210\036#\n!envoy.config.metrics.v2.StatsSink'
34 _STATSCONFIG._serialized_options = b'\232\305\210\036%\n#envoy.config.metrics.v2.StatsConfig'
38 _STATSMATCHER._serialized_options = b'\232\305\210\036&\n$envoy.config.metrics.v2.StatsMatcher'
42 _TAGSPECIFIER._serialized_options = b'\232\305\210\036&\n$envoy.config.metrics.v2.TagSpecifier'
50 _STATSDSINK._serialized_options = b'\232\305\210\036$\n\"envoy.config.metrics.v2.StatsdSink'
56 _DOGSTATSDSINK._serialized_options = b'\232\305\210\036\'\n%envoy.config.metrics.v2.DogStatsdSink'
[all …]
/third_party/cares/src/lib/
Dares_metrics.c53 * of roll-overs we can still maintain recent metrics for calculations:
182 /* Copy metrics to prev and clear */ in ares_metrics_record()
183 if (ts != server->metrics[i].ts) { in ares_metrics_record()
184 server->metrics[i].prev_ts = server->metrics[i].ts; in ares_metrics_record()
185 server->metrics[i].prev_total_ms = server->metrics[i].total_ms; in ares_metrics_record()
186 server->metrics[i].prev_total_count = server->metrics[i].total_count; in ares_metrics_record()
187 server->metrics[i].ts = ts; in ares_metrics_record()
188 server->metrics[i].latency_min_ms = 0; in ares_metrics_record()
189 server->metrics[i].latency_max_ms = 0; in ares_metrics_record()
190 server->metrics[i].total_ms = 0; in ares_metrics_record()
[all …]
/third_party/cJSON/tests/unity/test/
D.rubocop.yml38 # At this point, we're not ready to enforce any metrics
39 Metrics/AbcSize:
41 Metrics/BlockLength:
43 Metrics/BlockNesting:
45 Metrics/ClassLength:
47 Metrics/CyclomaticComplexity:
49 Metrics/LineLength:
51 Metrics/MethodLength:
53 Metrics/ModuleLength:
55 Metrics/ParameterLists:
[all …]
/third_party/libuv/test/
Dtest-metrics.c133 uv_metrics_t metrics; in TEST_IMPL() local
148 ASSERT_OK(uv_metrics_info(uv_default_loop(), &metrics)); in TEST_IMPL()
149 ASSERT_UINT64_EQ(cntr, metrics.loop_count); in TEST_IMPL()
157 uv_metrics_t metrics; in close_cb() local
159 ASSERT_OK(uv_metrics_info(uv_default_loop(), &metrics)); in close_cb()
160 ASSERT_UINT64_EQ(3, metrics.loop_count); in close_cb()
161 ASSERT_UINT64_GT(metrics.events, last_events_count); in close_cb()
164 last_events_count = metrics.events; in close_cb()
169 uv_metrics_t metrics; in write_cb() local
171 ASSERT_OK(uv_metrics_info(uv_default_loop(), &metrics)); in write_cb()
[all …]
/third_party/skia/modules/skparagraph/src/
DTextStyle.cpp206 void TextStyle::getFontMetrics(SkFontMetrics* metrics) const { in getFontMetrics()
208 void TextStyle::getFontMetrics(RSFontMetrics* metrics) const { in getFontMetrics()
218 compressFont.getMetrics(metrics); in getFontMetrics()
219 metricsIncludeFontPadding(metrics, font); in getFontMetrics()
221 font.getMetrics(metrics); in getFontMetrics()
231 compressFont.GetMetrics(metrics); in getFontMetrics()
232 metricsIncludeFontPadding(metrics, font); in getFontMetrics()
234 font.GetMetrics(metrics); in getFontMetrics()
239 auto height = metrics->fDescent - metrics->fAscent + metrics->fLeading; in getFontMetrics()
240 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2) * multiplier / height; in getFontMetrics()
[all …]
/third_party/libwebsockets/READMEs/
DREADME.lws_metrics.md12 - an external handler for forwarding aggregated metrics. An lws_system ops
13 interface to pass on the aggregated metrics to an external backend. lws
14 presents its own public metrics objects and leaves it to the external
15 code to have a shim to marry the lws metrics up to whatever is needed in the
16 metrics backend
24 including Secure Streams itself, and lws metrics are available on that too.
28 Normally metrics implementations are fixed at build-time and cannot change
35 ![policy based metrics](/doc-assets/lws_metrics-policy.png)
37 Metrics are created with a namespace name and the policy applies itself to those
43 "metrics": [
[all …]
/third_party/grpc/tools/distrib/python/xds_protos/opentelemetry/proto/metrics/experimental/
Dmetrics_config_service_pb2.py3 # source: opentelemetry/proto/metrics/experimental/metrics_config_service.proto
17metrics/experimental/metrics_config_service.proto\x12(opentelemetry.proto.metrics.experimental\x1a…
21 _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'opentelemetry.proto.metrics.experimental.metri…
24 …entelemetry.proto.metrics.experimentalB\030MetricConfigServiceProtoP\001ZIgithub.com/open-telemetr…
/third_party/skia/third_party/externals/freetype/src/cid/
Dcidgload.c228 /* Incremental fonts can optionally override the metrics. */ in cid_load_glyph()
231 FT_Incremental_MetricsRec metrics; in cid_load_glyph() local
234 metrics.bearing_x = FIXED_TO_INT( decoder->builder.left_bearing.x ); in cid_load_glyph()
235 metrics.bearing_y = 0; in cid_load_glyph()
236 metrics.advance = FIXED_TO_INT( decoder->builder.advance.x ); in cid_load_glyph()
237 metrics.advance_v = FIXED_TO_INT( decoder->builder.advance.y ); in cid_load_glyph()
240 glyph_index, FALSE, &metrics ); in cid_load_glyph()
242 decoder->builder.left_bearing.x = INT_TO_FIXED( metrics.bearing_x ); in cid_load_glyph()
243 decoder->builder.advance.x = INT_TO_FIXED( metrics.advance ); in cid_load_glyph()
244 decoder->builder.advance.y = INT_TO_FIXED( metrics.advance_v ); in cid_load_glyph()
[all …]
/third_party/skia/third_party/externals/freetype/src/type1/
Dt1gload.c139 /* Incremental fonts can optionally override the metrics. */ in T1_Parse_Glyph_And_Get_Char_String()
142 FT_Incremental_MetricsRec metrics; in T1_Parse_Glyph_And_Get_Char_String() local
145 metrics.bearing_x = FIXED_TO_INT( decoder->builder.left_bearing.x ); in T1_Parse_Glyph_And_Get_Char_String()
146 metrics.bearing_y = 0; in T1_Parse_Glyph_And_Get_Char_String()
147 metrics.advance = FIXED_TO_INT( decoder->builder.advance.x ); in T1_Parse_Glyph_And_Get_Char_String()
148 metrics.advance_v = FIXED_TO_INT( decoder->builder.advance.y ); in T1_Parse_Glyph_And_Get_Char_String()
151 glyph_index, FALSE, &metrics ); in T1_Parse_Glyph_And_Get_Char_String()
153 decoder->builder.left_bearing.x = INT_TO_FIXED( metrics.bearing_x ); in T1_Parse_Glyph_And_Get_Char_String()
154 decoder->builder.advance.x = INT_TO_FIXED( metrics.advance ); in T1_Parse_Glyph_And_Get_Char_String()
155 decoder->builder.advance.y = INT_TO_FIXED( metrics.advance_v ); in T1_Parse_Glyph_And_Get_Char_String()
[all …]
/third_party/skia/src/core/
DSkFont.cpp173 SkBulkGlyphMetrics metrics{strikeSpec}; in measureText() local
174 SkSpan<const SkGlyph*> glyphs = metrics.glyphs(SkMakeSpan(glyphIDs, glyphCount)); in measureText()
211 SkBulkGlyphMetrics metrics{strikeSpec}; in getWidthsBounds() local
212 SkSpan<const SkGlyph*> glyphs = metrics.glyphs(SkMakeSpan(glyphIDs, count)); in getWidthsBounds()
232 SkBulkGlyphMetrics metrics{strikeSpec}; in getPos() local
233 SkSpan<const SkGlyph*> glyphs = metrics.glyphs(SkMakeSpan(glyphIDs, count)); in getPos()
246 SkBulkGlyphMetrics metrics{strikeSpec}; in getXPos() local
247 SkSpan<const SkGlyph*> glyphs = metrics.glyphs(SkMakeSpan(glyphIDs, count)); in getXPos()
288 SkScalar SkFont::getMetrics(SkFontMetrics* metrics) const { in getMetrics()
293 if (nullptr == metrics) { in getMetrics()
[all …]
/third_party/unity/test/
D.rubocop.yml60 # At this point, we're not ready to enforce any metrics
61 Metrics/AbcSize:
63 Metrics/BlockLength:
65 Metrics/BlockNesting:
67 Metrics/ClassLength:
69 Metrics/CyclomaticComplexity:
71 Metrics/MethodLength:
73 Metrics/ModuleLength:
75 Metrics/ParameterLists:
77 Metrics/PerceivedComplexity:
/third_party/skia/m133/modules/skparagraph/src/
DTextStyle.cpp216 void TextStyle::getFontMetrics(RSFontMetrics* metrics) const { in getFontMetrics()
218 void TextStyle::getFontMetrics(SkFontMetrics* metrics) const { in getFontMetrics()
227 compressFont.GetMetrics(metrics); in getFontMetrics()
228 metricsIncludeFontPadding(metrics, font); in getFontMetrics()
234 font.getMetrics(metrics); in getFontMetrics()
238 auto height = metrics->fDescent - metrics->fAscent + metrics->fLeading; in getFontMetrics()
239 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2) * multiplier / height; in getFontMetrics()
240 metrics->fDescent = (metrics->fDescent + metrics->fLeading / 2) * multiplier / height; in getFontMetrics()
243 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2); in getFontMetrics()
244 metrics->fDescent = (metrics->fDescent + metrics->fLeading / 2); in getFontMetrics()
[all …]

12345678910>>...48