Home
last modified time | relevance | path

Searched refs:boundaries (Results 1 – 25 of 327) sorted by relevance

12345678910>>...14

/external/grpc-grpc/tools/run_tests/performance/
Dmassage_qps_stats.py325 "%f" % x for x in h.boundaries)
328 h.buckets, 50, h.boundaries)
331 h.buckets, 95, h.boundaries)
334 h.buckets, 99, h.boundaries)
340 "%f" % x for x in h.boundaries)
343 h.buckets, 50, h.boundaries)
346 h.buckets, 95, h.boundaries)
349 h.buckets, 99, h.boundaries)
354 "%f" % x for x in h.boundaries)
357 h.buckets, 50, h.boundaries)
[all …]
Dmassage_qps_stats_helpers.py18 def _threshold_for_count_below(buckets, boundaries, count_below): argument
30 return (boundaries[lower_idx] + boundaries[upper_idx]) / 2.0
34 lower_bound = boundaries[lower_idx]
35 upper_bound = boundaries[lower_idx + 1]
40 def percentile(buckets, pctl, boundaries): argument
41 return _threshold_for_count_below(buckets, boundaries,
58 boundaries = []
61 boundaries.append(int(b.get('start', 0)))
62 return Histogram(buckets=buckets, boundaries=boundaries)
/external/icu/icu4c/source/i18n/
Dbrktrans.cpp77 LocalPointer<UVector32> boundaries; in handleTransliterate() local
82 boundaries.moveFrom(nonConstThis->cachedBoundaries); in handleTransliterate()
88 if (boundaries.isNull()) { in handleTransliterate()
89 boundaries.adoptInstead(new UVector32(status)); in handleTransliterate()
92 if (bi.isNull() || boundaries.isNull() || U_FAILURE(status)) { in handleTransliterate()
96 boundaries->removeAllElements(); in handleTransliterate()
119 boundaries->addElement(boundary, status); in handleTransliterate()
126 if (boundaries->size() != 0) { // if we found something, adjust in handleTransliterate()
127 delta = boundaries->size() * fInsertion.length(); in handleTransliterate()
128 lastBoundary = boundaries->lastElementi(); in handleTransliterate()
[all …]
/external/libaom/libaom/av1/common/
Dalloccommon.c151 RestorationStripeBoundaries *boundaries = &cm->rst_info[p].boundaries; in av1_alloc_restoration_buffers() local
153 if (buf_size != boundaries->stripe_boundary_size || in av1_alloc_restoration_buffers()
154 boundaries->stripe_boundary_above == NULL || in av1_alloc_restoration_buffers()
155 boundaries->stripe_boundary_below == NULL) { in av1_alloc_restoration_buffers()
156 aom_free(boundaries->stripe_boundary_above); in av1_alloc_restoration_buffers()
157 aom_free(boundaries->stripe_boundary_below); in av1_alloc_restoration_buffers()
159 CHECK_MEM_ERROR(cm, boundaries->stripe_boundary_above, in av1_alloc_restoration_buffers()
161 CHECK_MEM_ERROR(cm, boundaries->stripe_boundary_below, in av1_alloc_restoration_buffers()
164 boundaries->stripe_boundary_size = buf_size; in av1_alloc_restoration_buffers()
166 boundaries->stripe_boundary_stride = stride; in av1_alloc_restoration_buffers()
[all …]
/external/boringssl/src/third_party/wycheproof_testvectors/
Ddsa_test.txt884 # Some implementations of DSA do not properly check for boundaries. In some
893 # Some implementations of DSA do not properly check for boundaries. In some
902 # Some implementations of DSA do not properly check for boundaries. In some
911 # Some implementations of DSA do not properly check for boundaries. In some
920 # Some implementations of DSA do not properly check for boundaries. In some
929 # Some implementations of DSA do not properly check for boundaries. In some
938 # Some implementations of DSA do not properly check for boundaries. In some
947 # Some implementations of DSA do not properly check for boundaries. In some
956 # Some implementations of DSA do not properly check for boundaries. In some
965 # Some implementations of DSA do not properly check for boundaries. In some
[all …]
Decdsa_secp224r1_sha224_test.txt911 # implementation does not check boundaries and computes s^(-1)==0.
919 # implementation does not check boundaries and computes s^(-1)==0.
927 # implementation does not check boundaries and computes s^(-1)==0.
935 # implementation does not check boundaries and computes s^(-1)==0.
943 # implementation does not check boundaries and computes s^(-1)==0.
951 # implementation does not check boundaries and computes s^(-1)==0.
959 # implementation does not check boundaries and computes s^(-1)==0.
967 # implementation does not check boundaries and computes s^(-1)==0.
975 # implementation does not check boundaries and computes s^(-1)==0.
983 # implementation does not check boundaries and computes s^(-1)==0.
[all …]
Decdsa_secp384r1_sha384_test.txt911 # implementation does not check boundaries and computes s^(-1)==0.
919 # implementation does not check boundaries and computes s^(-1)==0.
927 # implementation does not check boundaries and computes s^(-1)==0.
935 # implementation does not check boundaries and computes s^(-1)==0.
943 # implementation does not check boundaries and computes s^(-1)==0.
951 # implementation does not check boundaries and computes s^(-1)==0.
959 # implementation does not check boundaries and computes s^(-1)==0.
967 # implementation does not check boundaries and computes s^(-1)==0.
975 # implementation does not check boundaries and computes s^(-1)==0.
983 # implementation does not check boundaries and computes s^(-1)==0.
[all …]
Decdsa_secp224r1_sha256_test.txt901 # implementation does not check boundaries and computes s^(-1)==0.
909 # implementation does not check boundaries and computes s^(-1)==0.
917 # implementation does not check boundaries and computes s^(-1)==0.
925 # implementation does not check boundaries and computes s^(-1)==0.
933 # implementation does not check boundaries and computes s^(-1)==0.
941 # implementation does not check boundaries and computes s^(-1)==0.
949 # implementation does not check boundaries and computes s^(-1)==0.
957 # implementation does not check boundaries and computes s^(-1)==0.
965 # implementation does not check boundaries and computes s^(-1)==0.
973 # implementation does not check boundaries and computes s^(-1)==0.
[all …]
Decdsa_secp256r1_sha256_test.txt911 # implementation does not check boundaries and computes s^(-1)==0.
919 # implementation does not check boundaries and computes s^(-1)==0.
927 # implementation does not check boundaries and computes s^(-1)==0.
935 # implementation does not check boundaries and computes s^(-1)==0.
943 # implementation does not check boundaries and computes s^(-1)==0.
951 # implementation does not check boundaries and computes s^(-1)==0.
959 # implementation does not check boundaries and computes s^(-1)==0.
967 # implementation does not check boundaries and computes s^(-1)==0.
975 # implementation does not check boundaries and computes s^(-1)==0.
983 # implementation does not check boundaries and computes s^(-1)==0.
[all …]
Decdsa_secp224r1_sha512_test.txt911 # implementation does not check boundaries and computes s^(-1)==0.
919 # implementation does not check boundaries and computes s^(-1)==0.
927 # implementation does not check boundaries and computes s^(-1)==0.
935 # implementation does not check boundaries and computes s^(-1)==0.
943 # implementation does not check boundaries and computes s^(-1)==0.
951 # implementation does not check boundaries and computes s^(-1)==0.
959 # implementation does not check boundaries and computes s^(-1)==0.
967 # implementation does not check boundaries and computes s^(-1)==0.
975 # implementation does not check boundaries and computes s^(-1)==0.
983 # implementation does not check boundaries and computes s^(-1)==0.
[all …]
Decdsa_secp256r1_sha512_test.txt911 # implementation does not check boundaries and computes s^(-1)==0.
919 # implementation does not check boundaries and computes s^(-1)==0.
927 # implementation does not check boundaries and computes s^(-1)==0.
935 # implementation does not check boundaries and computes s^(-1)==0.
943 # implementation does not check boundaries and computes s^(-1)==0.
951 # implementation does not check boundaries and computes s^(-1)==0.
959 # implementation does not check boundaries and computes s^(-1)==0.
967 # implementation does not check boundaries and computes s^(-1)==0.
975 # implementation does not check boundaries and computes s^(-1)==0.
983 # implementation does not check boundaries and computes s^(-1)==0.
[all …]
Decdsa_secp521r1_sha512_test.txt904 # implementation does not check boundaries and computes s^(-1)==0.
912 # implementation does not check boundaries and computes s^(-1)==0.
920 # implementation does not check boundaries and computes s^(-1)==0.
928 # implementation does not check boundaries and computes s^(-1)==0.
936 # implementation does not check boundaries and computes s^(-1)==0.
944 # implementation does not check boundaries and computes s^(-1)==0.
952 # implementation does not check boundaries and computes s^(-1)==0.
960 # implementation does not check boundaries and computes s^(-1)==0.
968 # implementation does not check boundaries and computes s^(-1)==0.
976 # implementation does not check boundaries and computes s^(-1)==0.
[all …]
/external/python/cpython2/Lib/test/
Dtest_multifile.py41 global boundaries, linecount
47 boundaries += 1
58 global boundaries, linecount
59 boundaries = 0
63 assert boundaries == 2
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/
Dquantile_ops.cc177 std::vector<float> boundaries = stream.GenerateBoundaries(num_boundaries); in GenerateBoundaries() local
180 auto end_it = std::unique(boundaries.begin(), boundaries.end()); in GenerateBoundaries()
181 boundaries.resize(std::distance(boundaries.begin(), end_it)); in GenerateBoundaries()
182 return boundaries; in GenerateBoundaries()
190 std::vector<float> boundaries = stream.GenerateQuantiles(num_quantiles); in GenerateQuantiles() local
191 CHECK_EQ(boundaries.size(), num_quantiles + 1); in GenerateQuantiles()
192 return boundaries; in GenerateQuantiles()
197 const std::vector<float>& boundaries, const int64 index, in CopyBoundaries() argument
203 index, {static_cast<int64>(boundaries.size())}, &output_t)); in CopyBoundaries()
205 memcpy(quantiles_flat, boundaries.data(), sizeof(float) * boundaries.size()); in CopyBoundaries()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBreakTransliterator.java26 private int[] boundaries = new int[50]; field in BreakTransliterator
108 if (boundaryCount >= boundaries.length) { // realloc if necessary in handleTransliterate()
109 int[] temp = new int[boundaries.length * 2]; in handleTransliterate()
110 System.arraycopy(boundaries, 0, temp, 0, boundaries.length); in handleTransliterate()
111 boundaries = temp; in handleTransliterate()
114 boundaries[boundaryCount++] = boundary; in handleTransliterate()
123 lastBoundary = boundaries[boundaryCount-1]; in handleTransliterate()
128 boundary = boundaries[--boundaryCount]; in handleTransliterate()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_BoostedTreesQuantileStreamResourceDeserialize.pbtxt13 float; List of Rank 1 Tensors each containing the bucket boundaries for a feature.
19 inferred int; number of features to get bucket boundaries for.
22 summary: "Deserialize bucket boundaries and ready flag into current QuantileAccumulator."
24 An op that deserializes bucket boundaries and are boundaries ready flag into current QuantileAccumu…
Dapi_def_BoostedTreesQuantileStreamResourceGetBucketBoundaries.pbtxt13 float; List of Rank 1 Tensors each containing the bucket boundaries for a feature.
19 inferred int; number of features to get bucket boundaries for.
22 summary: "Generate the bucket boundaries for each feature based on accumulated summaries."
25 tensor is Rank 1 containing bucket boundaries for a single feature.
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DBreakTransliterator.java25 private int[] boundaries = new int[50]; field in BreakTransliterator
107 if (boundaryCount >= boundaries.length) { // realloc if necessary in handleTransliterate()
108 int[] temp = new int[boundaries.length * 2]; in handleTransliterate()
109 System.arraycopy(boundaries, 0, temp, 0, boundaries.length); in handleTransliterate()
110 boundaries = temp; in handleTransliterate()
113 boundaries[boundaryCount++] = boundary; in handleTransliterate()
122 lastBoundary = boundaries[boundaryCount-1]; in handleTransliterate()
127 boundary = boundaries[--boundaryCount]; in handleTransliterate()
/external/tensorflow/tensorflow/python/kernel_tests/
Dbucketize_op_test.py33 boundaries=[0, 3, 8, 11])
41 boundaries=[0., 3., 8., 11.])
49 boundaries=[0, 3, 8, 11])
57 constant_op.constant([-5, 0]), boundaries=[0, 8, 3, 11])
66 math_ops._bucketize(constant_op.constant([-5, 0]), boundaries=0)
/external/tensorflow/tensorflow/core/kernels/boosted_trees/
Dquantile_ops.cc63 std::vector<float> boundaries = stream.GenerateBoundaries(num_boundaries); in GenerateBoundaries() local
66 auto end_it = std::unique(boundaries.begin(), boundaries.end()); in GenerateBoundaries()
67 boundaries.resize(std::distance(boundaries.begin(), end_it)); in GenerateBoundaries()
68 return boundaries; in GenerateBoundaries()
76 std::vector<float> boundaries = stream.GenerateQuantiles(num_quantiles - 1); in GenerateQuantiles() local
77 CHECK_EQ(boundaries.size(), num_quantiles); in GenerateQuantiles()
78 return boundaries; in GenerateQuantiles()
410 const auto& boundaries = stream_resource->boundaries(stream_idx); in Compute() local
414 stream_idx, {static_cast<int64>(boundaries.size())}, in Compute()
417 memcpy(quantiles_flat, boundaries.data(), in Compute()
[all …]
/external/tensorflow/tensorflow/compiler/tests/
Dbucketize_op_test.py35 op = math_ops._bucketize(p, boundaries=[0, 3, 8, 11])
44 op = math_ops._bucketize(p, boundaries=[0., 3., 8., 11.])
54 op = math_ops._bucketize(p, boundaries=[0, 3, 8, 11])
64 op = math_ops._bucketize(p, boundaries=[0, 8, 3, 11])
74 math_ops._bucketize(p, boundaries=0)
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dbucket_by_sequence_length_test.py86 boundaries = [10, 20, 30]
141 boundaries,
210 boundaries = [10, 20, 30]
239 boundaries,
269 boundaries = [10, 20, 30]
283 el = [1] * (boundaries[-1] + 5)
290 element_len, boundaries, batch_sizes,
311 self.assertEqual([boundary - 1 for boundary in sorted(boundaries)],
316 boundaries = [3, 7, 11]
328 element_len, boundaries, batch_sizes,
[all …]
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Dlearning_rate_schedule.py177 boundaries, argument
232 if len(boundaries) != len(values) - 1:
236 self.boundaries = boundaries
242 [step, self.boundaries, self.values, self.name]):
243 boundaries = ops.convert_n_to_tensor(self.boundaries)
248 for i, b in enumerate(boundaries):
256 boundaries[i] = b
268 pred_fn_pairs.append((x_recomp <= boundaries[0], lambda: values[0]))
269 pred_fn_pairs.append((x_recomp > boundaries[-1], lambda: values[-1]))
270 for low, high, v in zip(boundaries[:-1], boundaries[1:], values[1:-1]):
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dbucketize_op.cc40 xla::XlaOp boundaries = xla::ConstantR1<float>(builder, boundaries_); in Compile() local
46 boundaries = xla::ConvertElementType(boundaries, xla::F64); in Compile()
51 xla::ConvertElementType(xla::Ge(xla::Broadcast(input, {1}), boundaries, in Compile()
/external/tensorflow/tensorflow/contrib/layers/python/ops/
Dbucketization_op.py23 def bucketize(input_tensor, boundaries, name=None): argument
41 input_tensor, boundaries=boundaries, name=name)

12345678910>>...14