Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 5989) sorted by relevance

12345678910>>...240

/third_party/python/Lib/test/decimaltestdata/
Dmax.decTest2 -- max.decTest -- decimal maximum --
32 maxx001 max -2 -2 -> -2
33 maxx002 max -2 -1 -> -1
34 maxx003 max -2 0 -> 0
35 maxx004 max -2 1 -> 1
36 maxx005 max -2 2 -> 2
37 maxx006 max -1 -2 -> -1
38 maxx007 max -1 -1 -> -1
39 maxx008 max -1 0 -> 0
40 maxx009 max -1 1 -> 1
[all …]
DdqMax.decTest32 dqmax001 max -2 -2 -> -2
33 dqmax002 max -2 -1 -> -1
34 dqmax003 max -2 0 -> 0
35 dqmax004 max -2 1 -> 1
36 dqmax005 max -2 2 -> 2
37 dqmax006 max -1 -2 -> -1
38 dqmax007 max -1 -1 -> -1
39 dqmax008 max -1 0 -> 0
40 dqmax009 max -1 1 -> 1
41 dqmax010 max -1 2 -> 2
[all …]
DddMax.decTest32 ddmax001 max -2 -2 -> -2
33 ddmax002 max -2 -1 -> -1
34 ddmax003 max -2 0 -> 0
35 ddmax004 max -2 1 -> 1
36 ddmax005 max -2 2 -> 2
37 ddmax006 max -1 -2 -> -1
38 ddmax007 max -1 -1 -> -1
39 ddmax008 max -1 0 -> 0
40 ddmax009 max -1 1 -> 1
41 ddmax010 max -1 2 -> 2
[all …]
/third_party/re2/re2/testing/
Dpossible_match_test.cc33 const char* max; member
113 std::string min, max; in TEST() local
120 ASSERT_TRUE(prog->PossibleMatchRange(&min, &max, t.maxlen)) in TEST()
125 ASSERT_TRUE(RE2(t.regexp).PossibleMatchRange(&min, &max, t.maxlen)); in TEST()
128 EXPECT_EQ(t.max, max) << t.regexp; in TEST()
135 std::string min, max; in TEST() local
138 EXPECT_FALSE(RE2("abc").PossibleMatchRange(&min, &max, 0)); in TEST()
144 PossibleMatchRange(&min, &max, 10)) in TEST()
145 << "min=" << CEscape(min) << ", max=" << CEscape(max); in TEST()
147 PossibleMatchRange(&min, &max, 10)) in TEST()
[all …]
/third_party/e2fsprogs/tests/f_h_reindex/
Dexpect.15 Problem in HTREE directory inode 16001: block #1 has bad max hash
7 Problem in HTREE directory inode 16001: block #2 has bad max hash
9 Problem in HTREE directory inode 16001: block #3 has bad max hash
11 Problem in HTREE directory inode 16001: block #4 has bad max hash
13 Problem in HTREE directory inode 16001: block #5 has bad max hash
15 Problem in HTREE directory inode 16001: block #6 has bad max hash
17 Problem in HTREE directory inode 16001: block #7 has bad max hash
21 Problem in HTREE directory inode 24001: block #1 has bad max hash
22 Problem in HTREE directory inode 24001: block #2 has bad max hash
24 Problem in HTREE directory inode 24001: block #3 has bad max hash
[all …]
/third_party/skia/resources/sksl/intrinsics/
DMaxFloat.sksl9 return (max(testInputs.x, 0.5) == expectedA.x &&
10 max(testInputs.xy, 0.5) == expectedA.xy &&
11 max(testInputs.xyz, 0.5) == expectedA.xyz &&
12 max(testInputs.xyzw, 0.5) == expectedA.xyzw &&
13 max(constVal.x, 0.5) == expectedA.x &&
14 max(constVal.xy, 0.5) == expectedA.xy &&
15 max(constVal.xyz, 0.5) == expectedA.xyz &&
16 max(constVal.xyzw, 0.5) == expectedA.xyzw &&
17 max(testInputs.x, colorGreen.x) == expectedB.x &&
18 max(testInputs.xy, colorGreen.xy) == expectedB.xy &&
[all …]
DMaxInt.sksl12 return (max(intValues.x, 50) == expectedA.x &&
13 max(intValues.xy, 50) == expectedA.xy &&
14 max(intValues.xyz, 50) == expectedA.xyz &&
15 max(intValues.xyzw, 50) == expectedA.xyzw &&
16 max(constVal.x, 50) == expectedA.x &&
17 max(constVal.xy, 50) == expectedA.xy &&
18 max(constVal.xyz, 50) == expectedA.xyz &&
19 max(constVal.xyzw, 50) == expectedA.xyzw &&
20 max(intValues.x, intGreen.x) == expectedB.x &&
21 max(intValues.xy, intGreen.xy) == expectedB.xy &&
[all …]
/third_party/ffmpeg/libavcodec/
Daudiodsp.c37 float *min, float *max, int len) in vector_clipf_c_opposite_sign() argument
41 uint32_t maxi = *(uint32_t *) max; in vector_clipf_c_opposite_sign()
59 float min, float max) in vector_clipf_c() argument
63 if (min < 0 && max > 0) { in vector_clipf_c()
64 vector_clipf_c_opposite_sign(dst, src, &min, &max, len); in vector_clipf_c()
67 dst[i] = av_clipf(src[i], min, max); in vector_clipf_c()
68 dst[i + 1] = av_clipf(src[i + 1], min, max); in vector_clipf_c()
69 dst[i + 2] = av_clipf(src[i + 2], min, max); in vector_clipf_c()
70 dst[i + 3] = av_clipf(src[i + 3], min, max); in vector_clipf_c()
71 dst[i + 4] = av_clipf(src[i + 4], min, max); in vector_clipf_c()
[all …]
/third_party/openssl/crypto/bio/
Db_print.c94 int max; in _dopr() local
102 max = -1; in _dopr()
165 if (max < 0) in _dopr()
166 max = 0; in _dopr()
167 max = 10 * max + char_to_int(ch); in _dopr()
170 max = va_arg(args, int); in _dopr()
230 max, flags)) in _dopr()
259 min, max, flags)) in _dopr()
267 if (!fmtfp(sbuffer, buffer, &currlen, maxlen, fvalue, min, max, in _dopr()
279 if (!fmtfp(sbuffer, buffer, &currlen, maxlen, fvalue, min, max, in _dopr()
[all …]
/third_party/boost/libs/detail/test/
Dnumeric_traits_test.cpp50 BOOST_STATIC_CONSTANT(Number, max = complement<size>::template traits<Number>::max);
66 BOOST_STATIC_CONSTANT(Number, max =
67 Number((prev::max) << CHAR_BIT)
73 BOOST_STATIC_CONSTANT(Number, max =
74 Number(Number(prev::max) * shift)
92 BOOST_STATIC_CONSTANT(Number, max = UCHAR_MAX);
102 BOOST_STATIC_CONSTANT(Number, max = SCHAR_MAX);
116 BOOST_STATIC_CONSTANT(Number, max =
117 complement_base<is_signed>::template values<Number>::max);
127 BOOST_STATIC_CONSTANT(Number, max = (complement_traits_aux<Number, sizeof(Number)>::max));
[all …]
/third_party/ltp/testcases/kernel/controllers/pids/
Dpids.sh19 max=$2
110 start_pids_tasks2 $max
129 tmp=$((max - 1))
130 tst_res TINFO "limit the number of pid to $max"
131 ROD echo $max \> $testpath/pids.max
152 lim=$((max + 2))
154 ROD echo $lim \> $testpath/pids.max
156 start_pids_tasks2 $max
175 ROD echo 0 \> $testpath/pids.max
177 start_pids_tasks2 $max
[all …]
/third_party/uboot/u-boot-2020.01/arch/arm/dts/
Dexynos4412-odroid.dts47 samsung,i2c-max-bus-freq = <100000>;
61 regulator-max-microvolt = <1000000>;
67 regulator-max-microvolt = <1200000>;
73 regulator-max-microvolt = <1800000>;
79 regulator-max-microvolt = <2800000>;
85 regulator-max-microvolt = <1800000>;
91 regulator-max-microvolt = <1100000>;
97 regulator-max-microvolt = <1100000>;
103 regulator-max-microvolt = <1000000>;
109 regulator-max-microvolt = <1800000>;
[all …]
Dexynos5422-odroidxu3.dts47 regulator-max-microvolt = <1000000>;
55 regulator-max-microvolt = <1800000>;
62 regulator-max-microvolt = <1800000>;
69 regulator-max-microvolt = <1800000>;
77 regulator-max-microvolt = <1000000>;
85 regulator-max-microvolt = <1800000>;
93 regulator-max-microvolt = <1800000>;
101 regulator-max-microvolt = <3000000>;
109 regulator-max-microvolt = <1800000>;
117 regulator-max-microvolt = <1000000>;
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DComputeValidationTests.cpp60 const uint32_t max = GetSupportedLimits().limits.maxComputeWorkgroupsPerDimension; in TEST_F() local
61 TestDispatch(max, max, max); in TEST_F()
66 const uint32_t max = GetSupportedLimits().limits.maxComputeWorkgroupsPerDimension; in TEST_F() local
67 ASSERT_DEVICE_ERROR(TestDispatch(max + 1, 1, 1)); in TEST_F()
72 const uint32_t max = GetSupportedLimits().limits.maxComputeWorkgroupsPerDimension; in TEST_F() local
73 ASSERT_DEVICE_ERROR(TestDispatch(1, max + 1, 1)); in TEST_F()
78 const uint32_t max = GetSupportedLimits().limits.maxComputeWorkgroupsPerDimension; in TEST_F() local
79 ASSERT_DEVICE_ERROR(TestDispatch(1, 1, max + 1)); in TEST_F()
84 const uint32_t max = GetSupportedLimits().limits.maxComputeWorkgroupsPerDimension; in TEST_F() local
85 ASSERT_DEVICE_ERROR(TestDispatch(max + 1, max + 1, max + 1)); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/src/System/
DMath.hpp31 #undef max
34 inline T constexpr max(T a, T b) in max() function
46 inline constexpr T max(T a, T b, T c) in max() function
48 return max(max(a, b), c); in max()
58 inline constexpr T max(T a, T b, T c, T d) in max() function
60 return max(max(a, b), max(c, d)); in max()
178 inline float clamp_s(float x, float min, float max) in clamp_s() argument
182 if(float_as_twos_complement(x) > float_as_twos_complement(max)) x = max; in clamp_s()
224 static const unsigned int max = 0xFFFFFFFF >> (32 - n); in unorm() local
225 static const float maxf = static_cast<float>(max); in unorm()
[all …]
/third_party/ltp/lib/
Drandom_range.c44 int max; member
134 rp->max = defmax; in parse_ranges()
172 rp->max = rp->min; in parse_ranges()
174 if ((*parse_func) (n2str, &rp->max) < 0) { in parse_ranges()
245 return ((struct range *)rbuf)[r].max; in range_max()
278 long random_range(int min, int max, int mult, char **errp) in random_range() argument
301 orig_max = max; in random_range()
308 if (max < min) { in random_range()
309 tmp = max; in random_range()
310 max = min; in random_range()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Common/
DMath.hpp31 #undef max
34 inline T max(T a, T b) in max() function
46 inline T max(T a, T b, T c) in max() function
48 return max(max(a, b), c); in max()
58 inline T max(T a, T b, T c, T d) in max() function
60 return max(max(a, b), max(c, d)); in max()
210 inline float clamp_s(float x, float min, float max) in clamp_s() argument
214 if(float_as_twos_complement(x) > float_as_twos_complement(max)) x = max; in clamp_s()
256 static const unsigned int max = 0xFFFFFFFF >> (32 - n); in unorm() local
257 static const float maxf = static_cast<float>(max); in unorm()
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_normalize.c116 NormalizeHistory min[3], max[3]; // Min and max for each channel in {R,G,B}. member
121 …nd_min_max)(struct NormalizeContext *s, AVFrame *in, NormalizeLocal min[3], NormalizeLocal max[3]);
140 …c void find_min_max(NormalizeContext *s, AVFrame *in, NormalizeLocal min[3], NormalizeLocal max[3]) in find_min_max()
143 min[c].in = max[c].in = in->data[0][s->co[c]]; in find_min_max()
149 max[c].in = FFMAX(max[c].in, inp[s->co[c]]); in find_min_max()
173 …find_min_max_planar(NormalizeContext *s, AVFrame *in, NormalizeLocal min[3], NormalizeLocal max[3]) in find_min_max_planar()
175 min[0].in = max[0].in = in->data[2][0]; in find_min_max_planar()
176 min[1].in = max[1].in = in->data[0][0]; in find_min_max_planar()
177 min[2].in = max[2].in = in->data[1][0]; in find_min_max_planar()
184 max[0].in = FFMAX(max[0].in, inrp[x]); in find_min_max_planar()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/
Dsafe_numerics_unittest.cc57 return SrcLimits::max(); in GetMaxConvertibleToFloat()
58 Src max = SrcLimits::max() / 2 + (SrcLimits::is_integer ? 1 : 0); in GetMaxConvertibleToFloat() local
59 while (max != static_cast<Src>(static_cast<Dst>(max))) in GetMaxConvertibleToFloat()
61 max /= 2; in GetMaxConvertibleToFloat()
63 return static_cast<Dst>(max); in GetMaxConvertibleToFloat()
93 TEST_EXPECTED_SUCCESS(CheckedNumeric<Dst>(DstLimits::max()) + -1); in TestSpecializedArithmetic()
95 TEST_EXPECTED_FAILURE(CheckedNumeric<Dst>(-DstLimits::max()) + -DstLimits::max()); in TestSpecializedArithmetic()
99 TEST_EXPECTED_FAILURE(CheckedNumeric<Dst>(DstLimits::max()) - -DstLimits::max()); in TestSpecializedArithmetic()
100 TEST_EXPECTED_FAILURE(CheckedNumeric<Dst>(-DstLimits::max()) - DstLimits::max()); in TestSpecializedArithmetic()
113 TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(DstLimits::max()) % 2); in TestSpecializedArithmetic()
[all …]
/third_party/boost/boost/math/tools/
Droots.hpp97 …const T& max) BOOST_NOEXCEPT_IF(BOOST_MATH_IS_FLOAT(T) && noexcept(std::declval<F>()(std::declval<… in handle_zero_derivative() argument
105 guess = max; in handle_zero_derivative()
123 delta = (result - max) / 2; in handle_zero_derivative()
131 delta = (result - max) / 2; in handle_zero_derivative()
143 std::pair<T, T> bisect(F f, T min, T max, Tol tol, boost::uintmax_t& max_iter, const Policy& pol) B… in bisect() argument
146 T fmax = f(max); in bisect()
155 return std::make_pair(max, max); in bisect()
162 if (min >= max) in bisect()
182 while (count && (0 == tol(min, max))) in bisect()
184 T mid = (min + max) / 2; in bisect()
[all …]
/third_party/node/deps/npm/node_modules/columnify/
Dutils.js26 function padRight(str, max, chr) { argument
29 var length = max - wcwidth(str)
44 function padCenter(str, max, chr) { argument
47 var length = max - wcwidth(str)
64 function padLeft(str, max, chr) { argument
67 var length = max - wcwidth(str)
81 function splitIntoLines(str, max) { argument
82 function _splitIntoLines(str, max) { argument
85 if (line && wcwidth(line.join(' ')) + wcwidth(word) < max) {
95 return _splitIntoLines(str, max)
[all …]
/third_party/abseil-cpp/absl/random/
Dlog_uniform_int_distribution_test.cc60 param_type(1, Limits::max() / 2), // in TYPED_TEST()
61 param_type(0, Limits::max() - 1), // in TYPED_TEST()
62 param_type(0, Limits::max(), 2), // in TYPED_TEST()
63 param_type(0, Limits::max(), 10), // in TYPED_TEST()
65 param_type(Limits::lowest(), Limits::max()), // in TYPED_TEST()
66 param_type(Limits::min(), Limits::max()), // in TYPED_TEST()
70 const auto max = param.max(); in TYPED_TEST() local
72 absl::log_uniform_int_distribution<TypeParam> before(min, max, base); in TYPED_TEST()
74 EXPECT_EQ(before.max(), param.max()); in TYPED_TEST()
88 EXPECT_NE(before.max(), after.max()); in TYPED_TEST()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dlog_uniform_int_distribution_test.cc60 param_type(1, Limits::max() / 2), // in TYPED_TEST()
61 param_type(0, Limits::max() - 1), // in TYPED_TEST()
62 param_type(0, Limits::max(), 2), // in TYPED_TEST()
63 param_type(0, Limits::max(), 10), // in TYPED_TEST()
65 param_type(Limits::lowest(), Limits::max()), // in TYPED_TEST()
66 param_type(Limits::min(), Limits::max()), // in TYPED_TEST()
70 const auto max = param.max(); in TYPED_TEST() local
72 absl::log_uniform_int_distribution<TypeParam> before(min, max, base); in TYPED_TEST()
74 EXPECT_EQ(before.max(), param.max()); in TYPED_TEST()
88 EXPECT_NE(before.max(), after.max()); in TYPED_TEST()
[all …]
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/examples/
Denough.c170 local int max; /* maximum allowed bit length for the codes */ variable
179 #define INDEX(i,j,k) (((size_t)((i-1)>>1)*((i-2)>>1)+(j>>1)-1)*(max-1)+k-1)
217 assert(syms > left && left > 0 && len < max); in count()
234 most = (((code_t)left << (max - len)) - syms) / in count()
235 (((code_t)1 << (max - len)) - 1); in count()
345 for (use = root + 1; use <= max; use++) in examine()
370 most = (((code_t)left << (max - len)) - syms) / in examine()
371 (((code_t)1 << (max - len)) - 1); in examine()
410 for (n = 0; n <= max; n++) in enough()
415 if (root < max) /* otherwise, there's only a base table */ in enough()
[all …]
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/examples/
Denough.c170 local int max; /* maximum allowed bit length for the codes */ variable
179 #define INDEX(i,j,k) (((size_t)((i-1)>>1)*((i-2)>>1)+(j>>1)-1)*(max-1)+k-1)
217 assert(syms > left && left > 0 && len < max); in count()
234 most = (((code_t)left << (max - len)) - syms) / in count()
235 (((code_t)1 << (max - len)) - 1); in count()
345 for (use = root + 1; use <= max; use++) in examine()
370 most = (((code_t)left << (max - len)) - syms) / in examine()
371 (((code_t)1 << (max - len)) - 1); in examine()
410 for (n = 0; n <= max; n++) in enough()
415 if (root < max) /* otherwise, there's only a base table */ in enough()
[all …]

12345678910>>...240