Home
last modified time | relevance | path

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

12345678910>>...380

/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 …]
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/perfetto/test/trace_processor/memory/
Dandroid_mem_counters.out7 max: 2523136
12 max: 2392064
17 max: 0
22 max: 2523136
32 max: 884736
37 max: 2101248
42 max: 0
47 max: 884736
57 max: 3989504
62 max: 9334784
[all …]
Dandroid_mem_by_priority.out7 max: 4000.0
12 max: 10000.0
17 max: 0.0
22 max: 4000.0
31 max: 3000.0
36 max: 10000.0
41 max: 0.0
46 max: 3000.0
56 max: 4000.0
61 max: 10000.0
[all …]
/external/rust/crates/num-integer/tests/
Daverage.rs15 let max = $crate::std::$I::MAX; localVariable
16 assert_eq!((max - 3).average_ceil(&(max - 1)), max - 2);
17 assert_eq!((max - 3).average_ceil(&(max - 2)), max - 2);
26 let max = $crate::std::$I::MAX; localVariable
27 assert_eq!(min.average_ceil(&max), 0 as $I);
39 let max = $crate::std::$I::MAX; localVariable
40 assert_eq!((max - 3).average_floor(&(max - 1)), max - 2);
41 assert_eq!((max - 3).average_floor(&(max - 2)), max - 3);
50 let max = $crate::std::$I::MAX; localVariable
51 assert_eq!(min.average_floor(&max), -1 as $I);
[all …]
/external/llvm-project/polly/lib/External/isl/test_inputs/codegen/omega/
Dwak1-1.c5 for (int c0 = max(a3, a2); c0 <= min(min(a1 - 1, b3), b2); c0 += 1) {
9 for (int c0 = max(max(a3, b3 + 1), a2); c0 <= min(a1 - 1, b2); c0 += 1)
13 for (int c0 = max(a1, a2); c0 <= min(min(b1, a3 - 1), b2); c0 += 1) {
17 for (int c0 = max(a1, a3); c0 <= min(min(b1, b3), a2 - 1); c0 += 1) {
21 for (int c0 = max(max(a1, a3), b3 + 1); c0 <= min(b1, a2 - 1); c0 += 1)
23 for (int c0 = max(max(a1, a3), a2); c0 <= min(min(b1, b3), b2); c0 += 1) {
28 for (int c0 = max(max(max(a1, a3), b3 + 1), a2); c0 <= min(b1, b2); c0 += 1) {
32 for (int c0 = max(max(a1, a2), b2 + 1); c0 <= min(b1, a3 - 1); c0 += 1)
34 for (int c0 = max(max(a3, a2), b2 + 1); c0 <= min(a1 - 1, b3); c0 += 1)
36 for (int c0 = max(max(max(a1, a3), a2), b2 + 1); c0 <= min(b1, b3); c0 += 1) {
[all …]
Dlefur04-0.c2 for (int c1 = max(0, 2 * c0 - 3); c1 <= min(c0 + 1, -c0 + 6); c1 += 1)
4 …for (int c3 = max(max(max(0, c1 - (-c1 + 3) / 3), c0 - (-c2 + 3) / 3), c2 + floord(3 * c1 - c2 - 1…
5 …for (int c5 = max(max(max(max(0, 2 * c3 - 4), c1 - (-c1 + 3) / 3), c2 - (c2 + 3) / 3), c3 - (c3 + …
6 …for (int c6 = max(max(max(max(max(-200 * c1 + 400 * c3 - 199, 250 * c3 + 1), 1000 * c0 - 500 * c5 …
7 …for (int c7 = max(max(max(max(500 * c5 + 2, c6), 1000 * c0 - c6), 1000 * c3 - 2 * c6 + 2), 500 * c…
/external/openscreen/util/
Dsaturate_cast_unittest.cc18 {std::numeric_limits<int64_t>::max(), in TEST()
19 std::numeric_limits<int32_t>::max()}, in TEST()
20 {std::numeric_limits<int64_t>::max() / 2 + 42, in TEST()
21 std::numeric_limits<int32_t>::max()}, in TEST()
22 {std::numeric_limits<int32_t>::max(), in TEST()
23 std::numeric_limits<int32_t>::max()}, in TEST()
45 {std::numeric_limits<uint64_t>::max(), in TEST()
46 std::numeric_limits<uint32_t>::max()}, in TEST()
47 {std::numeric_limits<uint64_t>::max() / 2 + 42, in TEST()
48 std::numeric_limits<uint32_t>::max()}, in TEST()
[all …]
/external/llvm-project/libcxx/test/std/numerics/bit/bitops.rot/
Drotr.pass.cpp31 const T max = std::numeric_limits<T>::max(); in constexpr_test() local
41 && std::rotr(max, 0) == max in constexpr_test()
42 && std::rotr(max, 1) == max in constexpr_test()
43 && std::rotr(max, 2) == max in constexpr_test()
44 && std::rotr(max, 3) == max in constexpr_test()
45 && std::rotr(max, 4) == max in constexpr_test()
46 && std::rotr(max, 5) == max in constexpr_test()
47 && std::rotr(max, 6) == max in constexpr_test()
48 && std::rotr(max, 7) == max in constexpr_test()
58 const T max = std::numeric_limits<T>::max(); in runtime_test() local
[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/llvm-project/libcxx/test/std/utilities/time/time.traits/time.traits.duration_values/
Dmax.pass.cpp22 assert(std::chrono::duration_values<int>::max() == in main()
23 std::numeric_limits<int>::max()); in main()
24 assert(std::chrono::duration_values<double>::max() == in main()
25 std::numeric_limits<double>::max()); in main()
26 assert(std::chrono::duration_values<Rep>::max() == in main()
27 std::numeric_limits<Rep>::max()); in main()
29 static_assert(std::chrono::duration_values<int>::max() == in main()
30 std::numeric_limits<int>::max(), ""); in main()
31 static_assert(std::chrono::duration_values<double>::max() == in main()
32 std::numeric_limits<double>::max(), ""); in main()
[all …]
/external/XNNPACK/test/
Dqs8-requantization.cc29 .qmax(std::numeric_limits<int8_t>::max()) in TEST()
37 zero_point <= std::numeric_limits<int8_t>::max(); in TEST()
44 .qmax(std::numeric_limits<int8_t>::max()) in TEST()
53 zero_point <= std::numeric_limits<int8_t>::max(); in TEST()
60 .qmax(std::numeric_limits<int8_t>::max()) in TEST()
69 zero_point <= std::numeric_limits<int8_t>::max(); in TEST()
76 .qmax(std::numeric_limits<int8_t>::max()) in TEST()
85 zero_point <= std::numeric_limits<int8_t>::max(); in TEST()
92 .qmax(std::numeric_limits<int8_t>::max()) in TEST()
102 .qmax(std::numeric_limits<int8_t>::max()) in TEST()
[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/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/libchrome/base/
Dsafe_numerics_unittest.cc56 return SrcLimits::max(); in GetMaxConvertibleToFloat()
57 Src max = SrcLimits::max() / 2 + (SrcLimits::is_integer ? 1 : 0); in GetMaxConvertibleToFloat() local
58 while (max != static_cast<Src>(static_cast<Dst>(max))) { in GetMaxConvertibleToFloat()
59 max /= 2; in GetMaxConvertibleToFloat()
61 return static_cast<Dst>(max); in GetMaxConvertibleToFloat()
196 dummy_ptr + StrictNumeric<size_t>(std::numeric_limits<size_t>::max()), in TestStrictPointerMath()
212 TEST_EXPECTED_VALUE(DstLimits::max(), in TestSpecializedArithmetic()
213 MakeCheckedNum(-DstLimits::max()).Abs()); in TestSpecializedArithmetic()
220 TEST_EXPECTED_VALUE(DstLimits::max(), in TestSpecializedArithmetic()
221 MakeClampedNum(-DstLimits::max()).Abs()); in TestSpecializedArithmetic()
[all …]
/external/rust/crates/grpcio-sys/grpc/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 …]
/external/rust/crates/criterion/src/stats/univariate/
Dbootstrap.rs23 let max = sample.max(); localVariable
31 (x < max || relative_eq!(x, max))
52 let max = sample.max(); localVariable
61 (x < max || relative_eq!(x, max))
65 (x < max || relative_eq!(x, max))
92 let min = <$ty>::min(a.min() - b.max(), b.min() - a.max());
93 let max = <$ty>::max(a.max() - b.min(), b.max() - a.min()); localVariable
101 (x < max || relative_eq!(x, max))
128 let min = <$ty>::min(a.min() - b.max(), b.min() - a.max());
129 let max = <$ty>::max(a.max() - b.min(), b.max() - a.min()); localVariable
[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/llvm-project/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/llvm-project/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 …]

12345678910>>...380