Home
last modified time | relevance | path

Searched refs:durations (Results 1 – 25 of 56) sorted by relevance

123

/third_party/typescript/src/compiler/
Dperformance.ts48 const durations = new Map<string, number>(); constant
77 const previousDuration = durations.get(measureName) || 0;
78 durations.set(measureName, previousDuration + (end - start));
98 return durations.get(measureName) || 0;
107 durations.forEach((duration, measureName) => cb(measureName, duration));
141 durations.clear();
/third_party/flutter/flutter/packages/flutter_driver/lib/src/driver/
Dtimeline_summary.dart172 double _averageInMillis(Iterable<Duration> durations) {
173 if (durations.isEmpty)
174 throw ArgumentError('durations is empty!');
175 …final double total = durations.fold<double>(0.0, (double t, Duration duration) => t + duration.inM…
176 return total / durations.length;
179 double _percentileInMillis(Iterable<Duration> durations, double percentile) {
180 if (durations.isEmpty)
181 throw ArgumentError('durations is empty!');
183 …final List<double> doubles = durations.map<double>((Duration duration) => duration.inMicroseconds.…
189 double _maxInMillis(Iterable<Duration> durations) {
[all …]
/third_party/flutter/flutter/examples/flutter_gallery/test_driver/
Dtransitions_perf_test.dart67 final Map<String, List<int>> durations = <String, List<int>>{};
78 durations[routeName] ??= <int>[];
79 durations[routeName].add(event['dur']);
84 // Verify that the durations data is valid.
85 if (durations.keys.isEmpty)
88 durations.forEach((String routeName, List<int> values) {
125 // Save the durations Map to a file.
127 await file.writeAsString(const JsonEncoder.withIndent(' ').convert(durations));
/third_party/flutter/flutter/packages/flutter_driver/test/src/
Dtimeline_summary_test.dart69 … throwsA(predicate<ArgumentError>((ArgumentError e) => e.message == 'durations is empty!')),
88 … throwsA(predicate<ArgumentError>((ArgumentError e) => e.message == 'durations is empty!')),
127 … throwsA(predicate<ArgumentError>((ArgumentError e) => e.message == 'durations is empty!')),
166 … throwsA(predicate<ArgumentError>((ArgumentError e) => e.message == 'durations is empty!')),
213 … throwsA(predicate<ArgumentError>((ArgumentError e) => e.message == 'durations is empty!')),
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Dwebpmux.c1045 int* durations = NULL; in Process() local
1048 durations = (int*)malloc((size_t)num_frames * sizeof(*durations)); in Process()
1049 if (durations == NULL) goto Err2; in Process()
1050 for (i = 0; i < num_frames; ++i) durations[i] = -1; in Process()
1082 durations[k - 1] = duration; in Process()
1093 if (durations[i - 1] >= 0) frame.duration = durations[i - 1]; in Process()
1106 free(durations); in Process()
/third_party/skia/third_party/externals/libwebp/examples/
Dwebpmux.c1080 int* durations = NULL; in Process() local
1083 durations = (int*)WebPMalloc((size_t)num_frames * sizeof(*durations)); in Process()
1084 if (durations == NULL) goto Err2; in Process()
1085 for (i = 0; i < num_frames; ++i) durations[i] = -1; in Process()
1117 durations[k - 1] = duration; in Process()
1128 if (durations[i - 1] >= 0) frame.duration = durations[i - 1]; in Process()
1141 WebPFree(durations); in Process()
/third_party/flutter/flutter/dev/devicelab/lib/tasks/
Dgallery.dart89 transitions.forEach((String demoName, List<int> durations) {
90 final int longestDuration = durations.reduce(math.max);
/third_party/boost/libs/mpl/example/fsm/
Dplayer2.cpp224 cd_detected(std::string name, std::vector<std::clock_t> durations) in cd_detected()
226 , track_durations(durations) in cd_detected()
/third_party/gstreamer/gstplugins_bad/ext/opus/
Dgstopusparse.c274 static const guint64 durations[32] = { in packet_duration_opus() local
296 frame_duration = durations[toc >> 3] * 1000; in packet_duration_opus()
/third_party/flutter/flutter/packages/flutter/lib/src/physics/
Dtolerance.dart6 /// durations, and velocity differences to be considered equal.
/third_party/flutter/flutter/packages/flutter/test/animation/
Danimations_test.dart245 test('CurvedAnimation running with different forward and reverse durations.', () {
290 test('ReverseAnimation running with different forward and reverse durations.', () {
/third_party/protobuf/src/google/protobuf/
Dduration.proto111 // `seconds` field and a positive or negative `nanos` field. For durations
/third_party/python/Lib/test/
Dtest_signal.py1165 durations = [times[i+1] - times[i] for i in range(len(times) - 1)]
1166 med = statistics.median(durations)
/third_party/libwebsockets/READMEs/
DREADME.lws_sul.md91 connection for more than a very short time compared to suspend durations, then these
/third_party/abseil-cpp/
DREADME.md92 points in time, durations of time, and formatting and parsing time within
/third_party/gstreamer/gstplugins_base/ext/opus/
Dgstopusdec.c439 static const guint64 durations[32] = { in packet_duration_opus() local
465 frame_duration = durations[toc >> 3]; in packet_duration_opus()
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Danimated_switcher.dart183 /// durations of transitions already in progress.
189 /// a new child. Changing [reverseDuration] will not affect the durations of
/third_party/skia/third_party/externals/abseil-cpp/
DREADME.md108 points in time, durations of time, and formatting and parsing time within
/third_party/gstreamer/gstreamer/docs/random/ds/
D0.9-planning279 GstCaps. GstPipeBuffers have timestamps, durations, and flags.
/third_party/skia/third_party/externals/egl-registry/extensions/ANDROID/
DEGL_ANDROID_get_frame_timestamps.txt130 allows querying anticipated timestamps and durations related to the
/third_party/EGL/extensions/ANDROID/
DEGL_ANDROID_get_frame_timestamps.txt130 allows querying anticipated timestamps and durations related to the
/third_party/ltp/testcases/kernel/controllers/cpuctl/
Dcpuctl_testplan.txt143 the actual and expected sleep durations.
/third_party/flutter/skia/third_party/externals/wuffs/doc/spec/
Dnie-spec.md256 time, as different frames can have different display durations.
264 durations relative to the previous frame, not relative to the initial frame.
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dqtmux.c1047 gint64 durations[] = { GST_SECOND * 3, GST_SECOND * 5, GST_SECOND * 2 }; in test_average_bitrate_custom() local
1089 GST_BUFFER_DURATION (inbuffer) = (GstClockTime) durations[i]; in test_average_bitrate_custom()
/third_party/boost/libs/chrono/doc/
Dchrono.qbk403 …ner than we will ever need), separate types for points in time and time durations, efficiency, and…
449 * A means to represent time durations: managed by the generic __duration class . Examples of time d…
487 A few simple rounding utility functions for working with durations.
818 __Boost_Chrono__ provides few simple rounding utility functions for working with durations.
1789durations which have a representation and precision of their own choosing. For example if there is…
4032 __effects Set the __duration_punct facet to stream durations and time_points as long text.
4548 user-entered durations, but machine-generated formats can be parsed
4730 …* Return the parse the longest string possible matching one of the durations units that can follow…
4735 durations units, as if
5735 user-entered durations, but machine-generated formats can be parsed
[all …]

123