Home
last modified time | relevance | path

Searched refs:userMap (Results 1 – 25 of 30) sorted by relevance

12

/thrift-3.4.0/lib/nodejs/test/
Dtest-cases.js132 userMap: { "5": 5, "8": 8 },
150 userMap: { "5": 5, "8": 8 },
169 "2": { "6": { userMap: {}, xtructs: [] } } property in insanity.2.6
/thrift-3.4.0/lib/d/test/
Dthrift_test_common.d19 foreach(key3, value3; value2.userMap) { in writeInsanityReturn()
58 crazy.userMap[Numberz.EIGHT] = 8; in this()
64 looney.userMap[Numberz.FIVE] = 5; in this()
/thrift-3.4.0/test/perl/
DTestClient.pl373 $insane->{userMap}->{ThriftTest::Numberz::FIVE} = 5000;
394 my $userMap = $v2->{userMap};
396 if (ref($userMap) eq 'HASH') {
397 while( my($k3,$v3) = each %$userMap) {
DTestServer.pl331 …my $crazy = ThriftTest::Insanity->new({userMap => { ThriftTest::Numberz::EIGHT => 8 }, xtructs => …
/thrift-3.4.0/lib/php/test/
DFixtures.php159 $userMap =
168 'userMap' => $userMap,
/thrift-3.4.0/lib/js/test/
Dtest_handler.js135 crazy.userMap = [];
136 crazy.userMap[ttypes.Numberz.EIGHT] = 8;
137 crazy.userMap[ttypes.Numberz.FIVE] = 5;
/thrift-3.4.0/lib/ts/test/
Dtest_handler.js135 crazy.userMap = [];
136 crazy.userMap[ttypes.Numberz.EIGHT] = 8;
137 crazy.userMap[ttypes.Numberz.FIVE] = 5;
/thrift-3.4.0/test/php/
DTestClient.php445 $insane->userMap[\ThriftTest\Numberz::FIVE] = 5000;
459 $userMap = $v2->userMap; variable
461 if (is_array($userMap)) {
462 foreach ($userMap as $k3 => $v3) {
/thrift-3.4.0/lib/c_glib/test/
Dtestthrifttestclient.cpp234 crazy.userMap.insert(make_pair(Numberz::EIGHT, 8)); in testInsanity()
238 crazy.userMap.insert(make_pair(Numberz::FIVE, 5)); in testInsanity()
261 map<Numberz::type, UserId> userMap = i2_iter->second.userMap; in testInsanity() local
264 for (um = userMap.begin(); um != userMap.end(); ++um) { in testInsanity()
510 insanity_out->userMap = g_hash_table_new (nullptr, nullptr); in test_thrift_client()
511 g_hash_table_insert (insanity_out->userMap, GINT_TO_POINTER (enum_out), &user_id_out); in test_thrift_client()
Dtestthrifttestzlibclient.cpp229 crazy.userMap.insert(make_pair(Numberz::EIGHT, 8)); in testInsanity()
233 crazy.userMap.insert(make_pair(Numberz::FIVE, 5)); in testInsanity()
256 map<Numberz::type, UserId> userMap = i2_iter->second.userMap; in testInsanity() local
259 for (um = userMap.begin(); um != userMap.end(); ++um) { in testInsanity()
509 insanity_out->userMap = g_hash_table_new (nullptr, nullptr); in test_thrift_client()
510 g_hash_table_insert (insanity_out->userMap, GINT_TO_POINTER (enum_out), &user_id_out); in test_thrift_client()
/thrift-3.4.0/test/haxe/src/
DTestClient.hx817 insane.userMap = new IntMap< Int64>();
818 insane.userMap.set( Numberz.FIVE, Int64.make(0,5000));
839 var userMap = v2.userMap; variable
842 if (userMap != null)
844 for( k3 in userMap.keys())
846 trace(k3 + " => " + userMap.get(k3) + ", ");
910 …t( Int64.compare( crazy2.userMap.get(Numberz.FIVE), insane.userMap.get(Numberz.FIVE)) == 0, "crazy…
916 …t( Int64.compare( crazy3.userMap.get(Numberz.FIVE), insane.userMap.get(Numberz.FIVE)) == 0, "crazy…
/thrift-3.4.0/lib/kotlin/cross-test-client/src/main/kotlin/org/apache/thrift/test/
DTestClient.kt239 insane.userMap = in <lambda>()
260 val userMap = v2!!.userMap in <lambda>() constant
262 if (userMap != null) { in <lambda>()
263 for (k3 in userMap.keys) { in <lambda>()
264 print(k3.toString() + " => " + userMap[k3] + ", ") in <lambda>()
301 if ((six.userMap?.size ?: 0) == 0 && (six.xtructs?.size ?: 0) == 0) { in <lambda>()
/thrift-3.4.0/lib/java/src/crossTest/java/org/apache/thrift/test/
DTestClient.java623 insane.userMap = new HashMap<Numberz, Long>(); in main()
624 insane.userMap.put(Numberz.EIGHT, (long) 8); in main()
625 insane.userMap.put(Numberz.FIVE, (long) 5); in main()
640 Map<Numberz, Long> userMap = v2.userMap; in main() local
642 if (userMap != null) { in main()
643 for (Numberz k3 : userMap.keySet()) { in main()
644 System.out.print(k3 + " => " + userMap.get(k3) + ", "); in main()
/thrift-3.4.0/test/rb/integration/
DTestClient.rb309 assert(ret[2][6].userMap == nil || ret[2][6].userMap.length == 0)
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/server/
DServerTestBase.java392 insane.userMap = new HashMap<>(); in testInsanity()
393 insane.userMap.put(Numberz.FIVE, (long) 5000); in testInsanity()
411 Map<Numberz, Long> userMap = v2.userMap; in testInsanity() local
413 if (userMap != null) { in testInsanity()
414 for (Numberz k3 : userMap.keySet()) { in testInsanity()
415 System.out.print(k3 + " => " + userMap.get(k3) + ", "); in testInsanity()
/thrift-3.4.0/test/swift/CrossTests/Sources/TestClient/
Dmain.swift278 let argument = Insanity(userMap: [.eight: 8], xtructs: []) in testInsanity()
285 .six: Insanity(userMap: [:], xtructs: []) in testInsanity()
/thrift-3.4.0/test/cpp/src/
DTestClient.cpp939 insane.userMap.insert(make_pair(Numberz::FIVE, 5)); in main()
940 insane.userMap.insert(make_pair(Numberz::EIGHT, 8)); in main()
963 map<Numberz::type, UserId> userMap = i2_iter->second.userMap; in main() local
966 for (um = userMap.begin(); um != userMap.end(); ++um) { in main()
DTestServer.cpp268 map<Numberz::type, UserId> userMap = i2_iter->second.userMap; in testInsanity() local
271 for (um = userMap.begin(); um != userMap.end(); ++um) { in testInsanity()
/thrift-3.4.0/test/swift/CrossTests/Sources/TestServer/
DThriftTestService.swift282 .six: Insanity(userMap: [:], xtructs: []) in testInsanity()
/thrift-3.4.0/test/netstd/Client/
DTestClient.cs840 var userMap = v2.UserMap; in ExecuteClientTest()
843 if (userMap != null) in ExecuteClientTest()
845 foreach (var k3 in userMap.Keys) in ExecuteClientTest()
847 Console.Write(k3 + " => " + userMap[k3] + ", "); in ExecuteClientTest()
/thrift-3.4.0/test/erl/src/
Dtest_client.erl91 userMap = dict:from_list([{?THRIFT_TEST_NUMBERZ_FIVE, 5000}]),
Dtest_thrift_server.erl173 userMap = dict:from_list([{?THRIFT_TEST_NUMBERZ_EIGHT, 8}]),
/thrift-3.4.0/lib/erl/test/
Dthrift_test_test.erl57 #'thrift.test.Insanity'{userMap=null,xtructs=null}
206 {1, undefined, {map, i32, i64}, userMap, dict:new()},
/thrift-3.4.0/lib/delphi/test/
DTestClient.pas446 userMap : IThriftDictionary<TNumberz, Int64>;
828 userMap := v2.UserMap;
830 if userMap <> nil then
832 for k3 in userMap.Keys do
834 Console.Write( IntToStr( Integer( k3)) + ' => ' + IntToStr( userMap[k3]) + ', ');
/thrift-3.4.0/lib/kotlin/cross-test-server/src/main/kotlin/org/apache/thrift/test/
DTestHandler.kt188 userMap = HashMap() in testInsanity()

12