/external/libcxx/test/std/utilities/time/time.point/time.point.special/ |
H A D | max.pass.cpp | 14 // static constexpr time_point max(); 24 assert(TP::max() == TP(Duration::max()));
|
/external/v8/test/mjsunit/compiler/ |
H A D | inline-context-slots.js | 39 F.prototype.max = function() { 43 return this.max();
|
/external/v8/test/mjsunit/regress/ |
H A D | regress-crbug-349079.js | 16 assertEquals(b, Math.max(b++, c++)); 18 assertEquals(b, Math.max(b++, a++));
|
/external/openssh/openbsd-compat/regress/ |
H A D | closefromtest.c | 39 int i, max, fds[NUM_OPENS]; local 45 max = i - 1; 48 closefrom(fds[max]); 49 if (close(fds[max]) != -1) 53 for (i = 0; i < max; i++)
|
/external/v8/src/base/utils/ |
H A D | random-number-generator-unittest.cc | 21 for (int max = 1; max <= kMaxRuns; ++max) { 22 int n = rng.NextInt(max); 24 EXPECT_LT(n, max);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/ |
H A D | RiddersSolver.java | 65 public double solve(final double min, final double max) argument 67 return solve(f, min, max); 72 public double solve(final double min, final double max, final double initial) argument 74 return solve(f, min, max, initial); 84 * @param max the upper bound for the interval 94 final double min, final double max, final double initial) 97 return solve(f, min, max, initial); 107 * @param max the upper bound for the interval 117 final double min, final double max, final double initial) 122 if (f.value(max) 93 solve(int maxEval, final UnivariateRealFunction f, final double min, final double max, final double initial) argument 116 solve(final UnivariateRealFunction f, final double min, final double max, final double initial) argument 149 solve(int maxEval, final UnivariateRealFunction f, final double min, final double max) argument 171 solve(final UnivariateRealFunction f, final double min, final double max) argument [all...] |
H A D | NewtonSolver.java | 62 public double solve(final double min, final double max) argument 64 return solve(f, min, max); 69 public double solve(final double min, final double max, final double startValue) argument 71 return solve(f, min, max, startValue); 75 * Find a zero near the midpoint of <code>min</code> and <code>max</code>. 79 * @param max the upper bound for the interval 84 * @throws IllegalArgumentException if min is not less than max 88 final double min, final double max) 91 return solve(f, min, max); 95 * Find a zero near the midpoint of <code>min</code> and <code>max</cod 87 solve(int maxEval, final UnivariateRealFunction f, final double min, final double max) argument 107 solve(final UnivariateRealFunction f, final double min, final double max) argument 128 solve(int maxEval, final UnivariateRealFunction f, final double min, final double max, final double startValue) argument 150 solve(final UnivariateRealFunction f, final double min, final double max, final double startValue) argument [all...] |
H A D | UnivariateRealSolver.java | 68 * @param max the upper bound for the interval. 73 * @throws IllegalArgumentException if min > max or the endpoints do not 79 double solve(double min, double max) throws ConvergenceException, FunctionEvaluationException; argument 89 * @param max the upper bound for the interval. 94 * @throws IllegalArgumentException if min > max or the endpoints do not 100 double solve(UnivariateRealFunction f, double min, double max) argument 110 * @param max the upper bound for the interval. 116 * @throws IllegalArgumentException if min > max or the arguments do not 122 double solve(double min, double max, double startValue) argument 133 * @param max th 145 solve(UnivariateRealFunction f, double min, double max, double startValue) argument [all...] |
/external/bison/lib/ |
H A D | intprops.h | 165 #define INT_ADD_RANGE_OVERFLOW(a, b, min, max) \ 168 : (max) - (b) < (a)) 172 #define INT_SUBTRACT_RANGE_OVERFLOW(a, b, min, max) \ 174 ? (max) + (b) < (a) \ 179 #define INT_NEGATE_RANGE_OVERFLOW(a, min, max) \ 181 ? (a) < - (max) \ 188 #define INT_MULTIPLY_RANGE_OVERFLOW(a, b, min, max) \ 191 ? (a) < (max) / (b) \ 199 : (max) / (b) < (a))) 203 #define INT_DIVIDE_RANGE_OVERFLOW(a, b, min, max) \ [all...] |
/external/clang/test/Analysis/ |
H A D | additive-folding-range-constraints.c | 165 int max = INT_MAX; local 167 clang_analyzer_eval((a + 2) <= (max - 5LL)); // expected-warning{{TRUE}} 176 unsigned max = UINT_MAX; local 177 clang_analyzer_eval(a < max); // expected-warning{{UNKNOWN}} 178 clang_analyzer_eval((a + 2) < max); // expected-warning{{UNKNOWN}} 179 clang_analyzer_eval((a + 2U) < max); // expected-warning{{UNKNOWN}} 183 unsigned max = UINT_MAX; local 184 clang_analyzer_eval(a <= max); // expected-warning{{TRUE}} 185 clang_analyzer_eval((a + 2) <= max); // expected-warning{{TRUE}} 186 clang_analyzer_eval((a + 2U) <= max); // expecte 190 int max = INT_MAX; local 197 int max = INT_MAX; local 260 unsigned max = INT_MAX; local 267 unsigned max = INT_MAX; local 288 unsigned max = INT_MAX; local [all...] |
/external/google-breakpad/src/testing/gtest/samples/ |
H A D | prime_tables.h | 82 // 'max' specifies the maximum number the prime table holds. 83 explicit PreCalculatedPrimeTable(int max) argument 84 : is_prime_size_(max + 1), is_prime_(new bool[max + 1]) { 85 CalculatePrimesUpTo(max); 102 void CalculatePrimesUpTo(int max) { argument 106 for (int i = 2; i <= max; i++) { 110 for (int j = 2*i; j <= max; j += i) {
|
/external/protobuf/gtest/samples/ |
H A D | prime_tables.h | 82 // 'max' specifies the maximum number the prime table holds. 83 explicit PreCalculatedPrimeTable(int max) argument 84 : is_prime_size_(max + 1), is_prime_(new bool[max + 1]) { 85 CalculatePrimesUpTo(max); 102 void CalculatePrimesUpTo(int max) { argument 106 for (int i = 2; i <= max; i++) { 110 for (int j = 2*i; j <= max; j += i) {
|
/external/google-breakpad/src/testing/src/ |
H A D | gmock-cardinalities.cc | 52 BetweenCardinalityImpl(int min, int max) argument 54 max_(max >= min_ ? max : min_) { 60 } else if (max < 0) { 62 << "but is actually " << max << "."; local 64 } else if (min > max) { 65 ss << "The invocation upper bound (" << max 148 // Creates a cardinality that allows between min and max calls. 149 GTEST_API_ Cardinality Between(int min, int max) { argument 150 return Cardinality(new BetweenCardinalityImpl(min, max)); [all...] |
/external/jetty/src/java/org/eclipse/jetty/websocket/ |
H A D | WebSocketServlet.java | 38 * which is also the max frame byte size (default 8192). 71 String max = getInitParameter("maxIdleTime"); 72 if (max != null) 73 _webSocketFactory.setMaxIdleTime(Integer.parseInt(max)); 75 max = getInitParameter("maxTextMessageSize"); 76 if (max != null) 77 _webSocketFactory.setMaxTextMessageSize(Integer.parseInt(max)); 79 max = getInitParameter("maxBinaryMessageSize"); 80 if (max != null) 81 _webSocketFactory.setMaxBinaryMessageSize(Integer.parseInt(max)); [all...] |
/external/v8/test/webkit/ |
H A D | dfg-intrinsic-unused-this.js | 29 return this.f + Math.max(a, b); 36 var functionToCall = Math.max; 51 shouldBe("baz(object, " + i + ", " + (i * 2) + ")", "" + (offset + Math.max(i, i * 2)));
|
/external/webrtc/src/modules/audio_processing/test/testsupport/metrics/ |
H A D | video_metrics.h | 31 min(std::numeric_limits<double>::max()), 32 max(std::numeric_limits<double>::min()), 38 double max; member in struct:webrtc::test::QualityMetricsResult
|
/external/webrtc/test/testsupport/metrics/ |
H A D | video_metrics.h | 31 min(std::numeric_limits<double>::max()), 32 max(std::numeric_limits<double>::min()), 38 double max; member in struct:webrtc::test::QualityMetricsResult
|
/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct/locale.moneypunct.members/ |
H A D | decimal_point.pass.cpp | 61 assert(f.decimal_point() == std::numeric_limits<char>::max()); 65 assert(f.decimal_point() == std::numeric_limits<char>::max()); 69 assert(f.decimal_point() == std::numeric_limits<wchar_t>::max()); 73 assert(f.decimal_point() == std::numeric_limits<wchar_t>::max());
|
H A D | thousands_sep.pass.cpp | 61 assert(f.thousands_sep() == std::numeric_limits<char>::max()); 65 assert(f.thousands_sep() == std::numeric_limits<char>::max()); 69 assert(f.thousands_sep() == std::numeric_limits<wchar_t>::max()); 73 assert(f.thousands_sep() == std::numeric_limits<wchar_t>::max());
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/ |
H A D | max.pass.cpp | 15 // result_type max() const; 25 D::result_type m = d.max();
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/ |
H A D | max.pass.cpp | 15 // result_type max() const; 25 D::result_type m = d.max();
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/ |
H A D | max.pass.cpp | 15 // result_type max() const; 25 D::result_type m = d.max();
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/ |
H A D | max.pass.cpp | 15 // result_type max() const; 25 D::result_type m = d.max();
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/ |
H A D | max.pass.cpp | 15 // result_type max() const; 25 D::result_type m = d.max();
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/ |
H A D | max.pass.cpp | 15 // result_type max() const; 25 D::result_type m = d.max();
|