/external/eigen/test/ |
D | rand.cpp | 40 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/ |
D | RandomTest.cpp | 34 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/ |
D | RandomTest.cpp | 34 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/webrtc/webrtc/system_wrappers/source/spreadsortlib/ |
D | spreadsort.hpp | 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() 185 bins[bin_count - 1] = last; in spread_sort_rec() 209 …inline void inner_swap_loop(RandomAccessIter * bins, const RandomAccessIter & nextbinstart, unsign… in inner_swap_loop() argument 212 RandomAccessIter * local_bin = bins + ii; in inner_swap_loop() [all …]
|
/external/webp/src/utils/ |
D | filters_utils.c | 32 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/tensorflow/tensorflow/python/ops/ |
D | histogram_ops_test.py | 40 bins = histogram_ops.histogram_fixed_width_bins( 42 self.assertEqual(dtypes.int32, bins.dtype) 43 self.assertAllClose(expected_bins, self.evaluate(bins)) 52 bins = histogram_ops.histogram_fixed_width_bins( 54 self.assertEqual(dtypes.int32, bins.dtype) 55 self.assertAllClose(expected_bins, self.evaluate(bins)) 64 bins = histogram_ops.histogram_fixed_width_bins( 66 self.assertEqual(dtypes.int32, bins.dtype) 67 self.assertAllClose(expected_bins, self.evaluate(bins)) 77 bins = histogram_ops.histogram_fixed_width_bins( [all …]
|
/external/bcc/examples/lua/ |
D | kprobe-latency.lua | 25 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/libdrm/nouveau/ |
D | bufctx.c | 52 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/tensorflow/tensorflow/contrib/image/python/kernel_tests/ |
D | segmentation_test.py | 93 bins = np.bincount(components.ravel()) 95 self.assertGreater(bins[0], 0) 96 self.assertGreater(bins[1], 0) 97 self.assertGreater(bins[2], 0)
|
/external/grpc-grpc/tools/run_tests/artifacts/ |
D | build_artifact_protoc.sh | 26 cp bins/opt/protobuf/protoc bins/opt/*_plugin "${ARTIFACTS_OUT}"/
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ScalarEvolution/ |
D | trip-count.ll | 42 %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/ |
D | trip-count.ll | 42 %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/jemalloc/src/ |
D | android_je_mallinfo.c | 34 arena_bin_t* bin = &arenas[i]->bins[j]; in je_mallinfo() 70 arena_bin_t* bin = &arenas[aidx]->bins[j]; in __mallinfo_arena_info() 89 arena_bin_t* bin = &arenas[aidx]->bins[bidx]; in __mallinfo_bin_info()
|
D | stats.c | 318 bool json, unsigned i, bool bins, bool large, bool huge) in stats_arena_print() argument 546 if (bins) { in stats_arena_print() 947 bool json, bool merged, bool unmerged, bool bins, bool large, bool huge) in stats_print_helper() argument 1023 narenas, bins, large, huge); in stats_print_helper() 1045 json, i, bins, large, huge); in stats_print_helper() 1074 bool bins = true; in stats_print() local 1118 bins = false; in stats_print() 1144 bins, large, huge); in stats_print()
|
/external/libvpx/libvpx/build/make/ |
D | Makefile | 374 .bins: $(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/grpc-grpc/src/ruby/pb/ |
D | generate_proto_ruby.sh | 20 PROTOC=bins/opt/protobuf/protoc 21 PLUGIN=protoc-gen-grpc=bins/opt/grpc_ruby_plugin
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | stateless_random_ops_test.py | 78 def _chi_squared(self, x, bins): argument 82 histogram, _ = np.histogram(x, bins=bins, range=(0, 1)) 83 expected = n / float(bins)
|
D | stateful_random_ops_test.py | 184 def _chi_squared(self, x, bins): argument 188 histogram, _ = np.histogram(x, bins=bins, range=(0, 1)) 189 expected = n / float(bins)
|
/external/grpc-grpc/src/php/bin/ |
D | generate_proto_php.sh | 22 --plugin=protoc-gen-grpc=bins/opt/grpc_php_plugin \ 38 --plugin=protoc-gen-grpc=bins/opt/grpc_php_plugin \
|
/external/grpc-grpc/src/csharp/ |
D | generate_proto_csharp.sh | 20 PROTOC=bins/opt/protobuf/protoc 21 PLUGIN=protoc-gen-grpc=bins/opt/grpc_csharp_plugin
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | HistogramChart.java | 250 int[][] bins = new int[rawData.size()][getNumBins()]; in recalculateDataSet() local 254 ++bins[setNum][(int) (Math.floor((d - minBin) / binWidth))]; in recalculateDataSet() 261 for (int i = 0; i < bins[setNum].length; i++) { in recalculateDataSet() 262 dataSet.addEntry(new BarEntry(i, bins[setNum][i])); in recalculateDataSet()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_HistogramFixedWidth.pbtxt | 20 Scalar `int32 Tensor`. Number of histogram bins. 32 the number of entries in `values` that fall into every bin. The bins are
|
/external/u-boot/doc/device-tree-bindings/net/ |
D | stmmac.txt | 28 - snps,multicast-filter-bins: Number of multicast filter hash bins 59 snps,multicast-filter-bins = <256>;
|
/external/jemalloc/include/jemalloc/internal/ |
D | size_classes.sh | 243 * NTBINS: Number of tiny bins. 244 * NLBINS: Number of bins supported by the lookup table. 245 * NBINS: Number of small size class bins.
|
/external/jemalloc_new/src/ |
D | android_je_mallinfo.c | 37 bin_t* bin = &arena->bins[j]; in accumulate_small_allocs() 104 bin_t* bin = &arena->bins[bidx]; in je_mallinfo_bin_info()
|