/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/test/reflection/ |
H A D | fatal_union_test.cpp | 35 using uii = std::integral_constant<union1::Type, union1::Type::ui>; 36 using udi = std::integral_constant<union1::Type, union1::Type::ud>; 37 using usi = std::integral_constant<union1::Type, union1::Type::us>; 38 using uei = std::integral_constant<union1::Type, union1::Type::ue>; 75 union1 u; in TEST() 77 union1& ul = u; in TEST() 159 union1 u; in TEST() 161 union1& ul = u; in TEST() 266 union1 u; in TEST() 277 union1 u; in TEST() [all …]
|
H A D | fatal_variant_test.cpp | 33 union1 u; \ 34 union1 const& c = u; \ 39 ASSERT_EQ(union1::Type::FIELD, u.getType()); \ 43 ASSERT_EQ(union1::Type::FIELD, u.getType()); \ 49 ASSERT_EQ(union1::Type::FIELD, u.getType()); \ 53 ASSERT_EQ(union1::Type::FIELD, u.getType()); \ 59 ASSERT_EQ(union1::Type::FIELD, u.getType()); \ 94 union1 u; \ in TEST() 95 union1 const& c = u; \ in TEST() 100 ASSERT_EQ(union1::Type::FIELD, u.getType()); \ in TEST() [all …]
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/constants/gen-android/ |
H A D | union1.java | 25 public class union1 extends TUnion<union1> { class 35 public union1() { in union1() method in union1 43 public union1(union1 other) { in union1() method in union1 47 public union1 deepCopy() { in deepCopy() 48 return new union1(this); in deepCopy() 52 union1 x = new union1(); in i() 57 public static union1 d(Double __value) { in d() 58 union1 x = new union1(); in d() 153 if (other instanceof union1) { in equals() 154 return equals((union1)other); in equals() [all …]
|
H A D | Constants.java | 230 public static final union1 u_1_1 = new union1(); 235 public static final union1 u_1_2 = new union1(); 240 public static final union1 u_1_3 = new union1(); 265 union1 tmp19 = new union1(); 273 union1 tmp20 = new union1(); 281 union1 tmp21 = new union1();
|
H A D | union2.java | 73 public static union2 u(union1 __value) { in u() 106 union1 u; in readValue() 107 u = new union1(); in readValue() 133 union1 u = (union1)getFieldValue(); in writeValue() 203 public union1 getU() { in getU() 204 return (union1) __getValue(U); in getU() 207 public void setU(union1 __value) { in setU()
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/constants/gen-py/module/ |
H A D | constants.py | 16 …m, City, Company, Internship, Range, struct1, struct2, struct3, struct4, union1, union2, MyCompany… 195 u_1_1 = union1(**{ 199 u_1_2 = union1(**{ 203 u_1_3 = union1(**{ 222 "u" : union1(**{ 228 "u" : union1(**{ 234 "u" : union1(**{
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/constants/gen-hack/ |
H A D | module_constants.php | 393 public static function u_1_1()[]: union1{ 394 return union1::fromShape( 406 public static function u_1_2()[]: union1{ 407 return union1::fromShape( 419 public static function u_1_3()[]: union1{ 420 return union1::fromShape( 478 "u" => union1::fromShape( 495 "u" => union1::fromShape( 512 "u" => union1::fromShape(
|
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/t/30-integration/MouseX-Types/ |
H A D | basic.t | 36 my $union1 = Int | MyArrayRef; 39 isa_ok($union1, "Mouse::Meta::TypeConstraint"); 40 isa_ok($union1, "Mouse::Meta::TypeConstraint"); 43 should_pass([], $union1); 44 should_pass(2, $union1); 45 should_fail({}, $union1);
|
/dports/devel/xsd/xsd-4.1.0.a11+dep/libxsd-frontend/tests/schema/enumeration/ |
H A D | test-000.std | 38 <union1 documentation> 39 enumeration union1: test#common-base 48 union union2 test#one test#union1 test#common-base 55 [1, 1] element a test#union1 58 complex complex2: test#union1
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/constants/gen-py3lite/module/ |
H A D | lite_types.py | 195 class union1(metaclass=_fbthrift_py3lite_types.UnionMeta): class 241 lambda: _fbthrift_py3lite_types.StructTypeInfo(union1), # typeinfo 254 union1, 316 u_1_1 = union1(i=97) 318 u_1_2 = union1(d=float(5.6)) 320 u_1_3 = union1() 328 u_2_4 = union2(u=union1(i=43)) 330 u_2_5 = union2(u=union1(d=float(9.8))) 332 u_2_6 = union2(u=union1())
|
H A D | lite_types.pyi | 157 class union1(_fbthrift_py3lite_types.Union): 168 EMPTY: union1.Type = ... 169 i: union1.Type = ... 170 d: union1.Type = ... 173 def fromValue(cls, value: _typing.Union[None, int, float]) -> union1: ... 183 u: _typing.Final[union1] = ... 189 u: _typing.Optional[union1]=... 202 value: _typing.Final[_typing.Union[None, int, float, struct1, union1]] 261 u_1_1: union1 = ... 263 u_1_2: union1 = ... [all …]
|
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/t/30-integration/MooseX-Types/ |
H A D | basic.t | 36 my $union1 = Int | MyArrayRef; 39 isa_ok($union1, "Moose::Meta::TypeConstraint"); 43 should_pass([], $union1); 44 should_pass(2, $union1); 45 should_fail({}, $union1);
|
/dports/java/jflex/jflex-1.8.1/src/test/java/jflex/state/ |
H A D | StateSetQuickcheck.java | 67 StateSet union1 = new StateSet(s1); in addCommutes() local 68 union1.add(s2); in addCommutes() 72 assertThat(union1).isEqualTo(union2); in addCommutes() 91 StateSet union1 = new StateSet(s1); in addIdemPotent() local 92 union1.add(s2); in addIdemPotent() 93 StateSet union2 = new StateSet(union1); in addIdemPotent() 95 assertThat(union2).isEqualTo(union1); in addIdemPotent() 221 StateSet union1 = new StateSet(comp); in complementUnion() local 222 union1.add(s1); in complementUnion() 224 assertThat(union1).isEqualTo(union0); in complementUnion()
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/constants/gen-cpp2/ |
H A D | module_types.cpp | 845 void TccStructTraits<::cpp2::union1>::translateFieldName( in translateFieldName() 865 …lly::Range<::cpp2::union1::Type const*> const TEnumTraits<::cpp2::union1::Type>::values = folly::r… 866 …ingPiece const*> const TEnumTraits<::cpp2::union1::Type>::names = folly::range(TEnumDataStorage<::… 869 using factory = detail::TEnumMapFactory<::cpp2::union1::Type>; in findName() 886 void union1::__fbthrift_clear() { in __fbthrift_clear() 903 bool union1::operator==(const union1& rhs) const { in operator ==() 915 bool union1::operator<(const union1& rhs) const { in operator <() 932 void swap(union1& a, union1& b) { in swap() 933 union1 temp(std::move(a)); in swap() 1081 ::cpp2::union1>, [all …]
|
H A D | module_data.cpp | 46 const std::array<::cpp2::union1::Type, 2> TEnumDataStorage<::cpp2::union1::Type>::values = {{ 50 const std::array<folly::StringPiece, 2> TEnumDataStorage<::cpp2::union1::Type>::names = {{ 167 const std::array<folly::StringPiece, 2> TStructDataStorage<::cpp2::union1>::fields_names = {{ 171 const std::array<int16_t, 2> TStructDataStorage<::cpp2::union1>::fields_ids = {{ 175 const std::array<protocol::TType, 2> TStructDataStorage<::cpp2::union1>::fields_types = {{
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/test/ |
H A D | TraitsTest.cpp | 24 static_assert(is_thrift_class_v<union1>); 37 static_assert(!is_thrift_struct_v<union1>); 50 static_assert(is_thrift_union_v<union1>); 63 static_assert(!is_thrift_exception_v<union1>);
|
H A D | traits.thrift | 32 union union1 { union 46 2: union1 field2; 53 2: union1 field2; 60 2: union1 field2;
|
H A D | ConstantsTest.cpp | 106 EXPECT_EQ(union1::Type::i, test_constants::u_1_1().getType()); in TEST() 109 EXPECT_EQ(union1::Type::d, test_constants::u_1_2().getType()); in TEST() 112 EXPECT_EQ(union1::Type::__EMPTY__, test_constants::u_1_3().getType()); in TEST() 125 EXPECT_EQ(union1::Type::i, test_constants::u_2_4().get_u().getType()); in TEST() 129 EXPECT_EQ(union1::Type::d, test_constants::u_2_5().get_u().getType()); in TEST() 133 EXPECT_EQ(union1::Type::__EMPTY__, test_constants::u_2_6().get_u().getType()); in TEST()
|
H A D | test.thrift | 84 union union1 { union 89 const union1 u_1_1 = {"i": 97}; 91 const union1 u_1_2 = {"d": 5.6}; 93 const union1 u_1_3 = {}; 99 4: union1 u;
|
/dports/sysutils/brasero/brasero-3.12.3/libbrasero-burn/ |
H A D | brasero-file-node.h | 100 } union1; member 169 ((MACRO_node)->is_grafted?(MACRO_node)->union1.graft->name: \ 170 (MACRO_node)->has_import?(MACRO_node)->union1.import->name: \ 171 (MACRO_node)->union1.name) 174 ((MACRO_node)->is_grafted?(MACRO_node)->union1.graft:NULL) 177 ((MACRO_node)->has_import?(MACRO_node)->union1.import:NULL)
|
/dports/irc/smuxi/smuxi-1.1/lib/db4o-net/Db4objects.Db4o/Db4objects.Db4o/Internal/Btree/Algebra/ |
H A D | BTreeAlgebra.cs | 20 public static IBTreeRange Intersect(BTreeRangeUnion union1, BTreeRangeUnion union2 in Intersect() argument 24 IEnumerator ranges = union1.Ranges(); in Intersect() 55 public static IBTreeRange Union(BTreeRangeUnion union1, BTreeRangeUnion union2) in Union() argument 57 IEnumerator ranges = union1.Ranges(); in Union()
|
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/objc.dg/ |
H A D | bad-receiver-type-2.m | 20 } union1,union2[2]; 30 [union1.a foo]; /* { dg-warning "invalid receiver type" } */ 34 [union1 foo]; /* { dg-warning "invalid receiver type" } */
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/objc.dg/ |
H A D | bad-receiver-type-2.m | 20 } union1,union2[2]; 30 [union1.a foo]; /* { dg-warning "invalid receiver type" } */ 34 [union1 foo]; /* { dg-warning "invalid receiver type" } */
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/objc.dg/ |
H A D | bad-receiver-type-2.m | 20 } union1,union2[2]; 30 [union1.a foo]; /* { dg-warning "invalid receiver type" } */ 34 [union1 foo]; /* { dg-warning "invalid receiver type" } */
|
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/objc.dg/ |
H A D | bad-receiver-type-2.m | 20 } union1,union2[2]; 30 [union1.a foo]; /* { dg-warning "invalid receiver type" } */ 34 [union1 foo]; /* { dg-warning "invalid receiver type" } */
|