Home
last modified time | relevance | path

Searched refs:max_f (Results 1 – 10 of 10) sorted by relevance

/third_party/boost/libs/hof/test/
Dfold.cpp10 struct max_f struct
31 static_assert(noexcept(boost::hof::fold(max_f(), 0)(2, 3, 4, 5)), "noexcept fold"); in BOOST_HOF_TEST_CASE() argument
39 BOOST_HOF_TEST_CHECK(boost::hof::fold(max_f(), 0)(2, 3, 4, 5) == 5); in BOOST_HOF_TEST_CASE()
40 BOOST_HOF_TEST_CHECK(boost::hof::fold(max_f(), 0)(5, 4, 3, 2) == 5); in BOOST_HOF_TEST_CASE()
41 BOOST_HOF_TEST_CHECK(boost::hof::fold(max_f(), 0)(2, 3, 5, 4) == 5); in BOOST_HOF_TEST_CASE()
43 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::fold(max_f(), 0)(2, 3, 4, 5) == 5); in BOOST_HOF_TEST_CASE()
44 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::fold(max_f(), 0)(5, 4, 3, 2) == 5); in BOOST_HOF_TEST_CASE()
45 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::fold(max_f(), 0)(2, 3, 5, 4) == 5); in BOOST_HOF_TEST_CASE()
50 BOOST_HOF_TEST_CHECK(boost::hof::fold(max_f(), 0)() == 0); in BOOST_HOF_TEST_CASE()
51 BOOST_HOF_TEST_CHECK(boost::hof::fold(max_f(), 0)(5) == 5); in BOOST_HOF_TEST_CASE()
[all …]
Dreverse_fold.cpp10 struct max_f struct
31 …static_assert(noexcept(boost::hof::reverse_fold(max_f(), 0)(2, 3, 4, 5)), "noexcept reverse_fold"); in BOOST_HOF_TEST_CASE() argument
39 BOOST_HOF_TEST_CHECK(boost::hof::reverse_fold(max_f(), 0)(2, 3, 4, 5) == 5); in BOOST_HOF_TEST_CASE()
40 BOOST_HOF_TEST_CHECK(boost::hof::reverse_fold(max_f(), 0)(5, 4, 3, 2) == 5); in BOOST_HOF_TEST_CASE()
41 BOOST_HOF_TEST_CHECK(boost::hof::reverse_fold(max_f(), 0)(2, 3, 5, 4) == 5); in BOOST_HOF_TEST_CASE()
43 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::reverse_fold(max_f(), 0)(2, 3, 4, 5) == 5); in BOOST_HOF_TEST_CASE()
44 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::reverse_fold(max_f(), 0)(5, 4, 3, 2) == 5); in BOOST_HOF_TEST_CASE()
45 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::reverse_fold(max_f(), 0)(2, 3, 5, 4) == 5); in BOOST_HOF_TEST_CASE()
50 BOOST_HOF_TEST_CHECK(boost::hof::reverse_fold(max_f(), 0)() == 0); in BOOST_HOF_TEST_CASE()
51 BOOST_HOF_TEST_CHECK(boost::hof::reverse_fold(max_f(), 0)(5) == 5); in BOOST_HOF_TEST_CASE()
[all …]
Dlift.cpp20 BOOST_HOF_LIFT_CLASS(max_f, std::max);
33 BOOST_HOF_TEST_CHECK(max_f()(3, 4) == std::max(3, 4)); in BOOST_HOF_TEST_CASE()
/third_party/pulseaudio/src/pulsecore/resampler/
Dpeaks.c33 float max_f[PA_CHANNELS_MAX]; member
69 if (n > peaks_data->max_f[0]) in peaks_resample()
70 peaks_data->max_f[0] = n; in peaks_resample()
74 *d = peaks_data->max_f[0]; in peaks_resample()
75 peaks_data->max_f[0] = 0; in peaks_resample()
105 if (n > peaks_data->max_f[c]) in peaks_resample()
106 peaks_data->max_f[c] = n; in peaks_resample()
111 *d = peaks_data->max_f[c]; in peaks_resample()
112 peaks_data->max_f[c] = 0; in peaks_resample()
/third_party/boost/libs/hof/doc/html/_sources/include/boost/hof/
Dlift.hpp.txt48 /// // Declare the class `max_f`
49 /// BOOST_HOF_LIFT_CLASS(max_f, std::max);
54 /// assert(max_f()(3, 4) == std::max(3, 4));
Dreverse_fold.hpp.txt62 /// struct max_f
72 /// assert(boost::hof::reverse_fold(max_f())(2, 3, 4, 5) == 5);
Dfold.hpp.txt61 /// struct max_f
70 /// assert(boost::hof::fold(max_f())(2, 3, 4, 5) == 5);
/third_party/mesa3d/src/mesa/swrast/
Ds_depth.c171 GLfloat min_f, max_f; in _swrast_depth_clamp_span() local
176 max_f = ctx->ViewportArray[0].Far; in _swrast_depth_clamp_span()
179 max_f = ctx->ViewportArray[0].Near; in _swrast_depth_clamp_span()
191 max = (GLint) (max_f * fb->_DepthMaxF); in _swrast_depth_clamp_span()
/third_party/boost/libs/hof/doc/html/
Dsearchindex.js1 …,68],match:[1,3,10,24,38,68],match_adaptor:56,matter:27,max:[22,23,54,55],max_f:[42,54,69],maximum…
/third_party/mesa3d/src/compiler/nir/
Dnir_range_analysis.c1593 float max_f = ceilf(src0_f) * ceilf(src1_f); in nir_unsigned_upper_bound() local
1594 memcpy(&res, &max_f, 4); in nir_unsigned_upper_bound()