Home
last modified time | relevance | path

Searched refs:max_num (Results 1 – 25 of 29) sorted by relevance

12

/third_party/gstreamer/gstreamer/gst/
Dgstparamspecs.c45 fspec->max_num = G_MAXINT; in _gst_param_fraction_init()
75 gst_value_set_fraction (&f_max, fspec->max_num, fspec->max_den); in _gst_param_fraction_validate()
87 value->data[1].v_int, fspec->max_num, fspec->max_den, res); in _gst_param_fraction_validate()
171 const gchar * blurb, gint min_num, gint min_denom, gint max_num, in gst_param_spec_fraction() argument
183 fspec->max_num = max_num; in gst_param_spec_fraction()
198 min_denom, max_num, max_denom); in gst_param_spec_fraction()
Dgstparamspecs.h152 gint max_num, max_den; member
177 gint max_num, gint max_denom,
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dmap_uniform_cpu_kernel.cc71 T max_num = group_num * per_group_size; in LaunchKernel() local
74 if (output_x[i] >= max_num) { in LaunchKernel()
75 MS_LOG(EXCEPTION) << "Value can not >= " << max_num; in LaunchKernel()
Dsub_and_filter_cpu_kernel.cc64 T max_num = *reinterpret_cast<T *>(inputs[1]->addr); in LaunchKernel() local
72 if (temp < 0 || temp >= max_num) continue; in LaunchKernel()
Dupdate_cache_cpu_kernel.cc83 auto max_num = *reinterpret_cast<T *>(inputs[3]->addr); in LaunchKernel() local
88 if (indices[i] < 0 || indices[i] >= max_num) { in LaunchKernel()
/third_party/gstreamer/gstplugins_base/gst/videorate/
Dgstvideorate.c311 gint * min_num, gint * min_denom, gint * max_num, gint * max_denom) in gst_value_fraction_get_extremes() argument
314 *min_num = *max_num = gst_value_get_fraction_numerator (v); in gst_value_fraction_get_extremes()
324 *max_num = gst_value_get_fraction_numerator (max); in gst_value_fraction_get_extremes()
332 *max_num = 0; in gst_value_fraction_get_extremes()
348 if (gst_util_fraction_compare (max_n, max_d, *max_num, *max_denom) > 0) { in gst_value_fraction_get_extremes()
349 *max_num = max_n; in gst_value_fraction_get_extremes()
357 *max_num = G_MAXINT; in gst_value_fraction_get_extremes()
366 gint * min_num, gint * min_denom, gint * max_num, gint * max_denom) in gst_video_max_rate_clamp_structure() argument
391 min_num, min_denom, max_num, max_denom); in gst_video_max_rate_clamp_structure()
394 &tmp_num, &tmp_denom, max_num, max_denom); in gst_video_max_rate_clamp_structure()
[all …]
/third_party/mindspore/tests/st/dynamic_shape/
Dtest_sub_and_filter_cpu.py31 self.max_num = 10
34 return self.sub_and_filter(x, self.max_num, self.offset)
/third_party/mindspore/tests/ut/cpp/mindrecord/
Dut_common.h62 void LoadData(const std::string &directory, std::vector<json> &json_buffer, const int max_num);
64 …dDataFromImageNet(const std::string &directory, std::vector<json> &json_buffer, const int max_num);
Dut_common.cc57 void LoadData(const std::string &directory, std::vector<json> &json_buffer, const int max_num) { in LoadData() argument
66 while (getline(infile, temp) && count != max_num) { in LoadData()
74 …DataFromImageNet(const std::string &directory, std::vector<json> &json_buffer, const int max_num) { in LoadDataFromImageNet() argument
86 while (getline(infile, temp) && count != max_num) { in LoadDataFromImageNet()
/third_party/mindspore/tests/st/ops/cpu/
Dtest_cache_ops.py31 self.max_num = 9999
35 return self.ops(self.x, indices, update, self.max_num)
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/src/FasterRcnn/
Dproposal_generator.py76 self.max_num = cfg.rpn_proposal_max_num
124 self.max_num = cfg.rpn_max_num
133 self.topK_shape_stage2 = (self.max_num, 1)
193 _, topk_inds = self.topKv2(scores_using, self.max_num)
/third_party/openssl/util/
Dmkdef.pl224 $max_ssl = $max_num;
226 $max_crypto = $max_num;
1301 $max_num = 0;
1318 if ($max_num > $a[1]) {
1319 print STDERR "Warning: Number decreased from ",$max_num," to ",$a[1],"\n";
1321 elsif ($max_num == $a[1]) {
1345 $max_num = $a[1] if $a[1] > $max_num;
/third_party/ffmpeg/libavcodec/
Dtruemotion2.c109 int max_num; ///< total number of codes member
131 if (huff->num >= huff->max_num) { in tm2_read_tree()
176 huff.max_num = (huff.nodes + 1) >> 1; in tm2_build_huff_table()
177 huff.nums = av_calloc(huff.max_num, sizeof(int)); in tm2_build_huff_table()
178 huff.lens = av_mallocz(huff.max_num); in tm2_build_huff_table()
192 if (huff.num != huff.max_num) { in tm2_build_huff_table()
194 huff.num, huff.max_num); in tm2_build_huff_table()
200 res = ff_init_vlc_from_lengths(&code->vlc, huff.max_bits, huff.max_num, in tm2_build_huff_table()
207 code->length = huff.max_num; in tm2_build_huff_table()
Dopus_pvq.c385 float max_num = 0.0f; in ppp_pvq_search_c() local
397 if (ca && (max_den*xy_new) > (y_new*max_num)) { in ppp_pvq_search_c()
399 max_num = xy_new; in ppp_pvq_search_c()
/third_party/mindspore/mindspore/ccsrc/cxx_api/graph/acl/
Dmodel_process.cc332 size_t max_num = 0; in GetDynamicDims() local
335 if (cur_num > max_num) { in GetDynamicDims()
336 max_num = cur_num; in GetDynamicDims()
339 return max_num; in GetDynamicDims()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dop_classes.c519 unsigned int pos, max_num = 0; in wpas_supp_op_classes() local
523 max_num++; in wpas_supp_op_classes()
524 classes = os_zalloc((max_num + 1) * sizeof(int)); in wpas_supp_op_classes()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/ascend310/src/
Dmodel_process.cc314 size_t max_num = 0; in GetDynamicDims() local
317 if (cur_num > max_num) { in GetDynamicDims()
318 max_num = cur_num; in GetDynamicDims()
321 return max_num; in GetDynamicDims()
/third_party/boost/boost/graph/
Dminimum_degree_ordering.hpp192 number_type max_num; member in boost::detail::Numbering
197 : num(1), data(_data), max_num(_max_num), id(id) in Numbering()
201 bool all_done(number_type i = 0) const { return num + i > max_num; } in all_done()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/cache_embedding/
Dcache_embedding.cc288 auto max_num = NewValueNode(MakeValue(host_size)); in CreateMapCacheIdx() local
301 max_num->set_abstract(max_num_abstract_scalar); in CreateMapCacheIdx()
308 …dePtr> map_cache_nodes{NewValueNode(map_cache_primitive), hashmap, indices, step, max_num, offset}; in CreateMapCacheIdx()
/third_party/mindspore/tests/st/control/
Dtest_cont_grad.py41 max_num = self.max(part)
42 x[idx, :, 0:2] = max_num
156 max_num = self.max(part)
157 x[idx, :, 0:2] = max_num
223 max_num = self.max(part)
224 x[idx, :, 0:2] = max_num
/third_party/mesa3d/src/loader/
Dloader_dri3_helper.c700 int max_num; in dri3_find_back() local
711 max_num = 1; in dri3_find_back()
715 max_num = draw->max_num_back; in dri3_find_back()
741 if (num_to_consider < max_num) { in dri3_find_back()
/third_party/mindspore/mindspore/lite/tools/converter/quantizer/
Dfull_quant_quantizer.cc143 float max_num = data.at(0); in RecordMaxMinValueArray() local
146 max_num = std::max(val, max_num); in RecordMaxMinValueArray()
149 this->max_datas.emplace_back(max_num); in RecordMaxMinValueArray()
/third_party/toybox/toys/pending/
Dbc.c1183 signed char *max_num, *min_num; in bc_num_cmp() local
1205 max_num = a->num + diff; in bc_num_cmp()
1210 max_num = b->num + diff; in bc_num_cmp()
1214 cmp = bc_num_compare(max_num, min_num, b_int + min); in bc_num_cmp()
1217 for (max_num -= diff, i = diff - 1; !TT.sig && i < diff; --i) { in bc_num_cmp()
1218 if (max_num[i]) return BC_NUM_NEG(1, (!a_max) != neg); in bc_num_cmp()
/third_party/gstreamer/gstreamer/docs/
Dgst-hotdoc-plugins-scanner.c568 pfraction->max_num, pfraction->max_den); in _add_properties()
/third_party/mindspore/tests/st/auto_monad/
Dtest_auto_monad.py1426 max_num = self.max(part)
1427 x[idx, :, 0:2] = max_num

12