Home
last modified time | relevance | path

Searched refs:test_val (Results 1 – 25 of 463) sorted by relevance

12345678910>>...19

/dports/security/snort3/snort3-3.1.19.0/src/framework/
H A Dvalue.cc298 Value test_val("12345"); variable
303 test_val.get_mac(mac);
347 Value test_val("1234"); variable
398 Value test_val("123456"); variable
415 Value test_val(bool_val);
418 test_val.set(num_val);
421 test_val.set(1234.2);
424 test_val.set(123456.0893);
427 test_val.set(0.0803);
451 Value test_val(true);
[all …]
/dports/textproc/xlnt/xlnt-1.5.0-92-g20f3dac2/tests/detail/
H A Dnumeric_util_test_suite.cpp152 xlnt_assert(xlnt::detail::float_equals<float>((test_val + test_diff_pass), test_val, 1)); in test_float_equals_fairness()
153 xlnt_assert(xlnt::detail::float_equals<float>(test_val, (test_val + test_diff_pass), 1)); in test_float_equals_fairness()
154 xlnt_assert(xlnt::detail::float_equals<float>(-(test_val + test_diff_pass), -test_val, 1)); in test_float_equals_fairness()
155 xlnt_assert(xlnt::detail::float_equals<float>(-test_val, -(test_val + test_diff_pass), 1)); in test_float_equals_fairness()
157 xlnt_assert(xlnt::detail::float_equals<float>((test_val + test_diff), test_val, 1)); in test_float_equals_fairness()
158 xlnt_assert(xlnt::detail::float_equals<float>(test_val, (test_val + test_diff), 1)); in test_float_equals_fairness()
159 xlnt_assert(xlnt::detail::float_equals<float>(-(test_val + test_diff), -test_val, 1)); in test_float_equals_fairness()
160 xlnt_assert(xlnt::detail::float_equals<float>(-test_val, -(test_val + test_diff), 1)); in test_float_equals_fairness()
162 xlnt_assert(!xlnt::detail::float_equals<float>((test_val + test_diff_fails), test_val, 1)); in test_float_equals_fairness()
163 xlnt_assert(!xlnt::detail::float_equals<float>(test_val, (test_val + test_diff_fails), 1)); in test_float_equals_fairness()
[all …]
/dports/textproc/xlnt/xlnt-1.5.0-92-g20f3dac2/tests/utils/
H A Doptional_tests.cpp103 const int test_val = 3; in test_ctor() local
104 xlnt::optional<int> opt2(test_val); in test_ctor()
122 const int test_val = 123; in test_copy_ctor() local
146 const int test_val = 123; in test_move_ctor() local
172 const int test_val = 123; in test_copy_assign() local
199 const int test_val = 123; in test_move_assign() local
271 const int test_val = 1; in test_equality() local
272 test_opt1.set(test_val); in test_equality()
285 test_opt2.set(test_val); in test_equality()
295 const int test_val = 1; in test_const() local
[all …]
/dports/multimedia/musikcube/musikcube-0.96.7/src/3rdparty/win32_src/microhttpd/
H A Dtest_str.c1128 for(test_val = 0; test_val <= rnd_val&& !c_failed[c]; test_val += rnd_val) in check_str_to_uint64_all_chars()
1184 for(test_val = 0; test_val <= rnd_val && !c_failed[i]; test_val += rnd_val) in check_str_to_uint64_overflow()
1233 for(test_val = 0; test_val <= rnd_val && !c_failed[i]; test_val += rnd_val) in check_str_to_uint64_no_val()
1347 for(test_val = 0; test_val <= rnd_val&& !c_failed[c]; test_val += rnd_val) in check_str_to_uint64_n_all_chars()
1577 for(test_val = 0; test_val <= rnd_val&& !c_failed[c]; test_val += rnd_val) in check_strx_to_uint32_all_chars()
1648 for(test_val = 0; test_val <= rnd_val && !c_failed[i]; test_val += rnd_val) in check_strx_to_uint32_overflow()
1697 for(test_val = 0; test_val <= rnd_val && !c_failed[i]; test_val += rnd_val) in check_strx_to_uint32_no_val()
1814 for(test_val = 0; test_val <= rnd_val&& !c_failed[c]; test_val += rnd_val) in check_strx_to_uint32_n_all_chars()
2069 for(test_val = 0; test_val <= rnd_val&& !c_failed[c]; test_val += rnd_val) in check_strx_to_uint64_all_chars()
2125 for(test_val = 0; test_val <= rnd_val && !c_failed[i]; test_val += rnd_val) in check_strx_to_uint64_overflow()
[all …]
/dports/lang/parrot/parrot-8.1.0/t/pmc/
H A Dclass.t139 .local int test_val
146 test_val = attribs
163 .local int test_val
177 test_val = attribs
182 test_val = attribs
230 .local int test_val
261 test_val = attribs
314 .local int test_val
348 .local int test_val
437 .local int test_val
[all …]
/dports/www/libmicrohttpd/libmicrohttpd-0.9.74/src/microhttpd/
H A Dtest_str.c1226 for (test_val = 0; test_val <= rnd_val && ! c_failed[c]; test_val += in check_str_to_uint64_all_chars()
1291 for (test_val = 0; test_val <= rnd_val && ! c_failed[i]; test_val += in check_str_to_uint64_overflow()
1349 for (test_val = 0; test_val <= rnd_val && ! c_failed[i]; test_val += in check_str_to_uint64_no_val()
1486 for (test_val = 0; test_val <= rnd_val && ! c_failed[c]; test_val += in check_str_to_uint64_n_all_chars()
1559 for (test_val = 0; test_val <= rnd_val && ! c_failed[i]; test_val += in check_str_to_uint64_n_overflow()
1772 for (test_val = 0; test_val <= rnd_val && ! c_failed[c]; test_val += in check_strx_to_uint32_all_chars()
1855 for (test_val = 0; test_val <= rnd_val && ! c_failed[i]; test_val += in check_strx_to_uint32_overflow()
1914 for (test_val = 0; test_val <= rnd_val && ! c_failed[i]; test_val += in check_strx_to_uint32_no_val()
2378 for (test_val = 0; test_val <= rnd_val && ! c_failed[c]; test_val += in check_strx_to_uint64_all_chars()
2443 for (test_val = 0; test_val <= rnd_val && ! c_failed[i]; test_val += in check_strx_to_uint64_overflow()
[all …]
/dports/devel/valgrind/valgrind-dragonfly-dragonfly/none/tests/ppc32/
H A Dtest_dfp5.c411 dfp_val_t test_val; in test_dfp_ddedpd_ops() local
423 test_val.u64_val = dfp64_vals[i]; in test_dfp_ddedpd_ops()
425 test_val.u128.valu = dfp128_vals[i * 2]; in test_dfp_ddedpd_ops()
426 test_val.u128.vall = dfp128_vals[(i * 2) + 1]; in test_dfp_ddedpd_ops()
437 result = (*func)(SP, &test_val); in test_dfp_ddedpd_ops()
443 test_val.u128.valu, test_val.u128.vall, in test_dfp_ddedpd_ops()
463 dfp_val_t test_val; in test_dfp_denbcd_ops() local
493 test_val.u64_val = bcd64_vals[i]; in test_dfp_denbcd_ops()
495 test_val.u128.valu = bcd128_vals[i * 2]; in test_dfp_denbcd_ops()
504 result = (*func)(S, &test_val); in test_dfp_denbcd_ops()
[all …]
/dports/devel/valgrind/valgrind-dragonfly-dragonfly/none/tests/ppc64/
H A Dtest_dfp5.c411 dfp_val_t test_val; in test_dfp_ddedpd_ops() local
423 test_val.u64_val = dfp64_vals[i]; in test_dfp_ddedpd_ops()
425 test_val.u128.valu = dfp128_vals[i * 2]; in test_dfp_ddedpd_ops()
426 test_val.u128.vall = dfp128_vals[(i * 2) + 1]; in test_dfp_ddedpd_ops()
437 result = (*func)(SP, &test_val); in test_dfp_ddedpd_ops()
443 test_val.u128.valu, test_val.u128.vall, in test_dfp_ddedpd_ops()
463 dfp_val_t test_val; in test_dfp_denbcd_ops() local
493 test_val.u64_val = bcd64_vals[i]; in test_dfp_denbcd_ops()
495 test_val.u128.valu = bcd128_vals[i * 2]; in test_dfp_denbcd_ops()
504 result = (*func)(S, &test_val); in test_dfp_denbcd_ops()
[all …]
/dports/devel/valgrind-lts/valgrind-dragonfly-dragonfly/none/tests/ppc32/
H A Dtest_dfp5.c411 dfp_val_t test_val; in test_dfp_ddedpd_ops() local
423 test_val.u64_val = dfp64_vals[i]; in test_dfp_ddedpd_ops()
425 test_val.u128.valu = dfp128_vals[i * 2]; in test_dfp_ddedpd_ops()
426 test_val.u128.vall = dfp128_vals[(i * 2) + 1]; in test_dfp_ddedpd_ops()
437 result = (*func)(SP, &test_val); in test_dfp_ddedpd_ops()
443 test_val.u128.valu, test_val.u128.vall, in test_dfp_ddedpd_ops()
463 dfp_val_t test_val; in test_dfp_denbcd_ops() local
493 test_val.u64_val = bcd64_vals[i]; in test_dfp_denbcd_ops()
495 test_val.u128.valu = bcd128_vals[i * 2]; in test_dfp_denbcd_ops()
504 result = (*func)(S, &test_val); in test_dfp_denbcd_ops()
[all …]
/dports/devel/valgrind-lts/valgrind-dragonfly-dragonfly/none/tests/ppc64/
H A Dtest_dfp5.c411 dfp_val_t test_val; in test_dfp_ddedpd_ops() local
423 test_val.u64_val = dfp64_vals[i]; in test_dfp_ddedpd_ops()
425 test_val.u128.valu = dfp128_vals[i * 2]; in test_dfp_ddedpd_ops()
426 test_val.u128.vall = dfp128_vals[(i * 2) + 1]; in test_dfp_ddedpd_ops()
437 result = (*func)(SP, &test_val); in test_dfp_ddedpd_ops()
443 test_val.u128.valu, test_val.u128.vall, in test_dfp_ddedpd_ops()
463 dfp_val_t test_val; in test_dfp_denbcd_ops() local
493 test_val.u64_val = bcd64_vals[i]; in test_dfp_denbcd_ops()
495 test_val.u128.valu = bcd128_vals[i * 2]; in test_dfp_denbcd_ops()
504 result = (*func)(S, &test_val); in test_dfp_denbcd_ops()
[all …]
/dports/devel/aws-c-common/aws-c-common-0.6.15/verification/cbmc/proofs/aws_round_up_to_power_of_two/
H A Daws_round_up_to_power_of_two_harness.c9 size_t test_val; in aws_round_up_to_power_of_two_harness() local
11 int rval = aws_round_up_to_power_of_two(test_val, &result); in aws_round_up_to_power_of_two_harness()
22 assert(test_val <= result); in aws_round_up_to_power_of_two_harness()
23 assert(test_val >= result >> 1); in aws_round_up_to_power_of_two_harness()
26 assert(test_val > ((SIZE_MAX >> 1) + 1)); in aws_round_up_to_power_of_two_harness()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/third_party/quiche/src/quic/core/
H A Dquic_data_writer_test.cc894 uint64_t test_val; in TEST_P() local
924 uint64_t test_val; in TEST_P() local
954 uint64_t test_val; in TEST_P() local
984 uint64_t test_val; in TEST_P() local
1049 uint64_t test_val = 0; in TEST_P() local
1052 EXPECT_EQ(test_val, 1u); in TEST_P()
1056 EXPECT_EQ(test_val, 63u); in TEST_P()
1061 EXPECT_EQ(test_val, 64u); in TEST_P()
1065 EXPECT_EQ(test_val, 16383u); in TEST_P()
1070 EXPECT_EQ(test_val, 16384u); in TEST_P()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/third_party/quiche/src/quic/core/
H A Dquic_data_writer_test.cc892 uint64_t test_val; in TEST_P() local
922 uint64_t test_val; in TEST_P() local
952 uint64_t test_val; in TEST_P() local
982 uint64_t test_val; in TEST_P() local
1047 uint64_t test_val = 0; in TEST_P() local
1050 EXPECT_EQ(test_val, 1u); in TEST_P()
1054 EXPECT_EQ(test_val, 63u); in TEST_P()
1059 EXPECT_EQ(test_val, 64u); in TEST_P()
1063 EXPECT_EQ(test_val, 16383u); in TEST_P()
1068 EXPECT_EQ(test_val, 16384u); in TEST_P()
[all …]
/dports/databases/p5-DBIx-QuickDB/DBIx-QuickDB-0.000021/t/Pool/
H A DPool.pm66 [{test_val => 'base', test_id => 1}],
120 {test_val => 'base', test_id => 1},
121 {test_val => 'foo', test_id => 2},
160 {test_val => 'base', test_id => 1},
161 {test_val => 'foo', test_id => 2},
162 {test_val => 'foo 1', test_id => 3},
172 {test_val => 'base', test_id => 1},
173 {test_val => 'foo', test_id => 2},
174 {test_val => 'foo 2', test_id => 3},
197 {test_val => 'base', test_id => 1},
[all …]
/dports/science/py-OpenMC/openmc-0.12.2/tests/unit_tests/
H A Dtest_math.py193 test_val = openmc.lib.math.maxwell_spectrum(T, prn_seed)
195 assert ref_val == test_val
203 test_val = openmc.lib.math.watt_spectrum(a, b, prn_seed)
205 assert ref_val == test_val
214 test_val = openmc.lib.math.normal_variate(mean, stdev, prn_seed)
215 assert ref_val == pytest.approx(test_val)
238 test_val = openmc.lib.math.broaden_wmp_polynomials(test_E, test_dopp, n)
240 assert np.allclose(ref_val, test_val)
245 test_val = openmc.lib.math.broaden_wmp_polynomials(test_E, test_dopp, n)
247 assert np.allclose(ref_val, test_val)
/dports/science/openmc/openmc-0.12.2/tests/unit_tests/
H A Dtest_math.py193 test_val = openmc.lib.math.maxwell_spectrum(T, prn_seed)
195 assert ref_val == test_val
203 test_val = openmc.lib.math.watt_spectrum(a, b, prn_seed)
205 assert ref_val == test_val
214 test_val = openmc.lib.math.normal_variate(mean, stdev, prn_seed)
215 assert ref_val == pytest.approx(test_val)
238 test_val = openmc.lib.math.broaden_wmp_polynomials(test_E, test_dopp, n)
240 assert np.allclose(ref_val, test_val)
245 test_val = openmc.lib.math.broaden_wmp_polynomials(test_E, test_dopp, n)
247 assert np.allclose(ref_val, test_val)
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/queso/test/test_InterpolationSurrogate/
H A Dtest_build_InterpolationSurrogateBuilder.C39 int test_val(double test_val, double exact_val, double tol, const std::string& test_name);
140 test_val( test_val_1, exact_val_1, tol, "test_build_1" ) || in main()
141 test_val( test_val_2, exact_val_2, tol, "test_build_2" ); in main()
171 test_val( test_val_1, exact_val_1, tol, "test_read_1" ) || in main()
172 test_val( test_val_2, exact_val_2, tol, "test_read_2" ); in main()
181 int test_val( double test_val, double exact_val, double tol, const std::string& test_name ) in test_val() function
185 double rel_error = (test_val - exact_val)/exact_val; in test_val()
191 << " test_val = " << test_val << std::endl in test_val()
/dports/math/py-pygsl/pygsl-2.3.0/gsl_dist/
H A Dgsl_Extension.py158 test_val = required_version[pos]
165 if type(test_val)== type(" "):
166 test_val = int(test_val)
168 if t_val > test_val:
171 elif t_val == test_val:
173 elif t_val < test_val:
/dports/devel/aws-c-common/aws-c-common-0.6.15/verification/cbmc/proofs/aws_is_power_of_two/
H A Daws_is_power_of_two_harness.c9 size_t test_val; in aws_is_power_of_two_harness() local
10 bool rval = aws_is_power_of_two(test_val); in aws_is_power_of_two_harness()
12 int popcount = __builtin_popcountl(test_val); in aws_is_power_of_two_harness()
14 int popcount = __builtin_popcountll(test_val); in aws_is_power_of_two_harness()
/dports/math/libmesh/libmesh-1.6.2/contrib/metaphysicl/test/
H A Dnamedindexarray_unit.C29 indexed_by_three test_val; in main() local
30 test_val.raw_data() = 2; in main()
31 test_val.raw_sizes().get<3>() = 1; in main()
33 auto test_val_2 = test_val * test_val; in main()
/dports/science/metaphysicl/MetaPhysicL-1.3.3/test/
H A Dnamedindexarray_unit.C29 indexed_by_three test_val; in main() local
30 test_val.raw_data() = 2; in main()
31 test_val.raw_sizes().get<3>() = 1; in main()
33 auto test_val_2 = test_val * test_val; in main()
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/bpf/verifier/
H A Dhelper_value_access.c11 BPF_MOV64_IMM(BPF_REG_2, sizeof(struct test_val)),
68 BPF_MOV64_IMM(BPF_REG_2, sizeof(struct test_val) + 8),
110 sizeof(struct test_val) - offsetof(struct test_val, foo)),
171 sizeof(struct test_val) - offsetof(struct test_val, foo) + 8),
233 BPF_MOV64_IMM(BPF_REG_3, offsetof(struct test_val, foo)),
236 sizeof(struct test_val) - offsetof(struct test_val, foo)),
300 sizeof(struct test_val) -
301 offsetof(struct test_val, foo) + 8),
369 sizeof(struct test_val) - offsetof(struct test_val, foo)),
458 sizeof(struct test_val) -
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/bpf/verifier/
H A Dhelper_value_access.c11 BPF_MOV64_IMM(BPF_REG_2, sizeof(struct test_val)),
68 BPF_MOV64_IMM(BPF_REG_2, sizeof(struct test_val) + 8),
110 sizeof(struct test_val) - offsetof(struct test_val, foo)),
171 sizeof(struct test_val) - offsetof(struct test_val, foo) + 8),
233 BPF_MOV64_IMM(BPF_REG_3, offsetof(struct test_val, foo)),
236 sizeof(struct test_val) - offsetof(struct test_val, foo)),
300 sizeof(struct test_val) -
301 offsetof(struct test_val, foo) + 8),
369 sizeof(struct test_val) - offsetof(struct test_val, foo)),
458 sizeof(struct test_val) -
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/bpf/verifier/
H A Dhelper_value_access.c11 BPF_MOV64_IMM(BPF_REG_2, sizeof(struct test_val)),
68 BPF_MOV64_IMM(BPF_REG_2, sizeof(struct test_val) + 8),
110 sizeof(struct test_val) - offsetof(struct test_val, foo)),
171 sizeof(struct test_val) - offsetof(struct test_val, foo) + 8),
233 BPF_MOV64_IMM(BPF_REG_3, offsetof(struct test_val, foo)),
236 sizeof(struct test_val) - offsetof(struct test_val, foo)),
300 sizeof(struct test_val) -
301 offsetof(struct test_val, foo) + 8),
369 sizeof(struct test_val) - offsetof(struct test_val, foo)),
458 sizeof(struct test_val) -
[all …]
/dports/databases/p5-DBIx-QuickDB/DBIx-QuickDB-0.000021/t/Drivers/
H A DANY.t26 ok($dbh->do("INSERT INTO quick_test(test_val) VALUES('foo')"), "Insert success");
28 my $sth = $dbh->prepare('SELECT * FROM quick_test WHERE test_val = ?');
33 [{test_val => 'foo', test_id => 1}],
40 my $sth2 = $dbh2->prepare('UPDATE quick_test SET test_val = ? WHERE test_id = ?');
43 $sth2 = $dbh2->prepare('SELECT * FROM quick_test WHERE test_val = ?');
48 [{test_val => 'bar', test_id => 1}],
59 [{test_val => 'foo', test_id => 1}],

12345678910>>...19