Home
last modified time | relevance | path

Searched refs:max_int (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dunique_op_test.cc38 TensorProto GetRandomInt32TensorProto(int dim, int max_int) { in GetRandomInt32TensorProto() argument
44 const int int_val = std::rand() % max_int; in GetRandomInt32TensorProto()
51 int max_int) { in GetRandomInt32TensorProtoWithRepeat() argument
57 const int int_val = std::rand() % max_int; in GetRandomInt32TensorProtoWithRepeat()
65 static void BM_Unique_INT32(int iters, int dim, int max_int) { in BM_Unique_INT32() argument
70 CHECK(input.FromProto(GetRandomInt32TensorProto(dim, max_int))); in BM_Unique_INT32()
84 static void BM_Unique_INT32_Repeat(int iters, int dim, int max_int) { in BM_Unique_INT32_Repeat() argument
90 input.FromProto(GetRandomInt32TensorProtoWithRepeat(dim, 200, max_int))); in BM_Unique_INT32_Repeat()
/external/libxcam/modules/isp/
Disp_config_translator.cpp29 uint32_t max_int = 0; in _get_max_bits() local
32 max_int = (uint32_t)value; in _get_max_bits()
33 while (max_int) { in _get_max_bits()
35 max_int = (max_int >> 1); in _get_max_bits()
/external/libaom/libaom/test/
Dvisual_metrics.py72 max_int = min([max(log_rate1), max(log_rate2)])
75 if max_int <= min_int:
80 lin = np.linspace(min_int, max_int, num=100, retstep=True)
91 avg_exp_diff = (int_v2 - int_v1) / (max_int - min_int)
132 max_int = min([max(metric1), max(metric2)])
135 if max_int <= min_int:
140 lin = np.linspace(min_int, max_int, num=100, retstep=True)
151 avg_exp_diff = (int_v2 - int_v1) / (max_int - min_int)
/external/clang/test/Sema/
Dconstant-conversion.c87 const int max_int = 0x7FFFFFFF; in test9() local
91 const long max_int_plus_one = (long)max_int + 1; in test9()
/external/libbrillo/brillo/streams/
Dtls_stream.cc148 const size_t max_int = std::numeric_limits<int>::max(); in ReadNonBlocking() local
149 int size_int = static_cast<int>(std::min(size_to_read, max_int)); in ReadNonBlocking()
185 const size_t max_int = std::numeric_limits<int>::max(); in WriteNonBlocking() local
186 int size_int = static_cast<int>(std::min(size_to_write, max_int)); in WriteNonBlocking()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dlog_quantized_test.cc62 static constexpr double max_int = in LogPositiveValuesViaFloat() local
67 std::min(max_int, std::max(min_int, double_result))); in LogPositiveValuesViaFloat()
/external/v8/src/mips/
Dsimulator-mips.cc5465 const T_int max_int = std::numeric_limits<T_int>::max(); in Msa3RFInstrHelper2() local
5485 result > max_int ? max_int : result < min_int ? min_int : result); in Msa3RFInstrHelper2()
5490 result > max_int ? max_int : result < min_int ? min_int : result); in Msa3RFInstrHelper2()
5507 result > max_int ? max_int : result < min_int ? min_int : result); in Msa3RFInstrHelper2()
5514 result > max_int ? max_int : result < min_int ? min_int : result); in Msa3RFInstrHelper2()
5977 const T_int max_int = std::numeric_limits<T_int>::max(); in Msa2RFInstrHelper() local
5981 } else if (element >= max_int || element <= min_int) { in Msa2RFInstrHelper()
5982 dst = element >= max_int ? max_int : min_int; in Msa2RFInstrHelper()
5990 const T_uint max_int = std::numeric_limits<T_uint>::max(); in Msa2RFInstrHelper() local
5993 } else if (element >= max_int || element <= 0) { in Msa2RFInstrHelper()
[all …]
/external/v8/src/mips64/
Dsimulator-mips64.cc5689 const T_int max_int = std::numeric_limits<T_int>::max(); in Msa3RFInstrHelper2() local
5709 result > max_int ? max_int : result < min_int ? min_int : result); in Msa3RFInstrHelper2()
5714 result > max_int ? max_int : result < min_int ? min_int : result); in Msa3RFInstrHelper2()
5731 result > max_int ? max_int : result < min_int ? min_int : result); in Msa3RFInstrHelper2()
5738 result > max_int ? max_int : result < min_int ? min_int : result); in Msa3RFInstrHelper2()
6208 const T_int max_int = std::numeric_limits<T_int>::max(); in Msa2RFInstrHelper() local
6212 } else if (element >= max_int || element <= min_int) { in Msa2RFInstrHelper()
6213 dst = element >= max_int ? max_int : min_int; in Msa2RFInstrHelper()
6221 const T_uint max_int = std::numeric_limits<T_uint>::max(); in Msa2RFInstrHelper() local
6224 } else if (element >= max_int || element <= 0) { in Msa2RFInstrHelper()
[all …]
/external/libchrome/base/time/
Dtime_unittest.cc1293 constexpr int64_t max_int = std::numeric_limits<int64_t>::max(); in TEST() local
1297 TimeDelta::FromSeconds(max_int / Time::kMicrosecondsPerSecond + 1) in TEST()
1302 TimeDelta::FromMilliseconds(max_int / Time::kMillisecondsPerSecond + 1) in TEST()
1306 static_assert(TimeDelta::FromMicroseconds(max_int).is_max(), ""); in TEST()
1330 constexpr double max_d = static_cast<double>(max_int); in TEST()
/external/v8/src/arm/
Dsimulator-arm.cc3642 double max_int = static_cast<double>(kMaxInt); in get_inv_op_vfp_flag() local
3656 : (val >= (max_int + 0.5)) || in get_inv_op_vfp_flag()
3662 : (val >= (max_int + 1.0)) || in get_inv_op_vfp_flag()
3668 : (val >= (max_int + 1.0)) || in get_inv_op_vfp_flag()