/third_party/boost/libs/histogram/doc/html/ |
D | histogram_HTML.manifest | 2 histogram/overview.html 3 histogram/getting_started.html 4 histogram/guide.html 5 histogram/benchmarks.html 6 histogram/concepts.html 7 histogram/reference.html 8 boost/histogram/axis/null_type.html 10 boost/histogram/histogram.html 11 boost/histogram/operator_idm45503931784368.html 12 boost/histogram/operator_idm45503931778704.html [all …]
|
/third_party/node/src/ |
D | histogram.cc | 19 hdr_histogram* histogram; in Histogram() local 20 CHECK_EQ(0, hdr_init(lowest, highest, figures, &histogram)); in Histogram() 21 histogram_.reset(histogram); in Histogram() 31 HistogramImpl::HistogramImpl(std::shared_ptr<Histogram> histogram) in HistogramImpl() argument 32 : histogram_(std::move(histogram)) {} in HistogramImpl() 48 std::shared_ptr<Histogram> histogram) in HistogramBase() argument 50 HistogramImpl(std::move(histogram)) { in HistogramBase() 55 tracker->TrackField("histogram", histogram()); in MemoryInfo() 59 HistogramBase* histogram; in GetMin() local 60 ASSIGN_OR_RETURN_UNWRAP(&histogram, args.Holder()); in GetMin() [all …]
|
/third_party/node/test/sequential/ |
D | test-performance-eventloopdelay.js | 12 const histogram = monitorEventLoopDelay(); constant 13 assert(histogram); 14 assert(histogram.enable()); 15 assert(!histogram.enable()); 16 histogram.reset(); 17 assert(histogram.disable()); 18 assert(!histogram.disable()); 54 const histogram = monitorEventLoopDelay({ resolution: 1 }); constant 55 histogram.enable(); 62 histogram.disable(); [all …]
|
/third_party/boost/boost/histogram/ |
D | histogram.hpp | 40 namespace histogram { namespace 61 class histogram : detail::mutex_base<Axes, Storage> { class 79 histogram() = default; 82 explicit histogram(histogram<A, S>&& rhs) in histogram() function in boost::histogram::histogram 90 explicit histogram(const histogram<A, S>& rhs) in histogram() function in boost::histogram::histogram 97 histogram& operator=(histogram<A, S>&& rhs) { in operator =() 106 histogram& operator=(const histogram<A, S>& rhs) { in operator =() 115 histogram(A&& a, Storage s) in histogram() function in boost::histogram::histogram 123 explicit histogram(Axes axes) : histogram(axes, storage_type()) {} in histogram() function in boost::histogram::histogram 126 explicit histogram(As&&... as) in histogram() function in boost::histogram::histogram [all …]
|
/third_party/boost/libs/histogram/examples/ |
D | guide_histogram_in_api.cpp | 14 boost::histogram::histogram<Axes, Storage> any_histogram( in any_histogram() 15 boost::histogram::histogram<Axes, Storage>& h) { in any_histogram() 21 boost::histogram::histogram<std::tuple<Axes...>, Storage> only_static_histogram( in only_static_histogram() 22 boost::histogram::histogram<std::tuple<Axes...>, Storage>& h) { in only_static_histogram() 28 boost::histogram::histogram<std::vector<boost::histogram::axis::variant<Axes...>>, 31 boost::histogram::histogram<std::vector<boost::histogram::axis::variant<Axes...>>, in only_dynamic_histogram() 37 using namespace boost::histogram; in main()
|
D | getting_started_listing_05.cpp | 25 boost::histogram::axis::regular<>, 26 boost::histogram::axis::integer<> 28 using hist_t = boost::histogram::histogram<axes_t>; 35 using axis_t = boost::histogram::axis::variant< 36 boost::histogram::axis::regular<>, 37 boost::histogram::axis::variable<>, 38 boost::histogram::axis::integer<> 41 using hist_t = boost::histogram::histogram<axes_t>; 48 using namespace boost::histogram; in main()
|
/third_party/boost/libs/accumulators/test/ |
D | p_square_cumul_dist.cpp | 63 histogram_type histogram = p_square_cumulative_distribution(acc); in test_stat() local 65 for (std::size_t i = 0; i < histogram.size(); ++i) in test_stat() 68 if ( histogram[i].second > 0.001 ) in test_stat() 69 …BOOST_CHECK_CLOSE( 0.5 * (1.0 + my_erf( histogram[i].first / std::sqrt(2.0) )), histogram[i].secon… in test_stat() 95 histogram_type histogram = p_square_cumulative_distribution(acc); in test_persistency() local 97 …BOOST_CHECK_CLOSE(0.5 * (1.0 + my_erf(histogram[25].first / std::sqrt(2.0))), histogram[25].second… in test_persistency() 98 …BOOST_CHECK_CLOSE(0.5 * (1.0 + my_erf(histogram[50].first / std::sqrt(2.0))), histogram[50].second… in test_persistency() 99 …BOOST_CHECK_CLOSE(0.5 * (1.0 + my_erf(histogram[75].first / std::sqrt(2.0))), histogram[75].second… in test_persistency() 106 histogram_type histogram = p_square_cumulative_distribution(acc); in test_persistency() local 107 …BOOST_CHECK_CLOSE(0.5 * (1.0 + my_erf(histogram[25].first / std::sqrt(2.0))), histogram[25].second… in test_persistency() [all …]
|
/third_party/grpc/tools/codegen/core/ |
D | gen_stats_data.py | 136 def gen_bucket_code(histogram): argument 142 while len(bounds) < histogram.buckets + 1: 143 if len(bounds) == histogram.buckets: 144 nextb = int(histogram.max) 147 float(histogram.max) / bounds[-1], 148 1.0 / (histogram.buckets + 1 - len(bounds))) 161 256 * histogram.buckets) 164 code = 'value = GPR_CLAMP(value, 0, %d);\n' % histogram.max 168 histogram.name.upper()) 172 histogram.name.upper()) [all …]
|
/third_party/grpc/test/core/util/ |
D | histogram.h | 41 double grpc_histogram_percentile(grpc_histogram* histogram, double percentile); 42 double grpc_histogram_mean(grpc_histogram* histogram); 43 double grpc_histogram_stddev(grpc_histogram* histogram); 44 double grpc_histogram_variance(grpc_histogram* histogram); 45 double grpc_histogram_maximum(grpc_histogram* histogram); 46 double grpc_histogram_minimum(grpc_histogram* histogram); 47 double grpc_histogram_count(grpc_histogram* histogram); 48 double grpc_histogram_sum(grpc_histogram* histogram); 49 double grpc_histogram_sum_of_squares(grpc_histogram* histogram); 51 const uint32_t* grpc_histogram_get_contents(grpc_histogram* histogram, [all …]
|
/third_party/grpc/src/php/tests/qps/ |
D | client.php | 119 $histogram = new Histogram($histres, $histmax); 120 $histogram->clean(); 133 $histogram->add((microtime(true)-$startreq)*1e9); 136 $contents = $histogram->contents(); 138 $histogram_result->setMinSeen($histogram->minimum()); 139 $histogram_result->setMaxSeen($histogram->maximum()); 140 $histogram_result->setSum($histogram->sum()); 141 $histogram_result->setSumOfSquares($histogram->sum_of_squares()); 142 $histogram_result->setCount($histogram->count()); 144 $histogram->clean(); [all …]
|
/third_party/boost/libs/random/test/ |
D | histogram.cpp | 88 void histogram(RNG base, int samples, double from, double to, in histogram() function 123 histogram(make_gen(rng, uniform_smallint<>(0, 5)), 100000, -1, 6, in histograms() 125 histogram(make_gen(rng, uniform_int<>(0, 5)), 100000, -1, 6, in histograms() 127 histogram(make_gen(rng, uniform_real<>(0,1)), 100000, -0.5, 1.5, in histograms() 129 histogram(make_gen(rng, bernoulli_distribution<>(0.2)), 100000, -0.5, 1.5, in histograms() 131 histogram(make_gen(rng, binomial_distribution<>(4, 0.2)), 100000, -1, 5, in histograms() 133 histogram(make_gen(rng, triangle_distribution<>(1, 2, 8)), 100000, 0, 10, in histograms() 135 histogram(make_gen(rng, geometric_distribution<>(5.0/6.0)), 100000, 0, 10, in histograms() 137 histogram(make_gen(rng, exponential_distribution<>(0.3)), 100000, 0, 10, in histograms() 139 histogram(make_gen(rng, cauchy_distribution<>()), 100000, -5, 5, in histograms() [all …]
|
/third_party/skia/third_party/externals/brotli/c/enc/ |
D | bit_cost_inc.h | 12 double FN(BrotliPopulationCost)(const HistogramType* histogram) { in FN() 22 if (histogram->total_count_ == 0) { in FN() 26 if (histogram->data_[i] > 0) { in FN() 36 return (kTwoSymbolHistogramCost + (double)histogram->total_count_); in FN() 39 const uint32_t histo0 = histogram->data_[s[0]]; in FN() 40 const uint32_t histo1 = histogram->data_[s[1]]; in FN() 41 const uint32_t histo2 = histogram->data_[s[2]]; in FN() 52 histo[i] = histogram->data_[s[i]]; in FN() 75 const double log2total = FastLog2(histogram->total_count_); in FN() 77 if (histogram->data_[i] > 0) { in FN() [all …]
|
/third_party/node/deps/brotli/c/enc/ |
D | bit_cost_inc.h | 12 double FN(BrotliPopulationCost)(const HistogramType* histogram) { in FN() 22 if (histogram->total_count_ == 0) { in FN() 26 if (histogram->data_[i] > 0) { in FN() 36 return (kTwoSymbolHistogramCost + (double)histogram->total_count_); in FN() 39 const uint32_t histo0 = histogram->data_[s[0]]; in FN() 40 const uint32_t histo1 = histogram->data_[s[1]]; in FN() 41 const uint32_t histo2 = histogram->data_[s[2]]; in FN() 52 histo[i] = histogram->data_[s[i]]; in FN() 75 const double log2total = FastLog2(histogram->total_count_); in FN() 77 if (histogram->data_[i] > 0) { in FN() [all …]
|
D | literal_cost.c | 61 size_t histogram[3][256] = { { 0 } }; in EstimateBitCostsForLiteralsUTF8() local 72 ++histogram[utf8_pos][c]; in EstimateBitCostsForLiteralsUTF8() 88 --histogram[utf8_pos2][data[(pos + i - window_half) & mask]]; in EstimateBitCostsForLiteralsUTF8() 96 ++histogram[utf8_pos2][data[(pos + i + window_half) & mask]]; in EstimateBitCostsForLiteralsUTF8() 104 size_t histo = histogram[utf8_pos][data[masked_pos]]; in EstimateBitCostsForLiteralsUTF8() 133 size_t histogram[256] = { 0 }; in BrotliEstimateBitCostsForLiterals() local 140 ++histogram[data[(pos + i) & mask]]; in BrotliEstimateBitCostsForLiterals() 148 --histogram[data[(pos + i - window_half) & mask]]; in BrotliEstimateBitCostsForLiterals() 153 ++histogram[data[(pos + i + window_half) & mask]]; in BrotliEstimateBitCostsForLiterals() 156 histo = histogram[data[(pos + i) & mask]]; in BrotliEstimateBitCostsForLiterals()
|
/third_party/boost/libs/histogram/doc/ |
D | guide.qbk | 10 …ections. For an alternative quick start guide, have a look at the [link histogram.getting_started … 14 A histogram consists of a collection of [link histogram.concepts.Axis axis objects] and a [link his… 16 …w). For now, let us stick to the most common axis, the [classref boost::histogram::axis::regular r… 18 …y function [headerref boost/histogram/make_histogram.hpp make_histogram]. The following example sh… 23 … metadata about the axis and so on. The rank of a histogram is given by the number of axes. A hist… 25 …histogram/make_histogram.hpp make_histogram]. This gives the best performance, but sometimes you o… 31 …histogram internally holds them in a `std::tuple`, which is very efficient and avoids a heap memor… 34 …histogram/make_histogram.hpp make_histogram] uses the default storage type, which provides safe co… 40 …tic, no problem, it is easy to write your own axis types, see the [link histogram.guide.expert Adv… 47 [classref boost::histogram::axis::regular regular] [all …]
|
D | overview.qbk | 12 …tical analysis. A histogram consists of a number of non-overlapping cells in data space. When an i… 14 …histogram of the input values than the original values. Keeping the cell counts in memory for anal… 16 …histogram for multi-dimensional data. In the multi-dimensional case, the input consist of tuples o… 18 …histogram/ is usually strictly used for something with cells over discrete or continuous data. Thi… 20 …histogram can handle weighted input. Normally, the cell counter which is connected to an input tup… 28 * [link histogram.overview.structure.host histogram host class]: The histogram host class defines t… 30 * [link histogram.overview.structure.axis axis types]: Defines how input values are mapped to bins.… 32 * [link histogram.overview.structure.storage storage types]: Manages a collection of bin counters. … 36 …histogram has one axis, a multi-dimensional histogram has several. When you pass an input tuple, s… 39 …histogram puts a discrete grid over the line, the plane or the space, and counts how many points l… [all …]
|
D | Jamfile | 9 project doc/histogram ; 21 $(THIS_PATH)/../../../boost/histogram.hpp 22 [ glob $(THIS_PATH)/../../../boost/histogram/*.hpp ] 23 [ glob $(THIS_PATH)/../../../boost/histogram/accumulators/*.hpp ] 24 [ glob $(THIS_PATH)/../../../boost/histogram/algorithm/*.hpp ] 25 [ glob $(THIS_PATH)/../../../boost/histogram/axis/*.hpp ] 50 boostbook histogram 52 histogram.qbk 67 alias boostrelease : histogram ;
|
/third_party/ffmpeg/libavfilter/ |
D | vf_thumbnail_cuda.cu | 26 int *histogram, int src_width, int src_height) in Thumbnail_uchar() argument 33 atomicAdd(&histogram[pixel], 1); in Thumbnail_uchar() 38 int *histogram, int src_width, int src_height) in Thumbnail_uchar2() argument 46 atomicAdd(&histogram[pixel.x], 1); in Thumbnail_uchar2() 47 atomicAdd(&histogram[256 + pixel.y], 1); in Thumbnail_uchar2() 52 int *histogram, int src_width, int src_height) in Thumbnail_ushort() argument 60 atomicAdd(&histogram[pixel], 1); in Thumbnail_ushort() 65 int *histogram, int src_width, int src_height) in Thumbnail_ushort2() argument 73 atomicAdd(&histogram[(pixel.x + 128) >> 8], 1); in Thumbnail_ushort2() 74 atomicAdd(&histogram[256 + ((pixel.y + 128) >> 8)], 1); in Thumbnail_ushort2()
|
D | vf_midequalizer.c | 36 float *histogram[2]; member 126 s->histogram[0], s->histogram[1], in process_frame() 136 int w, int h, float *histogram, size_t hsize) in compute_histogram8() argument 140 memset(histogram, 0, hsize * sizeof(*histogram)); in compute_histogram8() 144 histogram[src[x]] += 1; in compute_histogram8() 150 histogram[x + 1] += histogram[x]; in compute_histogram8() 151 histogram[x] /= hsize; in compute_histogram8() 153 histogram[x] /= hsize; in compute_histogram8() 157 int w, int h, float *histogram, size_t hsize) in compute_histogram16() argument 161 memset(histogram, 0, hsize * sizeof(*histogram)); in compute_histogram16() [all …]
|
D | vf_entropy.c | 42 int64_t *histogram; member 103 s->histogram = av_malloc_array(1 << s->depth, sizeof(*s->histogram)); in config_input() 104 if (!s->histogram) in config_input() 126 memset(s->histogram, 0, (1 << s->depth) * sizeof(*s->histogram)); in filter_frame() 131 s->histogram[src8[x]]++; in filter_frame() 139 s->histogram[src16[x]]++; in filter_frame() 148 if (s->histogram[y]) { in filter_frame() 149 float p = s->histogram[y] / total; in filter_frame() 153 if (y && (s->histogram[y] - s->histogram[y - 1]) != 0) { in filter_frame() 154 float p = FFABS(s->histogram[y] - s->histogram[y - 1]) / total; in filter_frame() [all …]
|
D | vf_tmidequalizer.c | 46 float *histogram[4][256]; member 52 int w, int h, float *histogram, size_t hsize); 198 s->histogram[p][s->f_frames], in filter_frame() 209 memcpy(s->histogram[p][s->f_frames], in filter_frame() 210 s->histogram[p][s->f_frames - 1], in filter_frame() 224 memcpy(s->histogram[p][s->f_frames], in filter_frame() 225 s->histogram[p][s->f_frames - 1], in filter_frame() 240 s->histogram[p][s->del_frame], in filter_frame() 271 compute_contrast_function((const float *const *)s->histogram[p], s->kernel, in filter_frame() 277 s->change[p], s->histogram[p][idx]); in filter_frame() [all …]
|
D | vf_thumbnail_cuda.c | 50 int histogram[HIST_SIZE]; ///< RGB color distribution histogram of the frame member 128 avg_hist[j] += (double)s->frames[i].histogram[j]; in get_best_frame() 134 sq_err = frame_sum_square_err(s->frames[i].histogram, avg_hist); in get_best_frame() 141 memset(s->frames[i].histogram, 0, sizeof(s->frames[i].histogram)); in get_best_frame() 158 int *histogram, uint8_t *src_dptr, int src_width, int src_height, int src_pitch, int pixel_size) in thumbnail_kernel() argument 164 void *args[] = { &tex, &histogram, &src_width, &src_height }; in thumbnail_kernel() 197 static int thumbnail(AVFilterContext *ctx, int *histogram, AVFrame *in) in thumbnail() argument 205 histogram, in->data[0], in->width, in->height, in->linesize[0], 1); in thumbnail() 207 histogram + 256, in->data[1], in->width / 2, in->height / 2, in->linesize[1], 1); in thumbnail() 211 histogram, in->data[0], in->width, in->height, in->linesize[0], 1); in thumbnail() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/ |
D | HistogramWriter.cpp | 82 for (const auto &histogram : mHistograms) in getAsJSON() local 84 std::unique_ptr<proto::Histogram> proto = histogram.second->toProto(); in getAsJSON() 95 const proto::Histogram &histogram = histogramSet.histograms(histogramIndex); in getAsJSON() local 99 js::Value name(histogram.name(), allocator); in getAsJSON() 102 js::Value description(histogram.description(), allocator); in getAsJSON() 105 js::Value unitAndDirection(GetUnitAndDirection(histogram.unit()), allocator); in getAsJSON() 108 if (histogram.has_diagnostics()) in getAsJSON() 112 for (const auto &mapIter : histogram.diagnostics().diagnostic_map()) in getAsJSON() 152 for (int sampleIndex = 0; sampleIndex < histogram.sample_values_size(); ++sampleIndex) in getAsJSON() 154 js::Value sample(histogram.sample_values(sampleIndex)); in getAsJSON() [all …]
|
/third_party/boost/boost/histogram/accumulators/ |
D | weighted_sum.hpp | 15 namespace histogram { namespace 102 struct common_type<boost::histogram::accumulators::weighted_sum<T>, 103 boost::histogram::accumulators::weighted_sum<U>> { 104 using type = boost::histogram::accumulators::weighted_sum<common_type_t<T, U>>; 108 struct common_type<boost::histogram::accumulators::weighted_sum<T>, U> { 109 using type = boost::histogram::accumulators::weighted_sum<common_type_t<T, U>>; 113 struct common_type<T, boost::histogram::accumulators::weighted_sum<U>> { 114 using type = boost::histogram::accumulators::weighted_sum<common_type_t<T, U>>;
|
/third_party/boost/libs/histogram/test/ |
D | deduction_guides_test.cpp | 22 using namespace boost::histogram; 94 auto h = histogram(axis::regular(3, -1, 1), axis::integer(0, 4)); in main() 96 histogram<std::tuple<axis::regular<double, tr::id, null_type>, in main() 103 auto h = histogram(std::tuple(axis::regular(3, -1, 1), axis::integer(0, 4)), in main() 106 histogram<std::tuple<axis::regular<double, tr::id, null_type>, in main() 117 auto h = histogram(axes); in main() 119 decltype(h), histogram<std::vector<axis::regular<double, tr::id, null_type>>>); in main() 129 auto h = histogram(axes, weight_storage()); in main() 132 histogram<std::vector<axis::regular<double, tr::id, null_type>>, weight_storage>); in main() 142 auto h = histogram(axes); in main() [all …]
|