/external/tensorflow/tensorflow/core/lib/random/ |
simple_philox_test.cc | 100 uint32 threshold = 1L << 30; local 106 if (rnd < threshold) { 111 EXPECT_LT(fabs((threshold + 0.0) / range - (count + 0.0) / kTrials), 0.005); 119 uint64 threshold = 1LL << 60; local 125 if (rnd < threshold) { 130 EXPECT_LT(fabs((threshold + 0.0) / range - (count + 0.0) / kTrials), 0.005);
|
/frameworks/base/cmds/statsd/tests/e2e/ |
ConfigTtl_e2e_test.cpp | 31 StatsdConfig CreateStatsdConfig(int num_buckets, int threshold) { 50 alert->set_trigger_if_sum_gt(threshold); 61 const int threshold = 3; local 62 auto config = CreateStatsdConfig(num_buckets, threshold);
|
Anomaly_count_e2e_test.cpp | 31 StatsdConfig CreateStatsdConfig(int num_buckets, int threshold) { 50 alert->set_trigger_if_sum_gt(threshold); 58 const int threshold = 3; local 59 auto config = CreateStatsdConfig(num_buckets, threshold); 161 const int threshold = 3; local 162 auto config = CreateStatsdConfig(num_buckets, threshold);
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/ |
AnswerHintFactory.java | 97 long threshold = local 101 "answerCount: %d, threshold: %d", 103 threshold); 104 return answeredCount < threshold;
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
MessageTextStats.java | 63 final int threshold = mmsConfig.getSmsToMmsTextThreshold(); local 64 mMessageLengthRequiresMms = threshold > 0 && mMessageCount > threshold; 79 * we know we should count threshold in double-byte, so divide the threshold by 2. 80 * In this way, we will count Korean text correctly with regard to the length threshold.
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
ThresholdingOutputStream.java | 27 * stream type when the threshold is exceeded. 33 * NOTE: This implementation may trigger the event <em>before</em> the threshold 35 * cause the threshold to be exceeded. 49 * The threshold at which the event will be triggered. 51 private int threshold; field in class:ThresholdingOutputStream 61 * Whether or not the configured threshold has been exceeded. 71 * specified threshold. 73 * @param threshold The number of bytes at which to trigger an event. 75 public ThresholdingOutputStream(int threshold) 77 this.threshold = threshold [all...] |
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
MagnitudeVerification.java | 38 // sensorType: {expected, threshold} 55 * @param threshold the threshold 57 public MagnitudeVerification(float expected, float threshold) { 59 mThreshold = threshold; 74 Float threshold = DEFAULTS.get(sensorType)[1]; local 75 return new MagnitudeVerification(expected, threshold);
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/ |
ATokenBuffer.h | 73 _ANTLRTokenPtr *threshold;
member in class:ANTLRTokenBuffer
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ |
ATokenBuffer.h | 73 _ANTLRTokenPtr *threshold;
member in class:ANTLRTokenBuffer
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
CalendarCache.java | 33 threshold = (int)(arraySize * 0.75); 49 if (size >= threshold) { 121 private int threshold = (arraySize * 3) / 4; field in class:CalendarCache
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
MacroProps.java | 35 public Long threshold; // not in API; controls internal self-regulation threshold field in class:MacroProps
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
CalendarCache.java | 31 threshold = (int)(arraySize * 0.75); 47 if (size >= threshold) { 119 private int threshold = (arraySize * 3) / 4; field in class:CalendarCache
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
MacroProps.java | 31 public Long threshold; // not in API; controls internal self-regulation threshold field in class:MacroProps
|
/external/webrtc/webrtc/modules/video_coding/ |
jitter_estimator_tests.cc | 126 int threshold = regular_estimator_.GetJitterEstimate(0) / 2; local 136 if (regular_estimator_.GetJitterEstimate(0) < threshold) { 144 if (low_rate_estimator_.GetJitterEstimate(0) < threshold) {
|
/device/google/contexthub/firmware/os/algos/calibration/diversity_checker/ |
diversity_checker.h | 24 * k = norm( v1 - v2 )^2 < Threshold 26 * Hence when k < Threshold the data is not stored, because the vectors are too 98 // Threshold value that is used to check k against. 99 float threshold; member in struct:DiversityChecker 101 // Threshold tuning parameter used to calculate threshold (k_algo): 102 // threshold = threshold_tuning_param_sq * (local_field)^2. 132 // var_threshold -> is a threshold value for a Norm variance gate. 136 // threshold_tuning_param -> threshold tuning parameter used to calculate 137 // threshold (k_algo) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fDepthTests.cpp | 177 const float threshold = 0.02f; local 178 bool imagesOk = tcu::fuzzyCompare(log, "ComparisonResult", "Image comparison result", refFrame, gles2Frame, threshold, tcu::COMPARE_LOG_RESULT);
|
es2fRandomFragmentOpTests.cpp | 377 const tcu::UVec4 threshold = getCompareThreshold(); member in namespace:deqp::gles2::Functional 390 tcu::RGBA(threshold.x(), threshold.y(), threshold.z(), threshold.w()), 399 threshold, 420 return format.getColorThreshold().toIVec().asUint() + tcu::UVec4(6); // Default threshold. 423 * tcu::UVec4(5) + tcu::UVec4(2); // \note Non-scientific ad hoc formula. Need big threshold when few color bits; especially multiple blendings bring extra inaccuracy.
|
es2fShaderFragDataTests.cpp | 64 static bool compareSingleColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA threshold) 69 log << TestLog::Message << "Expecting " << expectedColor << " with threshold " << threshold << TestLog::EndMessage; 76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); 201 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); local 207 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green(), threshold);
|
/external/deqp/modules/gles3/functional/ |
es3fDepthTests.cpp | 180 const float threshold = 0.02f; local 181 bool imagesOk = tcu::fuzzyCompare(log, "ComparisonResult", "Image comparison result", refFrame, gles2Frame, threshold, tcu::COMPARE_LOG_RESULT);
|
es3fRandomFragmentOpTests.cpp | 377 const tcu::UVec4 threshold = getCompareThreshold(); member in namespace:deqp::gles3::Functional 390 tcu::RGBA(threshold.x(), threshold.y(), threshold.z(), threshold.w()), 399 threshold, 420 return format.getColorThreshold().toIVec().asUint() + tcu::UVec4(2); // Default threshold. 423 * tcu::UVec4(5) + tcu::UVec4(2); // \note Non-scientific ad hoc formula. Need big threshold when few color bits; especially multiple blendings bring extra inaccuracy.
|
/external/eigen/Eigen/src/IterativeLinearSolvers/ |
ConjugateGradient.h | 53 RealScalar threshold = tol*tol*rhsNorm2; local 55 if (residualNorm2 < threshold) 77 if(residualNorm2 < threshold)
|
LeastSquareConjugateGradient.h | 54 RealScalar threshold = tol*tol*rhsNorm2; local 56 if (residualNorm2 < threshold) 79 if(residualNorm2 < threshold)
|
/external/libxcam/modules/ocl/ |
cl_3d_denoise_handler.cpp | 115 float threshold = 2.0f * _handler->get_denoise_config ().threshold[info_index]; local 141 args.push_back (new CLArgumentT<float> (threshold)); 179 _config.threshold[0] = 0.05f; 180 _config.threshold[1] = 0.05f;
|
/external/tensorflow/tensorflow/core/kernels/ |
compare_and_bitpack_op.cc | 67 auto threshold = threshold_t.scalar<T>(); variable 71 func(c, input, threshold, output); 145 typename TTypes<T>::ConstScalar threshold, 147 const T thresh = threshold(); 185 typename TTypes<T>::ConstScalar threshold, \
|
conv_ops_gpu.h | 148 int64 threshold = 1LL << 31; local 149 if (total_size >= threshold) {
|