Home
last modified time | relevance | path

Searched refs:first_map (Results 1 – 17 of 17) sorted by relevance

/thrift-3.4.0/lib/d/test/
Dthrift_test_common.d67 Insanity[Numberz] first_map; in this()
68 first_map[Numberz.TWO] = crazy; in this()
69 first_map[Numberz.THREE] = crazy; in this()
70 insane[1] = first_map; in this()
/thrift-3.4.0/lib/nodets/test/
Dtest_handler.ts51 const first_map: { [k: number]: any; } = []; constant
54 first_map[ttypes.Numberz.TWO] = argument;
55 first_map[ttypes.Numberz.THREE] = argument;
61 insane[1] = first_map;
182 const first_map: { [k: number]: any; } = []; constant
185 first_map[ttypes.Numberz.TWO] = argument;
186 first_map[ttypes.Numberz.THREE] = argument;
192 insane[1] = first_map;
/thrift-3.4.0/lib/nodejs/test/
Dtest_handler.js102 const first_map = [];
105 first_map[ttypes.Numberz.TWO] = argument;
106 first_map[ttypes.Numberz.THREE] = argument;
112 insane[1] = first_map;
/thrift-3.4.0/lib/js/test/
Dtest_handler.js140 const first_map = [];
143 first_map[ttypes.Numberz.TWO] = crazy;
144 first_map[ttypes.Numberz.THREE] = crazy;
150 insane[1] = first_map;
/thrift-3.4.0/lib/ts/test/
Dtest_handler.js140 const first_map = [];
143 first_map[ttypes.Numberz.TWO] = crazy;
144 first_map[ttypes.Numberz.THREE] = crazy;
150 insane[1] = first_map;
/thrift-3.4.0/lib/go/test/tests/
Dthrifttest_handler.go155 first_map := make(map[thrifttest.Numberz]*thrifttest.Insanity)
158 first_map[thrifttest.Numberz_TWO] = crazy
159 first_map[thrifttest.Numberz_THREE] = crazy
165 insane[1] = first_map
/thrift-3.4.0/lib/delphi/test/
DTestServer.pas196 first_map : IThriftDictionary<TNumberz, IInsanity>;
218 first_map := TThriftDictionaryImpl<TNumberz, IInsanity>.Create;
221 first_map.AddOrSetValue( TNumberz.TWO, argument);
222 first_map.AddOrSetValue( TNumberz.THREE, argument);
229 insane.AddOrSetValue( 1, first_map);
DTestClient.pas462 first_map : IThriftDictionary<TNumberz, IInsanity>;
879 first_map := whoa[1];
881 Expect( first_map.Count = 2, 'first_map.Count = '+IntToStr(first_map.Count));
890 crazy := first_map[ret];
/thrift-3.4.0/test/c_glib/src/
Dthrift_test_handler.c487 GHashTable *first_map; in thrift_test_handler_test_insanity() local
506 first_map = g_hash_table_new_full (g_direct_hash, in thrift_test_handler_test_insanity()
515 g_hash_table_insert (first_map, in thrift_test_handler_test_insanity()
518 g_hash_table_insert (first_map, in thrift_test_handler_test_insanity()
540 g_hash_table_insert (*_return, user_id, first_map); in thrift_test_handler_test_insanity()
/thrift-3.4.0/test/netstd/Server/
DTestServer.cs446 var first_map = new Dictionary<Numberz, Insanity>();
450 first_map[Numberz.TWO] = argument ?? new Insanity();
451 first_map[Numberz.THREE] = argument ?? new Insanity();
457 [1] = first_map,
/thrift-3.4.0/lib/java/src/crossTest/java/org/apache/thrift/test/
DTestClient.java674 Map<Numberz, Insanity> first_map = whoa.get(1L); in main() local
676 if (first_map.size() == 2 in main()
677 && first_map.containsKey(Numberz.TWO) in main()
678 && first_map.containsKey(Numberz.THREE) in main()
681 && insane.equals(first_map.get(Numberz.TWO)) in main()
682 && insane.equals(first_map.get(Numberz.THREE))) { in main()
/thrift-3.4.0/test/haxe/src/
DTestServerHandler.hx369 var first_map = new IntMap< Insanity>(); variable
370 first_map.set(Numberz.TWO, argument);
371 first_map.set(Numberz.THREE, argument);
378 insane.set( Int64.make(0,1), first_map);
DTestClient.hx892 var first_map = whoa.get(Int64.make(0,1)); variable
894 …rslt.Expect( (first_map != null) && (second_map != null), "(first_map != null) && (second_map != n…
895 if ((first_map != null) && (second_map != null))
897 var crazy2 = first_map.get(Numberz.TWO);
898 var crazy3 = first_map.get(Numberz.THREE);
/thrift-3.4.0/lib/c_glib/test/
Dtestthrifttestclient.cpp241 map<Numberz::type, Insanity> first_map; in testInsanity() local
244 first_map.insert(make_pair(Numberz::TWO, crazy)); in testInsanity()
245 first_map.insert(make_pair(Numberz::THREE, crazy)); in testInsanity()
249 insane.insert(make_pair(1, first_map)); in testInsanity()
Dtestthrifttestzlibclient.cpp236 map<Numberz::type, Insanity> first_map; in testInsanity() local
239 first_map.insert(make_pair(Numberz::TWO, crazy)); in testInsanity()
240 first_map.insert(make_pair(Numberz::THREE, crazy)); in testInsanity()
244 insane.insert(make_pair(1, first_map)); in testInsanity()
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/server/
DServerTestBase.java244 HashMap<Numberz, Insanity> first_map = new HashMap<>(); in testInsanity() local
247 first_map.put(Numberz.TWO, argument); in testInsanity()
248 first_map.put(Numberz.THREE, argument); in testInsanity()
254 insane.put((long) 1, first_map); in testInsanity()
/thrift-3.4.0/test/cpp/src/
DTestServer.cpp249 map<Numberz::type, Insanity> first_map; in testInsanity() local
252 first_map.insert(make_pair(Numberz::TWO, argument)); in testInsanity()
253 first_map.insert(make_pair(Numberz::THREE, argument)); in testInsanity()
257 insane.insert(make_pair(1, first_map)); in testInsanity()