Home
last modified time | relevance | path

Searched refs:num1 (Results 1 – 25 of 35) sorted by relevance

12

/third_party/mindspore/mindspore/core/utils/
Dcheck_convert_utils.h128 {kEqual, [](T num1, T num2) -> bool { return num1 == num2; }},
129 {kNotEqual, [](T num1, T num2) -> bool { return num1 != num2; }},
130 {kLessThan, [](T num1, T num2) -> bool { return num1 < num2; }},
131 {kLessEqual, [](T num1, T num2) -> bool { return num1 <= num2; }},
132 {kGreaterThan, [](T num1, T num2) -> bool { return num1 > num2; }},
133 {kGreaterEqual, [](T num1, T num2) -> bool { return num1 >= num2; }}};
137 …{kIncludeNeither, [](T num1, std::pair<T, T> range) -> bool { return num1 > range.first && num1 < …
138 …{kIncludeLeft, [](T num1, std::pair<T, T> range) -> bool { return num1 >= range.first && num1 < ra…
139 …{kIncludeBoth, [](T num1, std::pair<T, T> range) -> bool { return num1 >= range.first && num1 <= r…
140 …{kIncludeRight, [](T num1, std::pair<T, T> range) -> bool { return num1 > range.first && num1 <= r…
/third_party/e2fsprogs/resize/
Dtest_extent.c24 __u64 num1, num2; in do_test() local
52 num1 = num2 = 0; in do_test()
58 num1 = strtoul(arg1, 0, 0); in do_test()
69 retval = ext2fs_create_extent_table(&extent, num1); in do_test()
86 retval = ext2fs_add_extent_entry(extent, num1, num2); in do_test()
90 num2 = ext2fs_extent_translate(extent, num1); in do_test()
102 &num1, &num2, &size); in do_test()
108 (unsigned long long) num1, in do_test()
/third_party/mindspore/mindspore/core/mindrt/include/actor/
Dlog.h91 [](uint32_t firstNum, uint32_t num1, uint32_t num2) { \
94 return ((LOG_CHECK_ID <= firstNum) || (LOG_CHECK_ID < num2 && LOG_CHECK_ID % num1 == 0) || \
99 [](uint32_t firstNum, uint32_t num1, uint32_t num2, uint32_t num3) { \
102 return ((LOG_CHECK_ID <= firstNum) || (LOG_CHECK_ID < num2 && LOG_CHECK_ID % num1 == 0) || \
107 …[](uint32_t firstNum, uint32_t num1, uint32_t num2, uint32_t num3, uint32_t num4) { …
110 …return ((LOG_CHECK_ID <= firstNum) || (LOG_CHECK_ID < num2 && LOG_CHECK_ID % num1 == 0) || …
/third_party/boost/libs/spirit/test/karma/
Dgrammar.cpp32 num1 = int_(123); in num_list()
35 start = num1 << ',' << num2 << ',' << num3; in num_list()
38 karma::rule<outiter_type, space_type> start, num1, num2, num3; member
51 BOOST_TEST(test_delimited("123 ", def.num1, space)); in main()
/third_party/mindspore/mindspore/core/ops/
Dwhere.cc41 auto num1 = input_args[kInputIndex1]->BuildValue()->cast<tensor::TensorPtr>()->ElementsNum(); in WhereInfer() local
44 auto nummax = num > num1 ? num : (num1 > num2 ? num1 : num2); in WhereInfer()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/
Dwhere_infer.c50 int num1 = GetElementNum(input1); in WhereInferShape() local
52 int nummax = num > num1 ? num : (num1 > num2 ? num1 : num2); in WhereInferShape()
/third_party/boost/boost/intrusive/detail/
Dcommon_slist_algorithms.hpp116 std::size_t num1 = 0, num2 = 0; in stable_partition() local
119 ++num1; in stable_partition()
133 ++num1; in stable_partition()
157 info.num_1st_partition = num1; in stable_partition()
/third_party/jerryscript/tests/jerry/
Darithmetics.js33 var num1 = 1234567, num2 = 1234000; variable
34 assert((num1 % num2) == 567);
/third_party/boost/boost/intrusive/
Dcircular_list_algorithms.hpp387 std::size_t num1 = 0, num2 = 0; in stable_partition() local
390 ++num1; in stable_partition()
404 ++num1; in stable_partition()
432 info.num_1st_partition = num1; in stable_partition()
/third_party/boost/libs/asio/include/boost/asio/detail/
Dchrono_time_traits.hpp157 const int64_t num1 = period_type::num / gcd<period_type::num, Num>::value; in duration_cast() local
163 const int64_t num = num1 * den2; in duration_cast()
/third_party/boost/boost/asio/detail/
Dchrono_time_traits.hpp157 const int64_t num1 = period_type::num / gcd<period_type::num, Num>::value; in duration_cast() local
163 const int64_t num = num1 * den2; in duration_cast()
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-arg.c467 uint8_t num0, num1, num2; in test_validator_int1_handler() local
475 …jerryx_arg_uint8 (&num1, JERRYX_ARG_ROUND, JERRYX_ARG_CLAMP, JERRYX_ARG_COERCE, JERRYX_ARG_REQUIRE… in test_validator_int1_handler()
495 TEST_ASSERT (num1 == 255); in test_validator_int1_handler()
522 int8_t num0, num1, num2, num3, num4, num5, num6, num7, num8, num9; in test_validator_int2_handler() local
529 …jerryx_arg_int8 (&num1, JERRYX_ARG_FLOOR, JERRYX_ARG_CLAMP, JERRYX_ARG_COERCE, JERRYX_ARG_REQUIRED… in test_validator_int2_handler()
547 TEST_ASSERT (num1 == -2); in test_validator_int2_handler()
/third_party/boost/libs/locale/test/
Dtest_boundary.cpp401 int num1[]={ 1, 0, 0, 0, 1, 0, 0 , 0 , 0}; in word_boundary() local
420 run_word<char>(all1,none1,num1,word1,kana1,ideo1,g("ja_JP.UTF-8")); in word_boundary()
425 run_word<char>(all1,none1,num1,word1,kana1,ideo1,g("ja_JP.Shift-JIS")); in word_boundary()
430 run_word<wchar_t>(all1,none1,num1,word1,kana1,ideo1,g("ja_JP.UTF-8")); in word_boundary()
436 run_word<char16_t>(all1,none1,num1,word1,kana1,ideo1,g("ja_JP.UTF-8")); in word_boundary()
443 run_word<char32_t>(all1,none1,num1,word1,kana1,ideo1,g("ja_JP.UTF-8")); in word_boundary()
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfsourceobject.c393 gint num1 = 0, den1 = 1, num2 = 0, den2 = 1; in gst_mf_source_object_caps_compare() local
437 gst_structure_get_fraction (s1, "framerate", &num1, &den1); in gst_mf_source_object_caps_compare()
440 fraction_cmp = gst_util_fraction_compare (num1, den1, num2, den2); in gst_mf_source_object_caps_compare()
/third_party/boost/boost/math/tools/
Dunivariate_statistics.hpp56 Real num1 = Real(elements - (elements %4))/Real(4); in mean() local
57 Real num2 = num1 + Real(elements % 4); in mean()
65 return (num1*(mu0+mu1+mu2) + num2*mu3)/Real(elements); in mean()
/third_party/boost/boost/math/statistics/
Dunivariate_statistics.hpp54 Real num1 = Real(elements - (elements %4))/Real(4); in mean() local
55 Real num2 = num1 + Real(elements % 4); in mean()
63 return (num1*(mu0+mu1+mu2) + num2*mu3)/Real(elements); in mean()
/third_party/python/Modules/
Dselectmodule.c906 PyObject *value, *num1, *num2; in select_devpoll_poll_impl() local
981 num1 = PyLong_FromLong(self->fds[i].fd); in select_devpoll_poll_impl()
983 if ((num1 == NULL) || (num2 == NULL)) { in select_devpoll_poll_impl()
984 Py_XDECREF(num1); in select_devpoll_poll_impl()
988 value = PyTuple_Pack(2, num1, num2); in select_devpoll_poll_impl()
989 Py_DECREF(num1); in select_devpoll_poll_impl()
/third_party/typescript/tests/cases/test262-harness/
Dhelpers.d.ts78 declare function isEqual(num1: any, num2: any): boolean;
/third_party/boost/libs/spirit/doc/karma/
Ddirective.qbk300 [[`num, num1, num2`][Numeric literals, any unsigned integer value, or
328 [[`repeat(num1, num2)[a]`] [Repeat the generator `a` at least `num1`
333 (container) contains at least `num1` elements
339 [[`repeat(num, inf)[a]`] [Repeat the generator `a` at least `num1`
367 [[`repeat(num1, num2)[a]`]
368 [``a: A --> repeat(num1, num2)[a]: vector<A>
369 a: Unused --> repeat(num1, num2)[a]: Unused``]]
Dquick_reference.qbk433 [[[karma_repeat `repeat`]`(num1, num2)[a]`] [`vector<A>`] [Repeat `a` `num1` to `num2` times]]
/third_party/quickjs/
Dqjscalc.js640 var num1, num0, den1, den0, u, num, den, n;
644 num1 = 1;
650 num = n * num1 + num0;
655 num0 = num1;
656 num1 = num;
660 return Fraction(num1, den1);
/third_party/gstreamer/gstplugins_bad/gst/timecode/
Dgstavwait.c1153 guint64 num1, gint sign2, guint64 num2) in gst_avwait_compare_guint64_with_signs() argument
1157 else if (num1 == num2) in gst_avwait_compare_guint64_with_signs()
1160 return num1 > num2 ? sign1 : -sign1; in gst_avwait_compare_guint64_with_signs()
/third_party/ffmpeg/libavfilter/
Daf_arnndn.c718 float num0, num1, num2, num3, num4; in celt_fir5() local
722 num1 = num[1]; in celt_fir5()
736 sum += (num1*mem1); in celt_fir5()
/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/tsmux/
Dtsmux.c1699 gint num1 = pgm1->program_number, num2 = pgm2->program_number; in compare_program_number() local
1701 return num1 - num2; in compare_program_number()
/third_party/boost/boost/wave/util/
Dflex_string.hpp2081 num1 = std::numeric_limits<T1>::is_specialized, in replace() local
2084 Selector<num1 ? (num2 ? 1 : -1) : (num2 ? 2 : 0)>()); in replace()

12