Home
last modified time | relevance | path

Searched refs:ooe (Results 1 – 8 of 8) sorted by relevance

/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/test/
DJavaBeansTest.java29 OneOfEachBeans ooe = new OneOfEachBeans(); in main() local
32 if (ooe.is_set_a_bite()) in main()
34 if (ooe.is_set_base64()) in main()
36 if (ooe.is_set_byte_list()) in main()
38 if (ooe.is_set_double_precision()) in main()
40 if (ooe.is_set_i16_list()) in main()
42 if (ooe.is_set_i64_list()) in main()
44 if (ooe.is_set_boolean_field()) in main()
46 if (ooe.is_set_integer16()) in main()
48 if (ooe.is_set_integer32()) in main()
[all …]
/thrift-3.4.0/lib/d/test/
Dserialization_benchmark.d29 auto ooe = OneOfEach(); in main() local
30 ooe.im_true = true; in main()
31 ooe.im_false = false; in main()
32 ooe.a_bite = 0x7f; in main()
33 ooe.integer16 = 27_000; in main()
34 ooe.integer32 = 1 << 24; in main()
35 ooe.integer64 = 6_000_000_000; in main()
36 ooe.double_precision = PI; in main()
37 ooe.some_characters = "JSON THIS! \"\1"; in main()
38 ooe.zomg_unicode = "\xd7\n\a\t"; in main()
[all …]
/thrift-3.4.0/lib/cpp/test/
DSpecializationTest.cpp18 OneOfEach ooe; in BOOST_AUTO_TEST_CASE() local
19 ooe.im_true = true; in BOOST_AUTO_TEST_CASE()
20 ooe.im_false = false; in BOOST_AUTO_TEST_CASE()
21 ooe.a_bite = 0x7f; in BOOST_AUTO_TEST_CASE()
22 ooe.integer16 = 27000; in BOOST_AUTO_TEST_CASE()
23 ooe.integer32 = 1 << 24; in BOOST_AUTO_TEST_CASE()
24 ooe.integer64 = (uint64_t)6000 * 1000 * 1000; in BOOST_AUTO_TEST_CASE()
25 ooe.double_precision = M_PI; in BOOST_AUTO_TEST_CASE()
26 ooe.some_characters = "JSON THIS! \"\1"; in BOOST_AUTO_TEST_CASE()
27 ooe.zomg_unicode = "\xd7\n\a\t"; in BOOST_AUTO_TEST_CASE()
[all …]
DDebugProtoTest.cpp31 static ::std::shared_ptr<OneOfEach> ooe;
34 ooe.reset(new OneOfEach); in testCaseSetup_1()
35 ooe->im_true = true; in testCaseSetup_1()
36 ooe->im_false = false; in testCaseSetup_1()
37 ooe->a_bite = 0x7f; in testCaseSetup_1()
38 ooe->integer16 = 27000; in testCaseSetup_1()
39 ooe->integer32 = 1 << 24; in testCaseSetup_1()
40 ooe->integer64 = (uint64_t)6000 * 1000 * 1000; in testCaseSetup_1()
41 ooe->double_precision = M_PI; in testCaseSetup_1()
42 ooe->some_characters = "Debug THIS!"; in testCaseSetup_1()
[all …]
DBenchmark.cpp58 OneOfEach ooe; in main() local
59 ooe.im_true = true; in main()
60 ooe.im_false = false; in main()
61 ooe.a_bite = 0x7f; in main()
62 ooe.integer16 = 27000; in main()
63 ooe.integer32 = 1 << 24; in main()
64 ooe.integer64 = (uint64_t)6000 * 1000 * 1000; in main()
65 ooe.double_precision = M_PI; in main()
66 ooe.some_characters = "JSON THIS! \"\1"; in main()
67 ooe.zomg_unicode = "\xd7\n\a\t"; in main()
[all …]
DJSONProtoTest.cpp37 static std::shared_ptr<OneOfEach> ooe; variable
40 ooe.reset(new OneOfEach); in testCaseSetup_1()
41 ooe->im_true = true; in testCaseSetup_1()
42 ooe->im_false = false; in testCaseSetup_1()
43 ooe->a_bite = 0x7f; in testCaseSetup_1()
44 ooe->integer16 = 27000; in testCaseSetup_1()
45 ooe->integer32 = 1 << 24; in testCaseSetup_1()
46 ooe->integer64 = (uint64_t)6000 * 1000 * 1000; in testCaseSetup_1()
47 ooe->double_precision = M_PI; in testCaseSetup_1()
48 ooe->some_characters = "JSON THIS! \"\1"; in testCaseSetup_1()
[all …]
/thrift-3.4.0/test/rb/benchmarks/
Dprotocol_benchmark.rb42 ooe = Fixtures::Structs::OneOfEach.new
43 ooe.im_true = true
44 ooe.im_false = false
45 ooe.a_bite = -42
46 ooe.integer16 = 27000
47 ooe.integer32 = 1<<24
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/
DTestStruct.java62 OneOfEach ooe = Fixtures.getOneOfEach(); in testIdentity() local
65 n.my_ooe = ooe; in testIdentity()
81 binaryDeserializer.deserialize(ooe2, binarySerializer.serialize(ooe)); in testIdentity()
83 assertEquals(ooe, ooe2); in testIdentity()
84 assertEquals(ooe.hashCode(), ooe2.hashCode()); in testIdentity()
399 OneOfEach ooe = Fixtures.getOneOfEach();
402 oos.writeObject(ooe);
410 assertEquals(ooe, ooe2);