Home
last modified time | relevance | path

Searched full:bins (Results 1 – 25 of 261) sorted by relevance

1234567891011

/external/webrtc/webrtc/system_wrappers/source/spreadsortlib/
Dspreadsort.hpp44 //This is called for a set of bins, instead of bin-by-bin, to avoid performance overhead
96 …//If we can finish in one iteration without exceeding either (2 to the MAX_SPLITS) or n bins, do so in get_log_divisor()
120 //Make sure there is space for the bins in size_bins()
146 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); in spread_sort_rec() local
152 bins[0] = first; in spread_sort_rec()
154 bins[u + 1] = bins[u] + bin_sizes[u]; in spread_sort_rec()
160 RandomAccessIter * local_bin = bins + u; in spread_sort_rec()
165 for(target_bin = (bins + ((*current >> log_divisor) - div_min)); target_bin != local_bin; in spread_sort_rec()
166 target_bin = bins + ((*current >> log_divisor) - div_min)) { in spread_sort_rec()
171 RandomAccessIter * b_bin = bins + ((*b >> log_divisor) - div_min); in spread_sort_rec()
[all …]
/external/grpc-grpc/tools/interop_matrix/testcases/
Dcxx__master3 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
4 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
5 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
6 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
7 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
8 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
9 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
10 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
11 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
12 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
[all …]
/external/tensorflow/tensorflow/python/ops/
Dhistogram_ops_test.py34 # Bins will be:
40 bins = histogram_ops.histogram_fixed_width_bins(
42 self.assertEqual(dtypes.int32, bins.dtype)
43 self.assertAllClose(expected_bins, self.evaluate(bins))
46 # Bins will be:
52 bins = histogram_ops.histogram_fixed_width_bins(
54 self.assertEqual(dtypes.int32, bins.dtype)
55 self.assertAllClose(expected_bins, self.evaluate(bins))
58 # Bins will be:
64 bins = histogram_ops.histogram_fixed_width_bins(
[all …]
Dhistogram_ops.py38 """Bins the given values for use in a histogram.
42 of `values` would be binned. The bins are equal width and
50 nbins: Scalar `int32 Tensor`. Number of histogram bins.
61 # Bins will be: (-inf, 1), [1, 2), [2, 3), [3, 4), [4, inf)
107 the number of entries in `values` that fell into every bin. The bins are
115 nbins: Scalar `int32 Tensor`. Number of histogram bins.
125 # Bins will be: (-inf, 1), [1, 2), [2, 3), [3, 4), [4, inf)
/external/eigen/test/
Drand.cpp40 template<typename Scalar> void check_histogram(Scalar x, Scalar y, int bins) in check_histogram() argument
42 Array<int,1,Dynamic> hist(bins); in check_histogram()
45 int n = bins*f; in check_histogram()
47 int divisor = int((range+1)/bins); in check_histogram()
48 assert(((range+1)%bins)==0); in check_histogram()
113 int bins = 100; in test_rand() local
114 CALL_SUBTEST(check_histogram<int>(-3333,-3333+bins*(3333/bins)-1,bins)); in test_rand()
115 bins = 1000; in test_rand()
116 CALL_SUBTEST(check_histogram<int>(-RAND_MAX+10,-RAND_MAX+10+bins*(RAND_MAX/bins)-1,bins)); in test_rand()
117 …BTEST(check_histogram<int>(-RAND_MAX+10,-int64(RAND_MAX)+10+bins*(2*int64(RAND_MAX)/bins)-1,bins)); in test_rand()
/external/skia/tests/
DRandomTest.cpp34 static bool chi_square_test(int bins[256], int e) { in chi_square_test()
42 double delta = bins[j] - e; in chi_square_test()
60 int bins[256]; in test_random_byte() local
61 memset(bins, 0, sizeof(int)*256); in test_random_byte()
65 bins[(rand.nextU() >> shift) & 0xff]++; in test_random_byte()
68 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000)); in test_random_byte()
72 int bins[256]; in test_random_float() local
73 memset(bins, 0, sizeof(int)*256); in test_random_float()
79 bins[(int)(f*256.f)]++; in test_random_float()
81 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000)); in test_random_float()
[all …]
/external/skqp/tests/
DRandomTest.cpp34 static bool chi_square_test(int bins[256], int e) { in chi_square_test()
42 double delta = bins[j] - e; in chi_square_test()
60 int bins[256]; in test_random_byte() local
61 memset(bins, 0, sizeof(int)*256); in test_random_byte()
65 bins[(rand.nextU() >> shift) & 0xff]++; in test_random_byte()
68 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000)); in test_random_byte()
72 int bins[256]; in test_random_float() local
73 memset(bins, 0, sizeof(int)*256); in test_random_float()
79 bins[(int)(f*256.f)]++; in test_random_float()
81 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000)); in test_random_float()
[all …]
/external/webp/src/utils/
Dfilters_utils.c32 int bins[WEBP_FILTER_LAST][SMAX]; in WebPEstimateBestFilter() local
33 memset(bins, 0, sizeof(bins)); in WebPEstimateBestFilter()
46 bins[WEBP_FILTER_NONE][diff0] = 1; in WebPEstimateBestFilter()
47 bins[WEBP_FILTER_HORIZONTAL][diff1] = 1; in WebPEstimateBestFilter()
48 bins[WEBP_FILTER_VERTICAL][diff2] = 1; in WebPEstimateBestFilter()
49 bins[WEBP_FILTER_GRADIENT][diff3] = 1; in WebPEstimateBestFilter()
60 if (bins[filter][i] > 0) { in WebPEstimateBestFilter()
/external/libdrm/nouveau/
Dbufctx.c52 struct nouveau_bufbin_priv bins[]; member
62 nouveau_bufctx_new(struct nouveau_client *client, int bins, in nouveau_bufctx_new() argument
67 priv = calloc(1, sizeof(*priv) + sizeof(priv->bins[0]) * bins); in nouveau_bufctx_new()
73 priv->nr_bins = bins; in nouveau_bufctx_new()
102 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin]; in nouveau_bufctx_reset()
121 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin]; in nouveau_bufctx_refn()
149 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin]; in nouveau_bufctx_mthd()
/external/bcc/examples/lua/
Dkprobe-latency.lua25 local bins = 100
27 local lat_map = bpf.map('array', bins)
42 if index >= bins then
43 index = bins-1
61 for i=29,bins-1 do
70 for i=29,bins-1 do
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
DEmpiricalDistributionImpl.java43 * <li>Divide the range from min-max into <code>binCount</code> "bins."</li>
45 * statistics (mean, std dev.) for each of the bins </li>
46 * <li>Divide the interval (0,1) into subintervals associated with the bins,
68 /** List of SummaryStatistics objects characterizing the bins */
83 /** number of bins */
89 /** upper bounds of subintervals in (0,1) "belonging" to the bins */
106 * @param binCount number of bins
411 * Returns the number of bins.
413 * @return the number of bins.
421 * statistics describing the values in each of the bins. The list is
[all …]
DEmpiricalDistribution.java108 * Returns the number of bins.
110 * @return the number of bins
117 * containing statistics describing the values in each of the bins. The
125 * Returns the array of upper bounds for the bins. Bins are: <br/>
/external/libvpx/libvpx/build/make/
DMakefile373 BINS=$(call enabled,BINS) macro
374 .bins: $(BINS)
377 INSTALL-BINS=$(call cond_enabled,CONFIG_INSTALL_BINS,INSTALL-BINS)
379 INSTALL-BINS+=$(call cond_enabled,CONFIG_INSTALL_BINS,DIST-BINS)
381 .install-bins: .bins $(addprefix $(DIST_DIR)/,$(INSTALL-BINS))
385 rm -f .bins .install-bins $(BINS)
453 BUILD_TARGETS += .docs .libs .bins
454 INSTALL_TARGETS += .install-docs .install-srcs .install-libs .install-bins
/external/jemalloc_new/include/jemalloc/internal/
Dtcache_structs.h20 * The pointer stacks associated with bins follow as a contiguous array.
33 * The descriptor lets the arena find our cache bins without seeing the
43 /* For small bins, fill (ncached_max >> lg_fill_div). */
46 * We put the cache bins for large size classes at the end of the
/external/iproute2/man/man8/
Dtc-sfb.843 This SFB implementation maintains 8 levels of 16 bins each for accounting.
51 The marking probability is based on the minimum value of all bins a flow is
61 Due to SFBs nature, it is possible for responsive flows to share all of its bins
88 implementation maintains a second set of levels/bins as described in section
93 happens, these bins will be used to manage the queue and all non-responsive
196 Only use destination ip addresses for assigning packets to bins, perturbing
/external/honggfuzz/examples/badcode/targets/
DMakefile4 BINS = badcode1 badcode2 macro
6 all: $(BINS)
10 @(echo CLEAN; $(RM) $(BINS))
/external/tensorflow/tensorflow/contrib/metrics/python/ops/
Dhistogram_ops.py55 to finite number of bins. If scores are concentrated in a fewer bins,
57 numbers of bins and comparing results.
65 nbins: Integer number of bins to use. Accuracy strictly increases as the
66 number of bins increases.
186 nbins: Integer number of bins in the histograms.
196 # Note that the above paper has an error, and we need to re-order our bins to
/external/jemalloc_new/src/
Dstats.c182 "arenas.0.bins.0","mutex", #counter); \ in mutex_stats_read_arena_bin()
284 * We print a "bins:" header as part of the table row; we need to adjust in stats_arena_bins_print()
288 emitter_table_printf(emitter, "bins:"); in stats_arena_bins_print()
290 emitter_json_arr_begin(emitter, "bins"); in stats_arena_bins_print()
300 CTL_M2_M4_GET("stats.arenas.0.bins.0.nslabs", i, j, &nslabs, in stats_arena_bins_print()
314 CTL_M2_M4_GET("stats.arenas.0.bins.0.nmalloc", i, j, &nmalloc, in stats_arena_bins_print()
316 CTL_M2_M4_GET("stats.arenas.0.bins.0.ndalloc", i, j, &ndalloc, in stats_arena_bins_print()
318 CTL_M2_M4_GET("stats.arenas.0.bins.0.curregs", i, j, &curregs, in stats_arena_bins_print()
320 CTL_M2_M4_GET("stats.arenas.0.bins.0.nrequests", i, j, in stats_arena_bins_print()
322 CTL_M2_M4_GET("stats.arenas.0.bins.0.nfills", i, j, &nfills, in stats_arena_bins_print()
[all …]
/external/autotest/client/cros/crash/crasher/
DMakefile5 BINS = crasher_nobreakpad macro
15 $(TGZ): $(BINS)
17 rm -f $(BINS)
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ScalarEvolution/
Dtrip-count.ll42 %bins = alloca [16 x i64], align 16
43 %0 = bitcast [16 x i64]* %bins to i8*
55 %arrayidx = getelementptr [16 x i64], [16 x i64]* %bins, i64 0, i64 %v11
68 %arrayidx8 = getelementptr [16 x i64], [16 x i64]* %bins, i64 0, i64 2
76 %arrayidx.1 = getelementptr [16 x i64], [16 x i64]* %bins, i64 0, i64 %next12
/external/llvm/test/Analysis/ScalarEvolution/
Dtrip-count.ll42 %bins = alloca [16 x i64], align 16
43 %0 = bitcast [16 x i64]* %bins to i8*
55 %arrayidx = getelementptr [16 x i64], [16 x i64]* %bins, i64 0, i64 %v11
68 %arrayidx8 = getelementptr [16 x i64], [16 x i64]* %bins, i64 0, i64 2
76 %arrayidx.1 = getelementptr [16 x i64], [16 x i64]* %bins, i64 0, i64 %next12
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_scene.h94 * For each screen tile we have one of these bins.
108 * the per-tile bins will point to chunks of data in this structure.
121 * All bins and bin data are contained here.
122 * Per-bin data goes into the 'tile' bins.
158 * data blocks and counts all bins, state, resource references and
176 int curr_x, curr_y; /**< for iterating over bins */
355 /* Add a command to all active bins.
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_HistogramFixedWidth.pbtxt20 Scalar `int32 Tensor`. Number of histogram bins.
32 the number of entries in `values` that fall into every bin. The bins are
36 # Bins will be: (-inf, 1), [1, 2), [2, 3), [3, 4), [4, inf)
/external/jemalloc/src/
Dstats.c50 "\t\t\t\t\"bins\": [\n"); in stats_arena_bins_print()
55 "bins: size ind allocated nmalloc" in stats_arena_bins_print()
61 "bins: size ind allocated nmalloc" in stats_arena_bins_print()
75 CTL_M2_M4_GET("stats.arenas.0.bins.0.nruns", i, j, &nruns, in stats_arena_bins_print()
89 CTL_M2_M4_GET("stats.arenas.0.bins.0.nmalloc", i, j, &nmalloc, in stats_arena_bins_print()
91 CTL_M2_M4_GET("stats.arenas.0.bins.0.ndalloc", i, j, &ndalloc, in stats_arena_bins_print()
93 CTL_M2_M4_GET("stats.arenas.0.bins.0.curregs", i, j, &curregs, in stats_arena_bins_print()
95 CTL_M2_M4_GET("stats.arenas.0.bins.0.nrequests", i, j, in stats_arena_bins_print()
98 CTL_M2_M4_GET("stats.arenas.0.bins.0.nfills", i, j, in stats_arena_bins_print()
100 CTL_M2_M4_GET("stats.arenas.0.bins.0.nflushes", i, j, in stats_arena_bins_print()
[all …]
/external/jemalloc/test/unit/
Dstats.c302 assert_d_eq(mallctl("stats.arenas.0.bins.0.nmalloc", (void *)&nmalloc, in TEST_BEGIN()
304 assert_d_eq(mallctl("stats.arenas.0.bins.0.ndalloc", (void *)&ndalloc, in TEST_BEGIN()
306 assert_d_eq(mallctl("stats.arenas.0.bins.0.nrequests", in TEST_BEGIN()
310 assert_d_eq(mallctl("stats.arenas.0.bins.0.curregs", (void *)&curregs, in TEST_BEGIN()
314 assert_d_eq(mallctl("stats.arenas.0.bins.0.nfills", (void *)&nfills, in TEST_BEGIN()
317 assert_d_eq(mallctl("stats.arenas.0.bins.0.nflushes", (void *)&nflushes, in TEST_BEGIN()
321 assert_d_eq(mallctl("stats.arenas.0.bins.0.nruns", (void *)&nruns, &sz, in TEST_BEGIN()
323 assert_d_eq(mallctl("stats.arenas.0.bins.0.nreruns", (void *)&nreruns, in TEST_BEGIN()
326 assert_d_eq(mallctl("stats.arenas.0.bins.0.curruns", (void *)&curruns, in TEST_BEGIN()

1234567891011