Home
last modified time | relevance | path

Searched refs:check_type (Results 1 – 25 of 2619) sorted by relevance

12345678910>>...105

/dports/textproc/p5-XML-Validator-Schema/XML-Validator-Schema-1.10/t/
H A D03types.t15 sub check_type {
26 ok(check_type(string => ""));
29 ok(check_type(integer => "0"));
30 ok(check_type(integer => "1"));
31 ok(check_type(integer => "-1"));
74 ok(check_type(int => "1"));
75 ok(check_type(int => "-1"));
90 ok(check_type(short => "1"));
91 ok(check_type(short => "-1"));
102 ok(check_type(byte => "1"));
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/thrift/lib/rb/spec/
H A Dtypes_spec.rb43 …expect { Thrift.check_type(nil, {:type => Thrift::Types::VOID}, :foo) }.not_to raise_…
87 expect { Thrift.check_type([1, 2], field, :foo) }.not_to raise_error
88 expect { Thrift.check_type([1, nil, 2], field, :foo) }.to raise_error(Thrift::TypeError)
90 expect { Thrift.check_type({1 => "one", 2 => "two"}, field, :foo) }.not_to raise_error
92 …expect { Thrift.check_type({1 => nil, 2 => "two"}, field, :foo) }.to raise_error(Thrift::TypeError)
94 expect { Thrift.check_type(Set.new([1, 2]), field, :foo) }.not_to raise_error
95 … expect { Thrift.check_type(Set.new([1, nil, 2]), field, :foo) }.to raise_error(Thrift::TypeError)
96 … expect { Thrift.check_type(Set.new([1, 2.3, 2]), field, :foo) }.to raise_error(Thrift::TypeError)
107 expect { Thrift.check_type([3], field, :foo) }.to raise_error(Thrift::TypeError, msg)
113 expect { Thrift.check_type([{nil => 3}], field, :foo) }.to raise_error(Thrift::TypeError, msg)
[all …]
/dports/net/storj/storj-1.45.3/vendor/github.com/apache/thrift/lib/rb/spec/
H A Dtypes_spec.rb43 …expect { Thrift.check_type(nil, {:type => Thrift::Types::VOID}, :foo) }.not_to raise_…
87 expect { Thrift.check_type([1, 2], field, :foo) }.not_to raise_error
88 expect { Thrift.check_type([1, nil, 2], field, :foo) }.to raise_error(Thrift::TypeError)
90 expect { Thrift.check_type({1 => "one", 2 => "two"}, field, :foo) }.not_to raise_error
92 …expect { Thrift.check_type({1 => nil, 2 => "two"}, field, :foo) }.to raise_error(Thrift::TypeError)
94 expect { Thrift.check_type(Set.new([1, 2]), field, :foo) }.not_to raise_error
95 … expect { Thrift.check_type(Set.new([1, nil, 2]), field, :foo) }.to raise_error(Thrift::TypeError)
96 … expect { Thrift.check_type(Set.new([1, 2.3, 2]), field, :foo) }.to raise_error(Thrift::TypeError)
107 expect { Thrift.check_type([3], field, :foo) }.to raise_error(Thrift::TypeError, msg)
113 expect { Thrift.check_type([{nil => 3}], field, :foo) }.to raise_error(Thrift::TypeError, msg)
[all …]
/dports/devel/py-thrift/thrift-0.14.0/lib/rb/spec/
H A Dtypes_spec.rb43 …expect { Thrift.check_type(nil, {:type => Thrift::Types::VOID}, :foo) }.not_to raise_…
87 expect { Thrift.check_type([1, 2], field, :foo) }.not_to raise_error
88 expect { Thrift.check_type([1, nil, 2], field, :foo) }.to raise_error(Thrift::TypeError)
90 expect { Thrift.check_type({1 => "one", 2 => "two"}, field, :foo) }.not_to raise_error
92 …expect { Thrift.check_type({1 => nil, 2 => "two"}, field, :foo) }.to raise_error(Thrift::TypeError)
94 expect { Thrift.check_type(Set.new([1, 2]), field, :foo) }.not_to raise_error
95 … expect { Thrift.check_type(Set.new([1, nil, 2]), field, :foo) }.to raise_error(Thrift::TypeError)
96 … expect { Thrift.check_type(Set.new([1, 2.3, 2]), field, :foo) }.to raise_error(Thrift::TypeError)
107 expect { Thrift.check_type([3], field, :foo) }.to raise_error(Thrift::TypeError, msg)
113 expect { Thrift.check_type([{nil => 3}], field, :foo) }.to raise_error(Thrift::TypeError, msg)
[all …]
/dports/www/fabio/fabio-1.5.14/vendor/github.com/apache/thrift/thrift-da1169d75b15/lib/rb/spec/
H A Dtypes_spec.rb43 …expect { Thrift.check_type(nil, {:type => Thrift::Types::VOID}, :foo) }.not_to raise_…
87 expect { Thrift.check_type([1, 2], field, :foo) }.not_to raise_error
88 expect { Thrift.check_type([1, nil, 2], field, :foo) }.to raise_error(Thrift::TypeError)
90 expect { Thrift.check_type({1 => "one", 2 => "two"}, field, :foo) }.not_to raise_error
92 …expect { Thrift.check_type({1 => nil, 2 => "two"}, field, :foo) }.to raise_error(Thrift::TypeError)
94 expect { Thrift.check_type(Set.new([1, 2]), field, :foo) }.not_to raise_error
95 … expect { Thrift.check_type(Set.new([1, nil, 2]), field, :foo) }.to raise_error(Thrift::TypeError)
96 … expect { Thrift.check_type(Set.new([1, 2.3, 2]), field, :foo) }.to raise_error(Thrift::TypeError)
107 expect { Thrift.check_type([3], field, :foo) }.to raise_error(Thrift::TypeError, msg)
113 expect { Thrift.check_type([{nil => 3}], field, :foo) }.to raise_error(Thrift::TypeError, msg)
[all …]
/dports/devel/thrift-c_glib/thrift-0.14.0/lib/rb/spec/
H A Dtypes_spec.rb43 …expect { Thrift.check_type(nil, {:type => Thrift::Types::VOID}, :foo) }.not_to raise_…
87 expect { Thrift.check_type([1, 2], field, :foo) }.not_to raise_error
88 expect { Thrift.check_type([1, nil, 2], field, :foo) }.to raise_error(Thrift::TypeError)
90 expect { Thrift.check_type({1 => "one", 2 => "two"}, field, :foo) }.not_to raise_error
92 …expect { Thrift.check_type({1 => nil, 2 => "two"}, field, :foo) }.to raise_error(Thrift::TypeError)
94 expect { Thrift.check_type(Set.new([1, 2]), field, :foo) }.not_to raise_error
95 … expect { Thrift.check_type(Set.new([1, nil, 2]), field, :foo) }.to raise_error(Thrift::TypeError)
96 … expect { Thrift.check_type(Set.new([1, 2.3, 2]), field, :foo) }.to raise_error(Thrift::TypeError)
107 expect { Thrift.check_type([3], field, :foo) }.to raise_error(Thrift::TypeError, msg)
113 expect { Thrift.check_type([{nil => 3}], field, :foo) }.to raise_error(Thrift::TypeError, msg)
[all …]
/dports/devel/thrift-cpp/thrift-0.14.0/lib/rb/spec/
H A Dtypes_spec.rb43 …expect { Thrift.check_type(nil, {:type => Thrift::Types::VOID}, :foo) }.not_to raise_…
87 expect { Thrift.check_type([1, 2], field, :foo) }.not_to raise_error
88 expect { Thrift.check_type([1, nil, 2], field, :foo) }.to raise_error(Thrift::TypeError)
90 expect { Thrift.check_type({1 => "one", 2 => "two"}, field, :foo) }.not_to raise_error
92 …expect { Thrift.check_type({1 => nil, 2 => "two"}, field, :foo) }.to raise_error(Thrift::TypeError)
94 expect { Thrift.check_type(Set.new([1, 2]), field, :foo) }.not_to raise_error
95 … expect { Thrift.check_type(Set.new([1, nil, 2]), field, :foo) }.to raise_error(Thrift::TypeError)
96 … expect { Thrift.check_type(Set.new([1, 2.3, 2]), field, :foo) }.to raise_error(Thrift::TypeError)
107 expect { Thrift.check_type([3], field, :foo) }.to raise_error(Thrift::TypeError, msg)
113 expect { Thrift.check_type([{nil => 3}], field, :foo) }.to raise_error(Thrift::TypeError, msg)
[all …]
/dports/devel/thrift/thrift-0.14.0/lib/rb/spec/
H A Dtypes_spec.rb43 …expect { Thrift.check_type(nil, {:type => Thrift::Types::VOID}, :foo) }.not_to raise_…
87 expect { Thrift.check_type([1, 2], field, :foo) }.not_to raise_error
88 expect { Thrift.check_type([1, nil, 2], field, :foo) }.to raise_error(Thrift::TypeError)
90 expect { Thrift.check_type({1 => "one", 2 => "two"}, field, :foo) }.not_to raise_error
92 …expect { Thrift.check_type({1 => nil, 2 => "two"}, field, :foo) }.to raise_error(Thrift::TypeError)
94 expect { Thrift.check_type(Set.new([1, 2]), field, :foo) }.not_to raise_error
95 … expect { Thrift.check_type(Set.new([1, nil, 2]), field, :foo) }.to raise_error(Thrift::TypeError)
96 … expect { Thrift.check_type(Set.new([1, 2.3, 2]), field, :foo) }.to raise_error(Thrift::TypeError)
107 expect { Thrift.check_type([3], field, :foo) }.to raise_error(Thrift::TypeError, msg)
113 expect { Thrift.check_type([{nil => 3}], field, :foo) }.to raise_error(Thrift::TypeError, msg)
[all …]
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/apache/thrift/lib/rb/spec/
H A Dtypes_spec.rb43 …expect { Thrift.check_type(nil, {:type => Thrift::Types::VOID}, :foo) }.not_to raise_…
87 expect { Thrift.check_type([1, 2], field, :foo) }.not_to raise_error
88 expect { Thrift.check_type([1, nil, 2], field, :foo) }.to raise_error(Thrift::TypeError)
90 expect { Thrift.check_type({1 => "one", 2 => "two"}, field, :foo) }.not_to raise_error
92 …expect { Thrift.check_type({1 => nil, 2 => "two"}, field, :foo) }.to raise_error(Thrift::TypeError)
94 expect { Thrift.check_type(Set.new([1, 2]), field, :foo) }.not_to raise_error
95 … expect { Thrift.check_type(Set.new([1, nil, 2]), field, :foo) }.to raise_error(Thrift::TypeError)
96 … expect { Thrift.check_type(Set.new([1, 2.3, 2]), field, :foo) }.to raise_error(Thrift::TypeError)
107 expect { Thrift.check_type([3], field, :foo) }.to raise_error(Thrift::TypeError, msg)
113 expect { Thrift.check_type([{nil => 3}], field, :foo) }.to raise_error(Thrift::TypeError, msg)
[all …]
/dports/devel/node-thrift/thrift-0.14.0/lib/rb/spec/
H A Dtypes_spec.rb43 …expect { Thrift.check_type(nil, {:type => Thrift::Types::VOID}, :foo) }.not_to raise_…
87 expect { Thrift.check_type([1, 2], field, :foo) }.not_to raise_error
88 expect { Thrift.check_type([1, nil, 2], field, :foo) }.to raise_error(Thrift::TypeError)
90 expect { Thrift.check_type({1 => "one", 2 => "two"}, field, :foo) }.not_to raise_error
92 …expect { Thrift.check_type({1 => nil, 2 => "two"}, field, :foo) }.to raise_error(Thrift::TypeError)
94 expect { Thrift.check_type(Set.new([1, 2]), field, :foo) }.not_to raise_error
95 … expect { Thrift.check_type(Set.new([1, nil, 2]), field, :foo) }.to raise_error(Thrift::TypeError)
96 … expect { Thrift.check_type(Set.new([1, 2.3, 2]), field, :foo) }.to raise_error(Thrift::TypeError)
107 expect { Thrift.check_type([3], field, :foo) }.to raise_error(Thrift::TypeError, msg)
113 expect { Thrift.check_type([{nil => 3}], field, :foo) }.to raise_error(Thrift::TypeError, msg)
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/experimental/skrive/tests/
H A DDomTypes.cpp21 check_type<skrive::Component >(reporter, node, true); in DEF_TEST()
22 check_type<skrive::TransformableComponent>(reporter, node, true); in DEF_TEST()
23 check_type<skrive::Node >(reporter, node, true); in DEF_TEST()
24 check_type<skrive::Drawable >(reporter, node, false); in DEF_TEST()
25 check_type<skrive::Shape >(reporter, node, false); in DEF_TEST()
31 check_type<skrive::Component >(reporter, node, true); in DEF_TEST()
32 check_type<skrive::TransformableComponent>(reporter, node, true); in DEF_TEST()
33 check_type<skrive::Node >(reporter, node, true); in DEF_TEST()
34 check_type<skrive::Drawable >(reporter, node, true); in DEF_TEST()
35 check_type<skrive::Shape >(reporter, node, true); in DEF_TEST()
[all …]
/dports/math/stanmath/math-4.2.0/stan/math/prim/meta/
H A Drequire_helpers.hpp72 #define STAN_ADD_REQUIRE_UNARY(check_type, checker, doxygen_group) \ argument
79 using require_##check_type##_t = require_t<checker<std::decay_t<T>>>; \
83 using require_not_##check_type##_t \
88 using require_all_##check_type##_t \
93 using require_any_##check_type##_t \
98 using require_all_not_##check_type##_t \
103 using require_any_not_##check_type##_t \
114 #define STAN_ADD_REQUIRE_UNARY_INNER(check_type, checker, doxygen_group) \ argument
186 #define STAN_ADD_REQUIRE_BINARY(check_type, checker, doxygen_group) \ argument
193 using require_##check_type##_t \
[all …]
/dports/lang/gcc12-devel/gcc-12-20211205/libstdc++-v3/testsuite/20_util/tuple/cons/
H A Ddeduction.cc28 check_type(U&) { } in check_type() function
41 check_type<std::tuple<>>(x); in test00()
44 check_type<decltype(x)>(copy); in test00()
46 check_type<decltype(x)>(move); in test00()
53 check_type<std::tuple<int>>(x); in test01()
65 check_type<decltype(x)>(copy); in test01()
67 check_type<decltype(mo)>(move); in test01()
88 check_type<decltype(x)>(copy); in test02()
113 check_type<decltype(x)>(copy); in test03()
161 check_type<decltype(x)>(x5); in test05()
[all …]
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/20_util/tuple/cons/
H A Ddeduction.cc28 check_type(U&) { } in check_type() function
41 check_type<std::tuple<>>(x); in test00()
44 check_type<decltype(x)>(copy); in test00()
46 check_type<decltype(x)>(move); in test00()
53 check_type<std::tuple<int>>(x); in test01()
65 check_type<decltype(x)>(copy); in test01()
67 check_type<decltype(mo)>(move); in test01()
88 check_type<decltype(x)>(copy); in test02()
113 check_type<decltype(x)>(copy); in test03()
163 check_type<decltype(x)>(x5); in test05()
[all …]
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libstdc++-v3/testsuite/20_util/tuple/cons/
H A Ddeduction.cc28 check_type(U&) { } in check_type() function
41 check_type<std::tuple<>>(x); in test00()
44 check_type<decltype(x)>(copy); in test00()
46 check_type<decltype(x)>(move); in test00()
53 check_type<std::tuple<int>>(x); in test01()
65 check_type<decltype(x)>(copy); in test01()
67 check_type<decltype(mo)>(move); in test01()
88 check_type<decltype(x)>(copy); in test02()
113 check_type<decltype(x)>(copy); in test03()
163 check_type<decltype(x)>(x5); in test05()
[all …]
/dports/lang/gcc11/gcc-11.2.0/libstdc++-v3/testsuite/20_util/tuple/cons/
H A Ddeduction.cc28 check_type(U&) { } in check_type() function
41 check_type<std::tuple<>>(x); in test00()
44 check_type<decltype(x)>(copy); in test00()
46 check_type<decltype(x)>(move); in test00()
53 check_type<std::tuple<int>>(x); in test01()
65 check_type<decltype(x)>(copy); in test01()
67 check_type<decltype(mo)>(move); in test01()
88 check_type<decltype(x)>(copy); in test02()
113 check_type<decltype(x)>(copy); in test03()
161 check_type<decltype(x)>(x5); in test05()
[all …]
/dports/lang/gcc10/gcc-10.3.0/libstdc++-v3/testsuite/20_util/tuple/cons/
H A Ddeduction.cc29 check_type(U&) { } in check_type() function
42 check_type<std::tuple<>>(x); in test00()
45 check_type<decltype(x)>(copy); in test00()
47 check_type<decltype(x)>(move); in test00()
54 check_type<std::tuple<int>>(x); in test01()
66 check_type<decltype(x)>(copy); in test01()
68 check_type<decltype(mo)>(move); in test01()
89 check_type<decltype(x)>(copy); in test02()
114 check_type<decltype(x)>(copy); in test03()
164 check_type<decltype(x)>(x5); in test05()
[all …]
/dports/lang/gcc11-devel/gcc-11-20211009/libstdc++-v3/testsuite/20_util/tuple/cons/
H A Ddeduction.cc28 check_type(U&) { } in check_type() function
41 check_type<std::tuple<>>(x); in test00()
44 check_type<decltype(x)>(copy); in test00()
46 check_type<decltype(x)>(move); in test00()
53 check_type<std::tuple<int>>(x); in test01()
65 check_type<decltype(x)>(copy); in test01()
67 check_type<decltype(mo)>(move); in test01()
88 check_type<decltype(x)>(copy); in test02()
113 check_type<decltype(x)>(copy); in test03()
161 check_type<decltype(x)>(x5); in test05()
[all …]
/dports/devel/avr-gcc/gcc-10.2.0/libstdc++-v3/testsuite/20_util/tuple/cons/
H A Ddeduction.cc29 check_type(U&) { } in check_type() function
42 check_type<std::tuple<>>(x); in test00()
45 check_type<decltype(x)>(copy); in test00()
47 check_type<decltype(x)>(move); in test00()
54 check_type<std::tuple<int>>(x); in test01()
66 check_type<decltype(x)>(copy); in test01()
68 check_type<decltype(mo)>(move); in test01()
89 check_type<decltype(x)>(copy); in test02()
114 check_type<decltype(x)>(copy); in test03()
164 check_type<decltype(x)>(x5); in test05()
[all …]
/dports/devel/riscv64-gcc/gcc-8.3.0/libstdc++-v3/testsuite/20_util/tuple/cons/
H A Ddeduction.cc28 check_type(U&) { } in check_type() function
41 check_type<std::tuple<>>(x); in test00()
44 check_type<decltype(x)>(copy); in test00()
46 check_type<decltype(x)>(move); in test00()
53 check_type<std::tuple<int>>(x); in test01()
65 check_type<decltype(x)>(copy); in test01()
67 check_type<decltype(mo)>(move); in test01()
88 check_type<decltype(x)>(copy); in test02()
113 check_type<decltype(x)>(copy); in test03()
163 check_type<decltype(x)>(x5); in test05()
[all …]
/dports/lang/gcc9-devel/gcc-9-20211007/libstdc++-v3/testsuite/20_util/tuple/cons/
H A Ddeduction.cc28 check_type(U&) { } in check_type() function
41 check_type<std::tuple<>>(x); in test00()
44 check_type<decltype(x)>(copy); in test00()
46 check_type<decltype(x)>(move); in test00()
53 check_type<std::tuple<int>>(x); in test01()
65 check_type<decltype(x)>(copy); in test01()
67 check_type<decltype(mo)>(move); in test01()
88 check_type<decltype(x)>(copy); in test02()
113 check_type<decltype(x)>(copy); in test03()
163 check_type<decltype(x)>(x5); in test05()
[all …]
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/20_util/tuple/cons/
H A Ddeduction.cc28 check_type(U&) { } in check_type() function
41 check_type<std::tuple<>>(x); in test00()
44 check_type<decltype(x)>(copy); in test00()
46 check_type<decltype(x)>(move); in test00()
53 check_type<std::tuple<int>>(x); in test01()
65 check_type<decltype(x)>(copy); in test01()
67 check_type<decltype(mo)>(move); in test01()
88 check_type<decltype(x)>(copy); in test02()
113 check_type<decltype(x)>(copy); in test03()
163 check_type<decltype(x)>(x5); in test05()
[all …]
/dports/lang/gcc9/gcc-9.4.0/libstdc++-v3/testsuite/20_util/tuple/cons/
H A Ddeduction.cc28 check_type(U&) { } in check_type() function
41 check_type<std::tuple<>>(x); in test00()
44 check_type<decltype(x)>(copy); in test00()
46 check_type<decltype(x)>(move); in test00()
53 check_type<std::tuple<int>>(x); in test01()
65 check_type<decltype(x)>(copy); in test01()
67 check_type<decltype(mo)>(move); in test01()
88 check_type<decltype(x)>(copy); in test02()
113 check_type<decltype(x)>(copy); in test03()
163 check_type<decltype(x)>(x5); in test05()
[all …]
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/20_util/tuple/cons/
H A Ddeduction.cc28 check_type(U&) { } in check_type() function
41 check_type<std::tuple<>>(x); in test00()
44 check_type<decltype(x)>(copy); in test00()
46 check_type<decltype(x)>(move); in test00()
53 check_type<std::tuple<int>>(x); in test01()
65 check_type<decltype(x)>(copy); in test01()
67 check_type<decltype(mo)>(move); in test01()
88 check_type<decltype(x)>(copy); in test02()
113 check_type<decltype(x)>(copy); in test03()
163 check_type<decltype(x)>(x5); in test05()
[all …]
/dports/lang/gcc10-devel/gcc-10-20211008/libstdc++-v3/testsuite/20_util/tuple/cons/
H A Ddeduction.cc29 check_type(U&) { } in check_type() function
42 check_type<std::tuple<>>(x); in test00()
45 check_type<decltype(x)>(copy); in test00()
47 check_type<decltype(x)>(move); in test00()
54 check_type<std::tuple<int>>(x); in test01()
66 check_type<decltype(x)>(copy); in test01()
68 check_type<decltype(mo)>(move); in test01()
89 check_type<decltype(x)>(copy); in test02()
114 check_type<decltype(x)>(copy); in test03()
164 check_type<decltype(x)>(x5); in test05()
[all …]

12345678910>>...105