Home
last modified time | relevance | path

Searched refs:ceil (Results 1 – 25 of 991) sorted by relevance

12345678910>>...40

/third_party/boost/libs/chrono/test/duration/
Drounding_pass.cpp51 BOOST_TEST_EQ( seconds(-2), ceil<seconds>( milliseconds(-2000) ) ); in test_ceil()
52 BOOST_TEST_EQ( seconds(-1), ceil<seconds>( milliseconds(-1999) ) ); in test_ceil()
53 BOOST_TEST_EQ( seconds(-1), ceil<seconds>( milliseconds(-1001) ) ); in test_ceil()
54 BOOST_TEST_EQ( seconds(-1), ceil<seconds>( milliseconds(-1000) ) ); in test_ceil()
55 BOOST_TEST_EQ( seconds(0), ceil<seconds>( milliseconds(-999) ) ); in test_ceil()
56 BOOST_TEST_EQ( seconds(0), ceil<seconds>( milliseconds(-1) ) ); in test_ceil()
57 BOOST_TEST_EQ( seconds(0), ceil<seconds>( milliseconds(0) ) ); in test_ceil()
58 BOOST_TEST_EQ( seconds(1), ceil<seconds>( milliseconds(1) ) ); in test_ceil()
59 BOOST_TEST_EQ( seconds(1), ceil<seconds>( milliseconds(999) ) ); in test_ceil()
60 BOOST_TEST_EQ( seconds(1), ceil<seconds>( milliseconds(1000) ) ); in test_ceil()
[all …]
/third_party/skia/resources/sksl/intrinsics/
DCeil.sksl7 return (ceil(testInputs.x) == expected.x &&
8 ceil(testInputs.xy) == expected.xy &&
9 ceil(testInputs.xyz) == expected.xyz &&
10 ceil(testInputs.xyzw) == expected.xyzw &&
11 ceil(constVal.x) == expected.x &&
12 ceil(constVal.xy) == expected.xy &&
13 ceil(constVal.xyz) == expected.xyz &&
14 ceil(constVal.xyzw) == expected.xyzw) ? colorGreen : colorRed;
/third_party/jsframework/runtime/main/extend/systemplugin/
Dsensor.js54 ret.x = Math.ceil(Math.random() * 10)
55 ret.y = Math.ceil(Math.random() * 10)
56 ret.z = Math.ceil(Math.random() * 10)
127 ret.x = Math.ceil(Math.random() * 10)
128 ret.y = Math.ceil(Math.random() * 10)
129 ret.z = Math.ceil(Math.random() * 10)
160 ret.alpha = Math.ceil(Math.random() * 10)
161 ret.beta = Math.ceil(Math.random() * 10)
162 ret.gamma = Math.ceil(Math.random() * 10)
181 ret.heartRate = Math.ceil(Math.random() * 30)
[all …]
/third_party/skia/tests/sksl/intrinsics/
DCeil.glsl8 …return ((((((ceil(testInputs.x) == expected.x && ceil(testInputs.xy) == expected.xy) && ceil(testI…
DCeil.metal18ceil(_uniforms.testInputs.x) == expected.x && all(ceil(_uniforms.testInputs.xy) == expected.xy)) &…
/third_party/boost/boost/numeric/conversion/
Dconverter_policies.hpp40 using std::ceil ; in nearbyint()
43 return s < static_cast<S>(0) ? ceil(s) : floor(s) ; in nearbyint()
80 using std::ceil ; in nearbyint()
83 return ceil(s) ; in nearbyint()
102 using std::ceil ; in nearbyint()
107 S next = ceil(s); in nearbyint()
/third_party/boost/libs/numeric/conversion/test/
Dtest_helpers.cpp65 inline MyInt ceil ( MyInt const& x ) { return x ; } in ceil() function
77 inline MyFloat ceil ( MyFloat const& x ) in ceil() function
80 return MyFloat ( std::ceil(x.to_builtin()) ) ; in ceil()
82 return MyFloat ( ::ceil(x.to_builtin()) ) ; in ceil()
124 using MyUDT::ceil ;
/third_party/libnl/python/netlink/route/qdisc/
Dhtb.py65 def ceil(self): member in 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 HTBClass
125 if self.rate != self.ceil:
/third_party/boost/boost/math/interpolators/detail/
Dcardinal_quadratic_b_spline_detail.hpp155 using std::ceil; in operator ()()
157 size_t j_min = ceil(x - Real(1)/Real(2)); in operator ()()
158 size_t j_max = ceil(x + Real(5)/Real(2)); in operator ()()
181 using std::ceil; in prime()
183 size_t j_min = ceil(x - Real(1)/Real(2)); in prime()
184 size_t j_max = ceil(x + Real(5)/Real(2)); in prime()
Dcardinal_cubic_b_spline_detail.hpp273 using std::ceil; in operator ()()
276 size_t k_min = (size_t) (max)(static_cast<long>(0), boost::math::ltrunc(ceil(t - 2))); in operator ()()
295 using std::ceil; in prime()
298 size_t k_min = (size_t) (max)(static_cast<long>(0), boost::math::ltrunc(ceil(t - 2))); in prime()
316 using std::ceil; in double_prime()
319 size_t k_min = (size_t) (max)(static_cast<long>(0), boost::math::ltrunc(ceil(t - 2))); in double_prime()
Dcubic_b_spline_detail.hpp273 using std::ceil; in operator ()()
276 size_t k_min = (size_t) (max)(static_cast<long>(0), boost::math::ltrunc(ceil(t - 2))); in operator ()()
294 using std::ceil; in prime()
297 size_t k_min = (size_t) (max)(static_cast<long>(0), boost::math::ltrunc(ceil(t - 2))); in prime()
315 using std::ceil; in double_prime()
318 size_t k_min = (size_t) (max)(static_cast<long>(0), boost::math::ltrunc(ceil(t - 2))); in double_prime()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/
Ddepthwise_conv2d_infer.c49 output_h = ceil((float)(input_h) / (float)(param->stride_h_)); in DepthwiseConv2dInferShape()
50 output_w = ceil((float)(input_w) / (float)(param->stride_w_)); in DepthwiseConv2dInferShape()
62 output_h = ceil(((float)(input_h) + param->pad_u_ + param->pad_d_ - in DepthwiseConv2dInferShape()
65 output_w = ceil(((float)(input_w) + param->pad_l_ + param->pad_r_ - in DepthwiseConv2dInferShape()
Dpooling_infer.c56 output_w = ceil((float)(input_w) / (float)(param->stride_w_)); in PoolingInferShape()
57 output_h = ceil((float)(input_h) / (float)(param->stride_h_)); in PoolingInferShape()
78 …output_h = ceil((float)(input_h + param->pad_u_ + param->pad_d_ - window_h) / param->stride_h_) + … in PoolingInferShape()
79 …output_w = ceil((float)(input_w + param->pad_l_ + param->pad_r_ - window_w) / param->stride_w_) + … in PoolingInferShape()
Drange_infer.c60 shape_size = imax((int)(ceil((float)(limit - start) / delta)), 0); in RangeInferShape()
70 shape_size = imax((int)(ceil((float)(limit - start) / delta)), 0); in RangeInferShape()
82 shape_size = ceil((float)(param->limit_ - param->start_) / param->delta_); in RangeInferShape()
/third_party/boost/libs/math/doc/graphs/
Dbessel_i0_errors.cpp65 int y_interval = static_cast<int>(ceil(max_err / 5)); in test_type()
73 ….y_range(-(int)ceil(max_err), (int)ceil(max_err)).x_label("x").title(ss.str()).y_major_interval(y_… in test_type()
110 y_interval = static_cast<int>(ceil(max_err / 5)); in test_type()
116 ….y_range(-(int)ceil(max_err), (int)ceil(max_err)).x_label("1 / x").title(ss.str()).y_major_interva… in test_type()
Dbessel_i1_errors.cpp65 int y_interval = static_cast<int>(ceil(max_err / 5)); in test_type()
73 ….y_range(-(int)ceil(max_err), (int)ceil(max_err)).x_label("x").title(ss.str()).y_major_interval(y_… in test_type()
116 y_interval = static_cast<int>(ceil(max_err / 5)); in test_type()
122 ….y_range(-(int)ceil(max_err), (int)ceil(max_err)).x_label("1 / x").title(ss.str()).y_major_interva… in test_type()
/third_party/skia/third_party/externals/tint/test/intrinsics/gen/ceil/
D96f597.wgsl.expected.glsl5 vec2 res = ceil(vec2(0.0f, 0.0f));
35 vec2 res = ceil(vec2(0.0f, 0.0f));
55 vec2 res = ceil(vec2(0.0f, 0.0f));
D678655.wgsl.expected.glsl5 float res = ceil(1.0f);
35 float res = ceil(1.0f);
55 float res = ceil(1.0f);
Db74c16.wgsl.expected.glsl5 vec4 res = ceil(vec4(0.0f, 0.0f, 0.0f, 0.0f));
35 vec4 res = ceil(vec4(0.0f, 0.0f, 0.0f, 0.0f));
55 vec4 res = ceil(vec4(0.0f, 0.0f, 0.0f, 0.0f));
D34064b.wgsl.expected.glsl5 vec3 res = ceil(vec3(0.0f, 0.0f, 0.0f));
35 vec3 res = ceil(vec3(0.0f, 0.0f, 0.0f));
55 vec3 res = ceil(vec3(0.0f, 0.0f, 0.0f));
/third_party/musl/src/math/i386/
Dfloor.s27 .global ceil symbol
28 .type ceil,@function
29 ceil: label
/third_party/mindspore/mindspore/core/ops/fusion/
Davg_pool_fusion.cc83 out_h = static_cast<int64_t>(ceil((in_h - (kernel_h - 1)) / static_cast<float>(stride_h))); in InferShape()
84 out_w = static_cast<int64_t>(ceil((in_w - (kernel_w - 1)) / static_cast<float>(stride_w))); in InferShape()
86 out_h = static_cast<int64_t>(ceil(in_h / static_cast<float>(stride_h))); in InferShape()
87 out_w = static_cast<int64_t>(ceil(in_w / static_cast<float>(stride_w))); in InferShape()
Dmax_pool_fusion.cc80 out_h = static_cast<int64_t>(ceil((in_h - (kernel_h - 1)) / static_cast<float>(stride_h))); in InferShape()
81 out_w = static_cast<int64_t>(ceil((in_w - (kernel_w - 1)) / static_cast<float>(stride_w))); in InferShape()
83 out_h = static_cast<int64_t>(ceil(in_h / static_cast<float>(stride_h))); in InferShape()
84 out_w = static_cast<int64_t>(ceil(in_w / static_cast<float>(stride_w))); in InferShape()
/third_party/ffmpeg/libavfilter/dnn/
Ddnn_backend_native_layer_avgpool.c91 output_height = ceil(height / (kernel_strides * 1.0)); in ff_dnn_execute_layer_avg_pool()
92 output_width = ceil(width / (kernel_strides * 1.0)); in ff_dnn_execute_layer_avg_pool()
99 output_height = ceil((height - avgpool_params->kernel_size + 1) / (kernel_strides * 1.0)); in ff_dnn_execute_layer_avg_pool()
100 output_width = ceil((width - avgpool_params->kernel_size + 1) / (kernel_strides * 1.0)); in ff_dnn_execute_layer_avg_pool()
/third_party/mindspore/mindspore/ops/operations/
D_thor_ops.py501 h_out = math.ceil((x_shape[2] - dilation_h * (kernel_size_h - 1)) / stride_h)
502 w_out = math.ceil((x_shape[3] - dilation_w * (kernel_size_w - 1)) / stride_w)
505 h_out = math.ceil(x_shape[2] / stride_h)
506 w_out = math.ceil(x_shape[3] / stride_w)
581 h_out = math.ceil((x_shape[2] - dilation_h * (kernel_size_h - 1)) / stride_h)
582 w_out = math.ceil((x_shape[3] - dilation_w * (kernel_size_w - 1)) / stride_w)
585 h_out = math.ceil(x_shape[2] / stride_h)
586 w_out = math.ceil(x_shape[3] / stride_w)
645 h_out = math.ceil(h / stride_h)
646 w_out = math.ceil(w / stride_w)

12345678910>>...40