Home
last modified time | relevance | path

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

12345678910>>...243

/external/python/cpython2/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 …]
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 …]
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 …]
/external/python/cpython3/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 …]
/external/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 …]
/external/libcxx/test/std/utilities/time/time.traits/time.traits.duration_values/
Dmax.pass.cpp23 assert(std::chrono::duration_values<int>::max() == in main()
24 std::numeric_limits<int>::max()); in main()
25 assert(std::chrono::duration_values<double>::max() == in main()
26 std::numeric_limits<double>::max()); in main()
27 assert(std::chrono::duration_values<Rep>::max() == in main()
28 std::numeric_limits<Rep>::max()); in main()
30 static_assert(std::chrono::duration_values<int>::max() == in main()
31 std::numeric_limits<int>::max(), ""); in main()
32 static_assert(std::chrono::duration_values<double>::max() == in main()
33 std::numeric_limits<double>::max(), ""); in main()
[all …]
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/util/
DValPixConverterTest.java57 int max = 100; in testValToPix() local
61 assertEquals(50.0f, ValPixConverter.valToPix(value, min, max, sizeInPix, true)); in testValToPix()
66 assertEquals(25.0f, ValPixConverter.valToPix(value, min, max, sizeInPix, true)); in testValToPix()
70 assertEquals(0.0f, ValPixConverter.valToPix(value, min, max, sizeInPix, true)); in testValToPix()
74 assertEquals(100.0f, ValPixConverter.valToPix(value, min, max, sizeInPix, true)); in testValToPix()
79 assertEquals(50.0f, ValPixConverter.valToPix(value, min, max, sizeInPix, true)); in testValToPix()
83 assertEquals(0.0f, ValPixConverter.valToPix(value, min, max, sizeInPix, true)); in testValToPix()
87 assertEquals(50.0f, ValPixConverter.valToPix(value, min, max, sizeInPix, true)); in testValToPix()
90 max = 100; in testValToPix()
92 assertEquals(0f, ValPixConverter.valToPix(-100, min, max, sizeInPix, false)); in testValToPix()
[all …]
/external/llvm/test/Transforms/LoopVectorize/
Dminmax_reduction.ll11 ; Turn this into a max reduction. Make sure we use a splat to initialize the
14 ; CHECK: %[[VAR:.*]] = insertelement <2 x i32> undef, i32 %max, i32 0
22 define i32 @max_red(i32 %max) {
28 %max.red.08 = phi i32 [ %max, %entry ], [ %max.red.0, %for.body ]
31 %cmp3 = icmp sgt i32 %0, %max.red.08
32 %max.red.0 = select i1 %cmp3, i32 %0, i32 %max.red.08
39 ret i32 %max.red.0
42 ; Turn this into a max reduction. The select has its inputs reversed therefore
43 ; this is a max reduction.
51 define i32 @max_red_inverse_select(i32 %max) {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/
Dminmax_reduction.ll11 ; Turn this into a max reduction. Make sure we use a splat to initialize the
14 ; CHECK: %[[VAR:.*]] = insertelement <2 x i32> undef, i32 %max, i32 0
22 define i32 @max_red(i32 %max) {
28 %max.red.08 = phi i32 [ %max, %entry ], [ %max.red.0, %for.body ]
31 %cmp3 = icmp sgt i32 %0, %max.red.08
32 %max.red.0 = select i1 %cmp3, i32 %0, i32 %max.red.08
39 ret i32 %max.red.0
42 ; Turn this into a max reduction. The select has its inputs reversed therefore
43 ; this is a max reduction.
51 define i32 @max_red_inverse_select(i32 %max) {
[all …]
/external/clang/test/Analysis/
Dadditive-folding-range-constraints.c165 int max = INT_MAX; in mixedComparisons9() local
167 clang_analyzer_eval((a + 2) <= (max - 5LL)); // expected-warning{{TRUE}} in mixedComparisons9()
176 unsigned max = UINT_MAX; in mixedSignedness1() local
177 clang_analyzer_eval(a < max); // expected-warning{{UNKNOWN}} in mixedSignedness1()
178 clang_analyzer_eval((a + 2) < max); // expected-warning{{UNKNOWN}} in mixedSignedness1()
179 clang_analyzer_eval((a + 2U) < max); // expected-warning{{UNKNOWN}} in mixedSignedness1()
183 unsigned max = UINT_MAX; in mixedSignedness2() local
184 clang_analyzer_eval(a <= max); // expected-warning{{TRUE}} in mixedSignedness2()
185 clang_analyzer_eval((a + 2) <= max); // expected-warning{{TRUE}} in mixedSignedness2()
186 clang_analyzer_eval((a + 2U) <= max); // expected-warning{{TRUE}} in mixedSignedness2()
[all …]
/external/ltp/testcases/kernel/controllers/pids/
Dpids.sh40 max=$2
131 start_pids_tasks2 $max
150 tmp=$((max - 1))
151 tst_res TINFO "limit the number of pid to $max"
152 ROD echo $max \> $testpath/pids.max
173 lim=$((max + 2))
175 ROD echo $lim \> $testpath/pids.max
177 start_pids_tasks2 $max
196 ROD echo 0 \> $testpath/pids.max
198 start_pids_tasks2 $max
[all …]
/external/u-boot/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.dts46 regulator-max-microvolt = <1000000>;
53 regulator-max-microvolt = <1800000>;
59 regulator-max-microvolt = <1800000>;
65 regulator-max-microvolt = <1800000>;
72 regulator-max-microvolt = <1000000>;
79 regulator-max-microvolt = <1800000>;
86 regulator-max-microvolt = <1800000>;
93 regulator-max-microvolt = <3000000>;
100 regulator-max-microvolt = <1800000>;
107 regulator-max-microvolt = <1000000>;
[all …]
/external/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 …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
DBisectionSolver.java58 public double solve(double min, double max, double initial) in solve() argument
60 return solve(f, min, max); in solve()
65 public double solve(double min, double max) in solve() argument
67 return solve(f, min, max); in solve()
75 public double solve(final UnivariateRealFunction f, double min, double max, double initial) in solve() argument
77 return solve(f, min, max); in solve()
82 …public double solve(int maxEval, final UnivariateRealFunction f, double min, double max, double in… in solve() argument
84 return solve(maxEval, f, min, max); in solve()
89 public double solve(int maxEval, final UnivariateRealFunction f, double min, double max) in solve() argument
92 return solve(f, min, max); in solve()
[all …]
DMullerSolver.java66 public double solve(final double min, final double max) in solve() argument
68 return solve(f, min, max); in solve()
73 public double solve(final double min, final double max, final double initial) in solve() argument
75 return solve(f, min, max, initial); in solve()
96 final double min, final double max, final double initial) in solve() argument
99 return solve(f, min, max, initial); in solve()
120 final double min, final double max, final double initial) in solve() argument
125 if (f.value(max) == 0.0) { return max; } in solve()
128 verifyBracketing(min, max, f); in solve()
129 verifySequence(min, initial, max); in solve()
[all …]
DRiddersSolver.java65 public double solve(final double min, final double max) in solve() argument
67 return solve(f, min, max); in solve()
72 public double solve(final double min, final double max, final double initial) in solve() argument
74 return solve(f, min, max, initial); in solve()
94 final double min, final double max, final double initial) in solve() argument
97 return solve(f, min, max, initial); in solve()
117 final double min, final double max, final double initial) in solve() argument
122 if (f.value(max) == 0.0) { return max; } in solve()
125 verifyBracketing(min, max, f); in solve()
126 verifySequence(min, initial, max); in solve()
[all …]
/external/openssh/openbsd-compat/
Dbsd-snprintf.c173 char *value, int flags, int min, int max);
175 intmax_t value, int base, int min, int max, int flags);
177 LDOUBLE fvalue, int min, int max, int flags);
187 int max; in dopr() local
198 max = -1; in dopr()
262 if (max < 0) in dopr()
263 max = 0; in dopr()
264 max = 10*max + char_to_int (ch); in dopr()
267 max = va_arg (args, int); in dopr()
322 value, 10, min, max, flags) == -1) in dopr()
[all …]
/external/v8/src/base/utils/
Drandom-number-generator.cc82 int RandomNumberGenerator::NextInt(int max) { in NextInt() argument
83 DCHECK_LT(0, max); in NextInt()
86 if (bits::IsPowerOfTwo(max)) { in NextInt()
87 return static_cast<int>((max * static_cast<int64_t>(Next(31))) >> 31); in NextInt()
92 int val = rnd % max; in NextInt()
93 if (rnd - val + (max - 1) >= 0) { in NextInt()
119 const std::unordered_set<uint64_t>& set, uint64_t max) { in ComplementSample() argument
121 result.reserve(max - set.size()); in ComplementSample()
122 for (uint64_t i = 0; i < max; i++) { in ComplementSample()
130 std::vector<uint64_t> RandomNumberGenerator::NextSample(uint64_t max, in NextSample() argument
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/
Deval.pass.cpp31 std::vector<D::result_type> u(d.max()+1); in main()
35 assert(d.min() <= v && v <= d.max()); in main()
39 for (int i = 0; i <= d.max(); ++i) in main()
49 std::vector<D::result_type> u(d.max()+1); in main()
53 assert(d.min() <= v && v <= d.max()); in main()
57 for (int i = 0; i <= d.max(); ++i) in main()
67 std::vector<D::result_type> u(d.max()+1); in main()
71 assert(d.min() <= v && v <= d.max()); in main()
75 for (int i = 0; i <= d.max(); ++i) in main()
85 std::vector<D::result_type> u(d.max()+1); in main()
[all …]
/external/tensorflow/tensorflow/lite/experimental/micro/testing/
Dtest_utils.h51 inline float ScaleFromMinMax(const float min, const float max) { in ScaleFromMinMax() argument
52 return (max - min) / ((std::numeric_limits<T>::max() * 1.0) - in ScaleFromMinMax()
58 inline int ZeroPointFromMinMax(const float min, const float max) { in ZeroPointFromMinMax() argument
59 return static_cast<int>((-min / ScaleFromMinMax<T>(min, max)) + 0.5f); in ZeroPointFromMinMax()
63 inline uint8_t F2Q(const float value, const float min, const float max) { in F2Q() argument
64 int32_t result = ZeroPointFromMinMax<uint8_t>(min, max) + in F2Q()
65 (value / ScaleFromMinMax<uint8_t>(min, max)) + 0.5f; in F2Q()
76 inline uint8_t F2Q32(const float value, const float min, const float max) { in F2Q32() argument
77 return static_cast<int32_t>((value - ZeroPointFromMinMax<int32_t>(min, max)) / in F2Q32()
78 ScaleFromMinMax<int32_t>(min, max)); in F2Q32()
[all …]
/external/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 …]
/external/swiftshader/src/System/
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 …]

12345678910>>...243