Home
last modified time | relevance | path

Searched refs:min_idx (Results 1 – 13 of 13) sorted by relevance

/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dstream_map.cc100 size_t min_idx = 0; in find() local
110 while (min_idx < max_idx) { in find()
112 mid_idx = min_idx + ((max_idx - min_idx) / 2); in find()
116 min_idx = mid_idx + 1; in find()
/third_party/musl/libc-test/src/functional/
Dtest-iterate.c72 size_t min_idx, max_idx; in fill_allocations_info() local
84 min_idx = i; in fill_allocations_info()
88 allocations_info->base = (void *) allocs[min_idx]; in fill_allocations_info()
89 allocations_info->size = allocs[max_idx] - allocs[min_idx] + allocs_sizes[max_idx]; in fill_allocations_info()
/third_party/gstreamer/gstplugins_base/gst/tcp/
Dgstmultihandlesink.c238 gint * min_idx, gint bytes_min, gint buffers_min, gint64 time_min,
1184 gint * min_idx, gint bytes_min, gint buffers_min, gint64 time_min, in find_limits() argument
1205 *min_idx = len - 1; in find_limits()
1215 *min_idx = -1; in find_limits()
1226 if (bytes_min == -1 && time_min == -1 && *min_idx == -1) { in find_limits()
1228 *min_idx = MAX (i - 1, 0); in find_limits()
1236 result = *min_idx != -1; in find_limits()
1278 if (*min_idx == -1) in find_limits()
1279 *min_idx = *max_idx; in find_limits()
1323 count_burst_unit (GstMultiHandleSink * sink, gint * min_idx, in count_burst_unit() argument
[all …]
/third_party/gstreamer/gstplugins_bad/gst/siren/
Dhuffman.c61 int max_idx, min_idx; in compute_region_powers() local
72 min_idx = 0; in compute_region_powers()
75 idx = (min_idx + max_idx) / 2; in compute_region_powers()
77 min_idx = idx; in compute_region_powers()
82 absolute_region_power_index[region] = min_idx - 24; in compute_region_powers()
/third_party/mindspore/mindspore/_extends/graph_kernel/model/
Dgraph_parallel.py198 min_idx = -1
202 min_idx = i if min_dis > cur_dis else min_idx
204 new_classes[min_idx].append(idx)
/third_party/mindspore/mindspore/lite/tools/converter/quantizer/
Dquantize_util.cc350 size_t *min_idx) { in SearchLowerBound() argument
356 if (fabs(max_tmp - *min_tmp) <= 0.0f || fabs(length - *min_idx) <= 0.0f) { in SearchLowerBound()
361 float index_ratio = static_cast<float>(index - *min_idx) / (length - *min_idx); in SearchLowerBound()
367 *min_idx = index; in SearchLowerBound()
425 size_t min_idx = 0; in OutlierMethod() local
429 if (!SearchLowerBound(min_datas, i, max_tmp, &min_tmp, &min_idx)) { in OutlierMethod()
/third_party/mindspore/mindspore/nn/metrics/
Docclusion_sensitivity.py181 min_idx = [max(0, i - self.margin) for i in idx]
185 occlu_im[(...,) + tuple(slice(i, j) for i, j in zip(min_idx, max_idx))] = self.pad_val
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dnanobenchmark.cc376 size_t min_idx = 0; in MinRange() local
383 min_idx = idx; in MinRange()
387 return min_idx; in MinRange()
/third_party/ffmpeg/libavcodec/
Dhevc_refs.c179 int i, min_idx, ret; in ff_hevc_output_frame() local
198 min_idx = i; in ff_hevc_output_frame()
209 HEVCFrame *frame = &s->DPB[min_idx]; in ff_hevc_output_frame()
/third_party/abseil-cpp/absl/random/internal/
Dnanobenchmark.cc376 size_t min_idx = 0; in MinRange() local
383 min_idx = idx; in MinRange()
387 return min_idx; in MinRange()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_subgroups.c425 nir_const_value min_idx[4] = { 0 }; in build_subgroup_mask() local
427 min_idx[i].i32 = i * options->ballot_bit_size; in build_subgroup_mask()
428 nir_ssa_def *min_idx_val = nir_build_imm(b, options->ballot_components, 32, min_idx); in build_subgroup_mask()
/third_party/mesa3d/src/amd/vulkan/
Dradv_cmd_buffer.c905 uint32_t min_idx = 0; in radv_compute_centroid_priority() local
908 if (distances[j] < distances[min_idx]) in radv_compute_centroid_priority()
909 min_idx = j; in radv_compute_centroid_priority()
912 centroid_priorities[i] = min_idx; in radv_compute_centroid_priority()
913 distances[min_idx] = 0xffffffff; in radv_compute_centroid_priority()
/third_party/gstreamer/gstplugins_base/
DChangeLog46522 limits in its min_idx parameter, not the number of buffers needed. Fix