Home
last modified time | relevance | path

Searched refs:min_value (Results 1 – 25 of 243) sorted by relevance

12345678910

/third_party/boost/libs/algorithm/minmax/fuzzing/
Dminmax_element_variants.fuzz.cpp55 uint8_t min_value = *resultff.first; in LLVMFuzzerTestOneInput() local
57 assert(min_value <= max_value); in LLVMFuzzerTestOneInput()
60 assert(*resultff.first == min_value); in LLVMFuzzerTestOneInput()
61 assert(*resultfl.first == min_value); in LLVMFuzzerTestOneInput()
62 assert(*resultlf.first == min_value); in LLVMFuzzerTestOneInput()
63 assert(*resultll.first == min_value); in LLVMFuzzerTestOneInput()
72 assert(min_value <= data[i]); in LLVMFuzzerTestOneInput()
77 assert(boost::algorithm::none_of_equal(data, resultff.first, min_value)); in LLVMFuzzerTestOneInput()
78 assert(boost::algorithm::none_of_equal(data, resultfl.first, min_value)); in LLVMFuzzerTestOneInput()
79 assert(boost::algorithm::none_of_equal(resultlf.first + 1, dend, min_value)); in LLVMFuzzerTestOneInput()
[all …]
Dminmax_element.fuzz.cpp39 uint8_t min_value = *result.first; in LLVMFuzzerTestOneInput() local
42 assert(min_value <= max_value); in LLVMFuzzerTestOneInput()
46 assert(min_value <= data[i]); in LLVMFuzzerTestOneInput()
51 assert(boost::algorithm::none_of_equal(data, result.first, min_value)); in LLVMFuzzerTestOneInput()
64 uint8_t min_value = *result.first; in LLVMFuzzerTestOneInput() local
67 assert (!greater(max_value, min_value)); in LLVMFuzzerTestOneInput()
71 assert(!greater(data[i], min_value)); in LLVMFuzzerTestOneInput()
76 assert(boost::algorithm::none_of_equal(data, result.first, min_value)); in LLVMFuzzerTestOneInput()
/third_party/flatbuffers/lua/flatbuffers/
DnumTypes.lua19 if not self.min_value and not self.max_value then return true end
20 return self.min_value <= n and n <= self.max_value
26 if not self.min_value and not self.max_value then
30 if self.min_value <= n and n <= self.max_value then
40 if not self.min_value and not self.max_value then
44 …if self.min_value <= a and a <= self.max_value and self.min_value <= b and b <= self.max_value then
66 min_value = false,
82 min_value = 0,
92 min_value = 0,
102 min_value = 0,
[all …]
/third_party/boost/boost/geometry/strategies/cartesian/
Dpoint_in_box.hpp44 static inline bool apply(Value1 const& value, Value2 const& min_value, Value2 const& max_value) in apply()
46 return value > min_value && value < max_value; in apply()
53 static inline bool apply(Value1 const& value, Value2 const& min_value, Value2 const& max_value) in apply()
55 return value >= min_value && value <= max_value; in apply()
77 static inline bool apply(CalcT const& diff_min, CalcT const& min_value, CalcT const& max_value) in apply()
81 && (min_value + diff_min < max_value in apply()
89 static inline bool apply(CalcT const& diff_min, CalcT const& min_value, CalcT const& max_value) in apply()
91 return min_value + diff_min <= max_value in apply()
103 static inline bool apply(Value1 const& value, Value2 const& min_value, Value2 const& max_value) in apply()
112 if (CoordCheck::apply(value, min_value, max_value)) in apply()
[all …]
/third_party/boost/boost/random/
Duniform_real_distribution.hpp35 Engine& eng, T min_value, T max_value, in generate_uniform_real() argument
44 T result = numerator / divisor * (max_value - min_value) + min_value; in generate_uniform_real()
51 Engine& eng, T min_value, T max_value, in generate_uniform_real() argument
61 T result = numerator / divisor * (max_value - min_value) + min_value; in generate_uniform_real()
67 inline T generate_uniform_real(Engine& eng, T min_value, T max_value) in generate_uniform_real() argument
69 if(max_value / 2 - min_value / 2 > (std::numeric_limits<T>::max)() / 2) in generate_uniform_real()
70 return 2 * generate_uniform_real(eng, T(min_value / 2), T(max_value / 2)); in generate_uniform_real()
72 return generate_uniform_real(eng, min_value, max_value, in generate_uniform_real()
Duniform_int_distribution.hpp51 Engine& eng, T min_value, T max_value, in generate_uniform_int() argument
59 const range_type range = random::detail::subtract<result_type>()(max_value, min_value); in generate_uniform_int()
65 return min_value; in generate_uniform_int()
70 return random::detail::add<base_unsigned, result_type>()(v, min_value); in generate_uniform_int()
186 return random::detail::add<range_type, result_type>()(result, min_value); in generate_uniform_int()
225 return random::detail::add<mixed_range_type, result_type>()(result, min_value); in generate_uniform_int()
236 Engine& eng, T min_value, T max_value, in generate_uniform_int() argument
240 return generate_uniform_int(wrapper, min_value, max_value, boost::mpl::true_()); in generate_uniform_int()
244 inline T generate_uniform_int(Engine& eng, T min_value, T max_value) in generate_uniform_int() argument
247 return generate_uniform_int(eng, min_value, max_value, in generate_uniform_int()
/third_party/flutter/skia/tools/skpbench/
D_hardware.py61 def __init__(self, value_type, min_value=None, max_value=None, argument
64 self.min_value = min_value
72 if self.min_value is not None and typedvalue < self.min_value:
74 (self.name, stringvalue, str(self.min_value)),
D_hardware_nexus_6p.py81 [Expectation(int, min_value=30, name='battery', sleeptime=30*60),
85 Expectation(long, min_value=(GPU_CLOCK_RATE - 5000),
87 Expectation(long, min_value=647995000, max_value=648007500,
/third_party/skia/tools/skpbench/
D_hardware.py61 def __init__(self, value_type, min_value=None, max_value=None, argument
64 self.min_value = min_value
72 if self.min_value is not None and typedvalue < self.min_value:
74 (self.name, stringvalue, str(self.min_value)),
D_hardware_nexus_6p.py81 [Expectation(int, min_value=30, name='battery', sleeptime=30*60),
85 Expectation(long, min_value=(GPU_CLOCK_RATE - 5000),
87 Expectation(long, min_value=647995000, max_value=648007500,
/third_party/boost/boost/geometry/algorithms/detail/envelope/
Dinitialize.hpp35 CoordinateType min_value, in apply()
38 geometry::set<min_corner, Dimension>(box, min_value); in apply()
44 >::apply(box, min_value, max_value); in apply()
69 coordinate_type min_value in apply()
77 >::apply(box, min_value, max_value); in apply()
/third_party/boost/libs/gil/test/legacy/
Dchannel.cpp33 auto c8_min = channel_traits<uint8_t>::min_value();
35 auto c8s_min = channel_traits<int8_t>::min_value();
37 auto c16_min = channel_traits<uint16_t>::min_value();
39 auto c16s_min = channel_traits<int16_t>::min_value();
41 auto c32_min = channel_traits<uint32_t>::min_value();
43 auto c32s_min = channel_traits<int32_t>::min_value();
45 auto c32f_min = channel_traits<float32_t>::min_value();
55 error_if(this->_min_v != channel_traits<channel_t>::min_value()); in do_test()
172 : _min_v(channel_traits<ChannelValue>::min_value()) in value_core()
211 b1 = channel_traits<channel_t>::min_value(); in packed_reference_core()
[all …]
/third_party/boost/libs/math/test/
Dtest_difference.cpp39 if((fabs(val) > tools::min_value<T>()) || (fabs(next) > tools::min_value<T>())) in test_value()
52 if((fabs(val) > tools::min_value<T>()) || (fabs(prev) > tools::min_value<T>())) in test_value()
91 test_value(boost::math::tools::min_value<T>(), name); in test_values()
92 test_value(-boost::math::tools::min_value<T>(), name); in test_values()
124 …BOOST_CHECK_EQUAL(relative_difference(tools::min_value<T>(), -tools::min_value<T>()), tools::max_v… in test_values()
125 …BOOST_CHECK_EQUAL(epsilon_difference(tools::min_value<T>(), -tools::min_value<T>()), tools::max_va… in test_values()
Dtest_ibeta_inv_ab.hpp55 …eal(data[i][0]), Real(data[i][2]), Real(data[i][5])), boost::math::tools::min_value<value_type>()); in test_inverses()
58 && (fabs(Real(data[i][5])) > 2 * boost::math::tools::min_value<value_type>()) in test_inverses()
59 && (fabs(Real(data[i][5])) > 2 * boost::math::tools::min_value<double>())) in test_inverses()
68 …eal(data[i][1]), Real(data[i][2]), Real(data[i][5])), boost::math::tools::min_value<value_type>()); in test_inverses()
74 …eal(data[i][1]), Real(data[i][2]), Real(data[i][6])), boost::math::tools::min_value<value_type>()); in test_inverses()
78 && (fabs(Real(data[i][6])) > 2 * boost::math::tools::min_value<value_type>()) in test_inverses()
79 && (fabs(Real(data[i][6])) > 2 * boost::math::tools::min_value<double>())) in test_inverses()
89 …eal(data[i][0]), Real(data[i][2]), Real(data[i][6])), boost::math::tools::min_value<value_type>()); in test_inverses()
Dtest_igamma_inva.hpp78 …data[i][5]) > 0.001) && (fabs(Real(data[i][5])) > 2 * boost::math::tools::min_value<value_type>())) in do_test_gamma_2()
84 …th::gamma_p_inva(Real(data[i][1]), Real(data[i][5])), boost::math::tools::min_value<value_type>()); in do_test_gamma_2()
85 else if(Real(data[i][5]) > 2 * boost::math::tools::min_value<value_type>()) in do_test_gamma_2()
94 …th::gamma_q_inva(Real(data[i][1]), Real(data[i][3])), boost::math::tools::min_value<value_type>()); in do_test_gamma_2()
96 && (fabs(Real(data[i][3])) > 2 * boost::math::tools::min_value<value_type>()) in do_test_gamma_2()
97 && (fabs(Real(data[i][3])) > 2 * boost::math::tools::min_value<double>())) in do_test_gamma_2()
104 else if(Real(data[i][3]) > 2 * boost::math::tools::min_value<value_type>()) in do_test_gamma_2()
/third_party/boost/libs/gil/test/core/channel/
Dpacked_channel_value.cpp56 BOOST_TEST_EQ(bits1::min_value(), 0u); in test_packed_channel_value_with_num_bits_1()
58 BOOST_TEST_EQ(gil::channel_traits<bits1>::min_value(), 0u); in test_packed_channel_value_with_num_bits_1()
72 BOOST_TEST_EQ(bits8::min_value(), 0u); in test_packed_channel_value_with_num_bits_8()
74 BOOST_TEST_EQ(gil::channel_traits<bits8>::min_value(), 0u); in test_packed_channel_value_with_num_bits_8()
88 BOOST_TEST_EQ(bits15::min_value(), 0u); in test_packed_channel_value_with_num_bits15()
90 BOOST_TEST_EQ(gil::channel_traits<bits15>::min_value(), 0u); in test_packed_channel_value_with_num_bits15()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-var-fvar-table.hh85 get_coordinates (info->min_value, info->default_value, info->max_value); in get_axis_deprecated()
95 get_coordinates (info->min_value, info->default_value, info->max_value); in get_axis_info()
101 float min_value, default_value, max_value; in normalize_axis_value() local
102 get_coordinates (min_value, default_value, max_value); in normalize_axis_value()
104 v = hb_clamp (v, min_value, max_value); in normalize_axis_value()
109 v = (v - default_value) / (default_value - min_value); in normalize_axis_value()
117 float min_value, default_value, max_value; in unnormalize_axis_value() local
118 get_coordinates (min_value, default_value, max_value); in unnormalize_axis_value()
123 return v * (default_value - min_value) / 16384.f + default_value; in unnormalize_axis_value()
/third_party/harfbuzz/src/
Dhb-ot-var-fvar-table.hh85 get_coordinates (info->min_value, info->default_value, info->max_value); in get_axis_deprecated()
95 get_coordinates (info->min_value, info->default_value, info->max_value); in get_axis_info()
101 float min_value, default_value, max_value; in normalize_axis_value() local
102 get_coordinates (min_value, default_value, max_value); in normalize_axis_value()
104 v = hb_clamp (v, min_value, max_value); in normalize_axis_value()
109 v = (v - default_value) / (default_value - min_value); in normalize_axis_value()
117 float min_value, default_value, max_value; in unnormalize_axis_value() local
118 get_coordinates (min_value, default_value, max_value); in unnormalize_axis_value()
123 return v * (default_value - min_value) / 16384.f + default_value; in unnormalize_axis_value()
/third_party/boost/libs/gil/test/core/
Dpromote_integral.cpp72 Promoted min_value = (std::numeric_limits<Integral>::min)(); in apply() local
74 min_value = static_cast<Promoted>(min_value * min_value); in apply()
75 BOOST_TEST(absolute_value<Promoted>::apply(min_value) >= min_value); in apply()
76 BOOST_TEST(absolute_value<Promoted>::apply(min_value) <= min_value); in apply()
83 std::cout << "integral min_value^2: " << min_value << std::endl; in apply()
/third_party/boost/boost/math/quadrature/
Dtanh_sinh.hpp43 … tanh_sinh(size_t max_refinements = 15, const Real& min_complement = tools::min_value<Real>() * 4) in tanh_sinh()
90 Real limit = sqrt(tools::min_value<Real>()) * 4; in integrate()
110 Real left_limit = sqrt(tools::min_value<Real>()) * 4; in integrate()
111 …= Real(2) * m_imp->integrate(u, error, L1, function, left_limit, tools::min_value<Real>(), toleran… in integrate()
137 Real left_limit = sqrt(tools::min_value<Real>()) * 4; in integrate()
138 …= Real(2) * m_imp->integrate(v, error, L1, function, left_limit, tools::min_value<Real>(), toleran… in integrate()
163 …Real min_complement_limit = (std::max)(tools::min_value<Real>(), Real(tools::min_value<Real>() / d… in integrate()
236 Real left_min_complement = tools::min_value<Real>() * 4; in integrate()
237 Real right_min_complement = tools::min_value<Real>() * 4; in integrate()
265 Real min_complement = tools::min_value<Real>() * 4; in integrate()
/third_party/mindspore/mindspore/ccsrc/pybind_api/random_normal/
Dphilox_generator.cc48 std::array<uint32_t, gResultNum> min_value; in Compute() local
52 min_value[i] = static_cast<uint32_t>(temp); in Compute()
57 result[1] = min_value[2]; in Compute()
59 result[3] = min_value[0]; in Compute()
/third_party/mesa3d/src/gallium/frontends/vdpau/
Dquery.c529 void *min_value, void *max_value) in vlVdpVideoMixerQueryParameterValueRange() argument
536 if (!(min_value && max_value)) in vlVdpVideoMixerQueryParameterValueRange()
543 *(uint32_t*)min_value = 48; in vlVdpVideoMixerQueryParameterValueRange()
549 *(uint32_t*)min_value = 48; in vlVdpVideoMixerQueryParameterValueRange()
556 *(uint32_t*)min_value = 0; in vlVdpVideoMixerQueryParameterValueRange()
600 void *min_value, void *max_value) in vlVdpVideoMixerQueryAttributeValueRange() argument
602 if (!(min_value && max_value)) in vlVdpVideoMixerQueryAttributeValueRange()
609 *(float*)min_value = 0.0f; in vlVdpVideoMixerQueryAttributeValueRange()
613 *(float*)min_value = -1.0f; in vlVdpVideoMixerQueryAttributeValueRange()
617 *(uint8_t*)min_value = 0; in vlVdpVideoMixerQueryAttributeValueRange()
/third_party/boost/boost/date_time/
Dint_adapter.hpp439 BOOST_CONSTEXPR_OR_CONST int min_value = std::numeric_limits<int_type>::is_signed ? 0 : 1; in mult_div_specials() local
440 if((*this > 0 && rhs > 0) || (*this < min_value && rhs < min_value)) { in mult_div_specials()
443 if((*this > 0 && rhs < min_value) || (*this < min_value && rhs > 0)) { in mult_div_specials()
462 BOOST_CONSTEXPR_OR_CONST int min_value = std::numeric_limits<int_type>::is_signed ? 0 : 1; in mult_div_specials() local
463 if((*this > 0 && rhs > 0) || (*this < min_value && rhs < 0)) { in mult_div_specials()
466 if((*this > 0 && rhs < 0) || (*this < min_value && rhs > 0)) { in mult_div_specials()
/third_party/boost/libs/container_hash/test/
Dhash_number_test.cpp94 T min_value = (limits::min)(); in limits_test() local
97 BOOST_TEST(x1(min_value) == x2((limits::min)())); in limits_test()
101 BOOST_TEST(x1(min_value) == BOOST_HASH_TEST_NAMESPACE::hash_value(min_value)); in limits_test()
106 BOOST_TEST(BOOST_HASH_TEST_NAMESPACE::hash_value(min_value) in limits_test()
107 == std::size_t(min_value)); in limits_test()
/third_party/boost/boost/math/special_functions/detail/
Dibeta_inv_ab.hpp68 if(w < tools::min_value<T>()) in inverse_negative_binomial_cornish_fisher()
69 return tools::min_value<T>(); in inverse_negative_binomial_cornish_fisher()
83 return swap_ab ? tools::min_value<T>() : tools::max_value<T>(); in ibeta_inv_ab_imp()
87 return swap_ab ? tools::max_value<T>() : tools::min_value<T>(); in ibeta_inv_ab_imp()
182 return tools::min_value<result_type>(); in ibeta_inva()
215 return tools::min_value<result_type>(); in ibetac_inva()
244 return tools::min_value<result_type>(); in ibeta_invb()
277 return tools::min_value<result_type>(); in ibetac_invb()

12345678910