/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/mesquite/ObjectiveFunction/ |
H A D | StdDevTemplate.cpp | 47 double& value_out, in evaluate() argument 56 value_out = neg * sqrt( neg * value_out ); in evaluate() 62 double& value_out, in evaluate_with_gradient() argument 71 value_out *= neg; // undo any negation done by VarianceTemplate in evaluate_with_gradient() 72 value_out = sqrt( value_out ); // standard deviation in evaluate_with_gradient() 73 const double factor = 1.0/(2.0 * value_out); in evaluate_with_gradient() 76 value_out *= neg; // redo any negation done by VariandeTemplate in evaluate_with_gradient() 84 double& value_out, in evaluate_with_Hessian_diagonal() argument 95 value_out = sqrt( value_out ); // standard deviation in evaluate_with_Hessian_diagonal() 96 const double f1 = 1.0/(2.0 * value_out); in evaluate_with_Hessian_diagonal() [all …]
|
H A D | CompositeOFScalarAdd.cpp | 94 double& value_out, in evaluate() argument 98 bool ok = objFunc->evaluate( type, pd, value_out, free, err ); in evaluate() 99 value_out += mAlpha; in evaluate() 105 double& value_out, in evaluate_with_gradient() argument 109 bool ok = objFunc->evaluate_with_gradient( type, pd, value_out, grad_out, err ); in evaluate_with_gradient() 110 value_out += mAlpha; in evaluate_with_gradient() 116 double& value_out, in evaluate_with_Hessian_diagonal() argument 122 value_out += mAlpha; in evaluate_with_Hessian_diagonal() 128 double& value_out, in evaluate_with_Hessian() argument 133 bool ok = objFunc->evaluate_with_Hessian( type, pd, value_out, grad_out, Hessian_out, err ); in evaluate_with_Hessian() [all …]
|
H A D | CompositeOFScalarMultiply.cpp | 95 double& value_out, in evaluate() argument 99 bool ok = objFunc->evaluate( type, pd, value_out, free, err ); in evaluate() 100 value_out *= mAlpha; in evaluate() 106 double& value_out, in evaluate_with_gradient() argument 110 bool ok = objFunc->evaluate_with_gradient( type, pd, value_out, grad_out, err ); in evaluate_with_gradient() 111 value_out *= mAlpha; in evaluate_with_gradient() 119 double& value_out, in evaluate_with_Hessian_diagonal() argument 125 value_out *= mAlpha; in evaluate_with_Hessian_diagonal() 135 double& value_out, in evaluate_with_Hessian() argument 140 bool ok = objFunc->evaluate_with_Hessian( type, pd, value_out, grad_out, Hessian_out, err ); in evaluate_with_Hessian() [all …]
|
H A D | CompositeOFMultiply.cpp | 106 double& value_out, in evaluate() argument 113 ok = objFunc1->evaluate( type, pd, value_out, free, err ); in evaluate() 118 value_out *= value_2; in evaluate() 124 double& value_out, in evaluate_with_gradient() argument 131 ok = objFunc1->evaluate_with_gradient( type, pd, value_out, grad_out, err ); in evaluate_with_gradient() 142 *j *= value_out; in evaluate_with_gradient() 147 value_out *= value_2; in evaluate_with_gradient() 153 double& value_out, in evaluate_with_Hessian_diagonal() argument 168 mDiagonal[i] *= value_out; in evaluate_with_Hessian_diagonal() 173 mGradient[i] *= value_out; in evaluate_with_Hessian_diagonal() [all …]
|
H A D | CompositeOFAdd.cpp | 104 double& value_out, in evaluate() argument 111 ok = objFunc1->evaluate( type, pd, value_out, free, err ); in evaluate() 116 value_out += value_2; in evaluate() 122 double& value_out, in evaluate_with_gradient() argument 129 ok = objFunc1->evaluate_with_gradient( type, pd, value_out, grad_out, err ); in evaluate_with_gradient() 143 value_out += value_2; in evaluate_with_gradient() 149 double& value_out, in evaluate_with_Hessian_diagonal() argument 167 value_out += value_2; in evaluate_with_Hessian_diagonal() 173 double& value_out, in evaluate_with_Hessian() argument 183 ok = objFunc1->evaluate_with_Hessian( type, pd, value_out, grad_out, Hessian_out, err ); in evaluate_with_Hessian() [all …]
|
/dports/misc/visp/visp-3.4.0/modules/core/include/visp3/core/ |
H A D | vpImageMorphology.h | 136 if ((J[i][j + 1] == value_out) || // Top in erosion() 140 I[i][j] = value_out; in erosion() 150 if ((J[i][j] == value_out) || (J[i][j + 1] == value_out) || (J[i][j + 2] == value_out) || in erosion() 151 … (J[i + 1][j] == value_out) || (J[i + 1][j + 2] == value_out) || (J[i + 2][j] == value_out) || in erosion() 152 (J[i + 2][j + 1] == value_out) || (J[i + 2][j + 2] == value_out)) in erosion() 153 I[i][j] = value_out; in erosion() 190 J[i][j] = value_out; in dilatation() 193 J[i][0] = value_out; in dilatation() 195 J[i][J.getWidth() - 1] = value_out; in dilatation() 202 if (J[i + 1][j + 1] == value_out) { in dilatation() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/mojo/public/cpp/base/ |
H A D | values_mojom_traits.cc | 16 base::Value* value_out) { in Read() argument 34 base::Value* value_out) { in Read() argument 42 *value_out = base::Value(std::move(list_storage)); in Read() 48 base::Value* value_out) { in Read() argument 51 *value_out = base::Value(); in Read() 55 *value_out = base::Value(data.bool_value()); in Read() 59 *value_out = base::Value(data.int_value()); in Read() 63 *value_out = base::Value(data.double_value()); in Read() 70 *value_out = base::Value(string_piece); in Read() 84 return data.ReadDictionaryValue(value_out); in Read() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/mojo/public/cpp/base/ |
H A D | values_mojom_traits.cc | 16 base::Value* value_out) { in Read() argument 34 base::Value* value_out) { in Read() argument 42 *value_out = base::Value(std::move(list_storage)); in Read() 48 base::Value* value_out) { in Read() argument 51 *value_out = base::Value(); in Read() 55 *value_out = base::Value(data.bool_value()); in Read() 59 *value_out = base::Value(data.int_value()); in Read() 63 *value_out = base::Value(data.double_value()); in Read() 70 *value_out = base::Value(string_piece); in Read() 84 return data.ReadDictionaryValue(value_out); in Read() [all …]
|
/dports/lang/clover/mesa-21.3.6/src/gallium/tests/unit/ |
H A D | u_cache_test.c | 75 cache_test_value *value_out; in main() local 90 value_out = (cache_test_value *) util_cache_get(cache, key); in main() 91 assert(value_out == NULL); in main() 92 (void)value_out; in main() 107 value_out = util_cache_get(cache, key); in main() 108 assert(value_out != NULL); in main() 109 assert(value_in == value_out); in main() 110 assert(*value_in == *value_out); in main()
|
/dports/graphics/libosmesa/mesa-21.3.6/src/gallium/tests/unit/ |
H A D | u_cache_test.c | 75 cache_test_value *value_out; in main() local 90 value_out = (cache_test_value *) util_cache_get(cache, key); in main() 91 assert(value_out == NULL); in main() 92 (void)value_out; in main() 107 value_out = util_cache_get(cache, key); in main() 108 assert(value_out != NULL); in main() 109 assert(value_in == value_out); in main() 110 assert(*value_in == *value_out); in main()
|
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/tests/unit/ |
H A D | u_cache_test.c | 75 cache_test_value *value_out; in main() local 90 value_out = (cache_test_value *) util_cache_get(cache, key); in main() 91 assert(value_out == NULL); in main() 92 (void)value_out; in main() 107 value_out = util_cache_get(cache, key); in main() 108 assert(value_out != NULL); in main() 109 assert(value_in == value_out); in main() 110 assert(*value_in == *value_out); in main()
|
/dports/graphics/mesa-libs/mesa-21.3.6/src/gallium/tests/unit/ |
H A D | u_cache_test.c | 75 cache_test_value *value_out; in main() local 90 value_out = (cache_test_value *) util_cache_get(cache, key); in main() 91 assert(value_out == NULL); in main() 92 (void)value_out; in main() 107 value_out = util_cache_get(cache, key); in main() 108 assert(value_out != NULL); in main() 109 assert(value_in == value_out); in main() 110 assert(*value_in == *value_out); in main()
|
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/gallium/tests/unit/ |
H A D | u_cache_test.c | 75 cache_test_value *value_out; in main() local 90 value_out = (cache_test_value *) util_cache_get(cache, key); in main() 91 assert(value_out == NULL); in main() 92 (void)value_out; in main() 107 value_out = util_cache_get(cache, key); in main() 108 assert(value_out != NULL); in main() 109 assert(value_in == value_out); in main() 110 assert(*value_in == *value_out); in main()
|
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/gallium/tests/unit/ |
H A D | u_cache_test.c | 75 cache_test_value *value_out; in main() local 90 value_out = (cache_test_value *) util_cache_get(cache, key); in main() 91 assert(value_out == NULL); in main() 92 (void)value_out; in main() 107 value_out = util_cache_get(cache, key); in main() 108 assert(value_out != NULL); in main() 109 assert(value_in == value_out); in main() 110 assert(*value_in == *value_out); in main()
|
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/gallium/tests/unit/ |
H A D | u_cache_test.c | 75 cache_test_value *value_out; in main() local 90 value_out = (cache_test_value *) util_cache_get(cache, key); in main() 91 assert(value_out == NULL); in main() 92 (void)value_out; in main() 107 value_out = util_cache_get(cache, key); in main() 108 assert(value_out != NULL); in main() 109 assert(value_in == value_out); in main() 110 assert(*value_in == *value_out); in main()
|
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/gallium/tests/unit/ |
H A D | u_cache_test.c | 75 cache_test_value *value_out; in main() local 90 value_out = (cache_test_value *) util_cache_get(cache, key); in main() 91 assert(value_out == NULL); in main() 92 (void)value_out; in main() 107 value_out = util_cache_get(cache, key); in main() 108 assert(value_out != NULL); in main() 109 assert(value_in == value_out); in main() 110 assert(*value_in == *value_out); in main()
|
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/gallium/tests/unit/ |
H A D | u_cache_test.c | 75 cache_test_value *value_out; in main() local 90 value_out = (cache_test_value *) util_cache_get(cache, key); in main() 91 assert(value_out == NULL); in main() 92 (void)value_out; in main() 107 value_out = util_cache_get(cache, key); in main() 108 assert(value_out != NULL); in main() 109 assert(value_in == value_out); in main() 110 assert(*value_in == *value_out); in main()
|
/dports/graphics/mesa-dri/mesa-21.3.6/src/gallium/tests/unit/ |
H A D | u_cache_test.c | 75 cache_test_value *value_out; in main() local 90 value_out = (cache_test_value *) util_cache_get(cache, key); in main() 91 assert(value_out == NULL); in main() 92 (void)value_out; in main() 107 value_out = util_cache_get(cache, key); in main() 108 assert(value_out != NULL); in main() 109 assert(value_in == value_out); in main() 110 assert(*value_in == *value_out); in main()
|
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/gallium/tests/unit/ |
H A D | u_cache_test.c | 75 cache_test_value *value_out; in main() local 90 value_out = (cache_test_value *) util_cache_get(cache, key); in main() 91 assert(value_out == NULL); in main() 106 value_out = util_cache_get(cache, key); in main() 107 assert(value_out != NULL); in main() 108 assert(value_in == value_out); in main() 109 assert(*value_in == *value_out); in main()
|
/dports/sysutils/lnav/lnav-0.10.1/src/ |
H A D | spectro_source.cc | 141 std::string &line = value_out.get_string(); in list_value_for_overlay() 151 value_out.with_ansi_string( in list_value_for_overlay() 176 scrub_ansi_string(line, value_out.get_attrs()); in list_value_for_overlay() 182 value_out.with_attr(string_attr( in list_value_for_overlay() 257 value_out.clear(); in text_value_for_line() 265 value_out = tm_buffer; in text_value_for_line() 266 value_out.resize(s_row.sr_width, ' '); in text_value_for_line() 270 value_out[lpc] = 'x'; in text_value_for_line() 276 value_out[this->ss_cursor_column] = '*'; in text_value_for_line() 279 value_out[this->ss_cursor_column] = '+'; in text_value_for_line() [all …]
|
H A D | files_sub_source.cc | 245 value_out = fmt::format( in text_value_for_line() 260 value_out = fmt::format( in text_value_for_line() 282 value_out = fmt::format( in text_value_for_line() 311 value_out.emplace_back(line_range{0, -1}, in text_attrs_for_line() 325 value_out.emplace_back(line_range{0, -1}, in text_attrs_for_line() 330 value_out.emplace_back(line_range{0, -1}, in text_attrs_for_line() 340 value_out.emplace_back(line_range{0, -1}, in text_attrs_for_line() 363 value_out.emplace_back(lr, &view_curses::VC_STYLE, A_BOLD); in text_attrs_for_line() 367 value_out.emplace_back(lr, &view_curses::VC_FOREGROUND, in text_attrs_for_line() 402 value_out.with_ansi_string(fmt::format( in list_value_for_overlay() [all …]
|
/dports/sysutils/cfengine/cfengine-3.19.0/libntech/tests/unit/ |
H A D | string_lib_test.c | 500 assert_int_equal(StringDecimalToLong(str, &value_out), 0); \ 501 assert_int_equal(value_out, expected) 505 long value_out; in test_string_decimal_to_long() local 508 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG("0.0", value_out, 0); in test_string_decimal_to_long() 509 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG("-0.0", value_out, 0); in test_string_decimal_to_long() 510 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG("+0.0", value_out, 0); in test_string_decimal_to_long() 516 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG(" 0.0", value_out, 0); in test_string_decimal_to_long() 524 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG("9.0 ", value_out, 9); in test_string_decimal_to_long() 549 long value_out; in test_string_decimal_to_long_errors() local 553 assert_int_not_equal(StringDecimalToLong("", &value_out), 0); in test_string_decimal_to_long_errors() [all …]
|
/dports/sysutils/cfengine318/cfengine-3.18.1/libntech/tests/unit/ |
H A D | string_lib_test.c | 500 assert_int_equal(StringDecimalToLong(str, &value_out), 0); \ 501 assert_int_equal(value_out, expected) 505 long value_out; in test_string_decimal_to_long() local 508 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG("0.0", value_out, 0); in test_string_decimal_to_long() 509 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG("-0.0", value_out, 0); in test_string_decimal_to_long() 510 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG("+0.0", value_out, 0); in test_string_decimal_to_long() 516 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG(" 0.0", value_out, 0); in test_string_decimal_to_long() 524 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG("9.0 ", value_out, 9); in test_string_decimal_to_long() 549 long value_out; in test_string_decimal_to_long_errors() local 553 assert_int_not_equal(StringDecimalToLong("", &value_out), 0); in test_string_decimal_to_long_errors() [all …]
|
/dports/sysutils/cfengine-devel/core-d08ae9eff/libntech/tests/unit/ |
H A D | string_lib_test.c | 500 assert_int_equal(StringDecimalToLong(str, &value_out), 0); \ 501 assert_int_equal(value_out, expected) 505 long value_out; in test_string_decimal_to_long() local 508 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG("0.0", value_out, 0); in test_string_decimal_to_long() 509 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG("-0.0", value_out, 0); in test_string_decimal_to_long() 510 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG("+0.0", value_out, 0); in test_string_decimal_to_long() 516 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG(" 0.0", value_out, 0); in test_string_decimal_to_long() 524 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG("9.0 ", value_out, 9); in test_string_decimal_to_long() 549 long value_out; in test_string_decimal_to_long_errors() local 553 assert_int_not_equal(StringDecimalToLong("", &value_out), 0); in test_string_decimal_to_long_errors() [all …]
|
/dports/sysutils/cfengine319/cfengine-3.19.0/libntech/tests/unit/ |
H A D | string_lib_test.c | 500 assert_int_equal(StringDecimalToLong(str, &value_out), 0); \ 501 assert_int_equal(value_out, expected) 505 long value_out; in test_string_decimal_to_long() local 508 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG("0.0", value_out, 0); in test_string_decimal_to_long() 509 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG("-0.0", value_out, 0); in test_string_decimal_to_long() 510 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG("+0.0", value_out, 0); in test_string_decimal_to_long() 516 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG(" 0.0", value_out, 0); in test_string_decimal_to_long() 524 ASSERT_INT_EQUAL_STRING_DECIMAL_TO_LONG("9.0 ", value_out, 9); in test_string_decimal_to_long() 549 long value_out; in test_string_decimal_to_long_errors() local 553 assert_int_not_equal(StringDecimalToLong("", &value_out), 0); in test_string_decimal_to_long_errors() [all …]
|