/external/libcxx/test/std/utilities/time/time.duration/time.duration.cast/ |
H A D | ceil.fail.cpp | 13 // ceil 17 // ceil(const duration<Rep, Period>& d); 25 std::chrono::ceil<int>(std::chrono::milliseconds(3));
|
H A D | ceil.pass.cpp | 14 // ceil 19 // ceil(const duration<Rep, Period>& d); 30 typedef decltype(std::chrono::ceil<ToDuration>(f)) R; 32 assert(std::chrono::ceil<ToDuration>(f) == d); 46 constexpr std::chrono::hours h1 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(9000000)); 48 constexpr std::chrono::hours h2 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(-9000000));
|
/external/tensorflow/tensorflow/core/kernels/ |
H A D | cwise_op_gpu_ceil.cu.cc | 22 DEFINE_UNARY3(ceil, Eigen::half, float, double);
|
H A D | cwise_op_ceil.cc | 19 REGISTER3(UnaryOp, CPU, "Ceil", functor::ceil, float, Eigen::half, double); 22 REGISTER3(UnaryOp, GPU, "Ceil", functor::ceil, float, Eigen::half, double); 26 REGISTER2(UnaryOp, SYCL, "Ceil", functor::ceil, float, double);
|
/external/libcxx/test/std/utilities/time/time.point/time.point.cast/ |
H A D | ceil.fail.cpp | 13 // ceil 17 // ceil(const time_point<Clock, Duration>& t); 25 std::chrono::ceil<int>(std::chrono::system_clock::now());
|
H A D | ceil.pass.cpp | 13 // ceil 17 // ceil(const time_point<Clock, Duration>& t); 33 typedef decltype(std::chrono::ceil<ToDuration>(f)) R; 35 assert(std::chrono::ceil<ToDuration>(f) == t); 48 static_assert(std::chrono::ceil<ToDuration>(f) == t, "");
|
/external/eigen/doc/snippets/ |
H A D | Cwise_ceil.cpp | 3 cout << ceil(v) << endl;
|
/external/jemalloc/test/unit/ |
H A D | run_quantize.c | 60 size_t lrun_size, run_size, floor, ceil; local 68 ceil = run_quantize_ceil(run_size); 73 assert_zu_eq(run_size, ceil, 101 * run_quantize_{floor,ceil}() are monotonic. 115 size_t run_size, floor, ceil; local 119 ceil = run_quantize_ceil(run_size); 122 "Floor should be <= (floor=%zu, run_size=%zu, ceil=%zu)", 123 floor, run_size, ceil); 124 assert_zu_ge(ceil, run_size, 125 "Ceiling should be >= (floor=%zu, run_size=%zu, ceil [all...] |
/external/libmojo/ui/gfx/geometry/ |
H A D | safe_integer_conversions.h | 21 return base::saturated_cast<int>(std::ceil(value)); 29 return base::saturated_cast<int>(std::ceil(value)); 37 rounded = std::ceil(value - 0.5f); 46 rounded = std::ceil(value - 0.5);
|
H A D | rect.h | 283 std::ceil(rect.right() * x_scale))); 285 std::ceil(rect.bottom() * y_scale))); 289 x : static_cast<int>(std::ceil(rect.right() * x_scale)); 291 y : static_cast<int>(std::ceil(rect.bottom() * y_scale)); 308 int w = base::saturated_cast<int>(std::ceil(rect.width() * x_scale)); 309 int h = base::saturated_cast<int>(std::ceil(rect.height() * y_scale)); 323 std::ceil(rect.x() * x_scale))); 325 std::ceil(rect.y() * y_scale))); 330 int x = static_cast<int>(std::ceil(rect.x() * x_scale)); 331 int y = static_cast<int>(std::ceil(rec [all...] |
/external/libvpx/libvpx/vpx_ports/ |
H A D | msvc.h | 25 return ceil(x - 0.5);
|
/external/ltp/testcases/misc/math/float/ |
H A D | float_power.c | 29 {FUNC_NORMAL, 50, ceil, "ceil", "ceil_inp.ref", "ceil_out.ref",
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowFloatMath.java | 32 public static float ceil(float value) { method in class:ShadowFloatMath 33 return (float) Math.ceil(value);
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
H A D | ShadowFloatMath.java | 32 public static float ceil(float value) { method in class:ShadowFloatMath 33 return (float) Math.ceil(value);
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
H A D | FuncCeiling.java | 45 return new XNumber(Math.ceil(m_arg0.execute(xctxt).num()));
|
/external/tensorflow/tensorflow/stream_executor/lib/ |
H A D | mathutil.h | 44 template <typename IntegralType, bool ceil> 55 // There's a bunch of 'recipes' to compute a integer ceil (or floor) on the web, 57 template<typename IntegralType, bool ceil> 72 if (ceil) { // Compile-time condition: not an actual branching 74 // the real ratio is negative, and so rounded toward zero is the ceil.
|
/external/libnl/python/netlink/route/qdisc/ |
H A D | htb.py | 65 def ceil(self): member in class:HTBClass 66 ceil = capi.rtnl_htb_get_ceil(self._class._rtnl_class) 67 return util.Rate(ceil) 69 @ceil.setter 70 def ceil(self, value): member in class:HTBClass 125 if self.rate != self.ceil: 126 ret += ' {s|borrow-up-to!k} {a|ceil}'
|
/external/tensorflow/tensorflow/core/lib/math/ |
H A D | math_util.h | 31 // Returns the ceil (resp. floor) of the ratio of two integers. 61 template <typename IntegralType, bool ceil> 95 // There's a bunch of 'recipes' to compute a integer ceil (or floor) on the web, 97 template <typename IntegralType, bool ceil> 105 if (ceil) { // Compile-time condition: not an actual branching 107 // the real ratio is negative, and so rounded toward zero is the ceil.
|
/external/autotest/client/common_lib/cros/ |
H A D | perf_stat_lib.py | 5 from math import ceil, floor, sqrt namespace 22 c, f = int(ceil(i)), int(floor(i))
|
/external/eigen/unsupported/test/ |
H A D | cxx11_tensor_roundings.cpp | 48 Tensor<float, 2> result = ftensor.ceil(); 52 VERIFY_IS_EQUAL(result(i,j), numext::ceil(ftensor(i,j)));
|
/external/libmojo/ui/gfx/range/ |
H A D | range_f.cc | 39 uint32_t start = start_ > 0 ? static_cast<uint32_t>(std::ceil(start_)) : 0; 40 uint32_t end = end_ > 0 ? static_cast<uint32_t>(std::ceil(end_)) : 0;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/ |
H A D | ElitisticListPopulation.java | 81 int boundIndex = (int) FastMath.ceil((1.0 - this.getElitismRate()) * oldChromosomes.size());
|
/external/autotest/client/cros/video/ |
H A D | sequence_generator.py | 76 math.ceil((samples_per_min * duration) / 60.0))
|
/external/llvm/test/MC/Mips/ |
H A D | mips-reginfo-fp32.s | 29 # ceil.w.s - Reads $f8 and writes to $f10. 30 ceil.w.s $f10, $f8
|
/external/pdfium/fxbarcode/ |
H A D | BC_TwoDimWriter.cpp | 84 (int32_t)(outputWidth * ceil((float)m_Width / (float)outputWidth)); 86 (int32_t)(outputHeight * ceil((float)m_Height / (float)outputHeight)); 89 int32_t multiX = (int32_t)ceil((float)outputWidth / (float)tempWidth); 90 int32_t multiY = (int32_t)ceil((float)outputHeight / (float)tempHeight);
|