Home
last modified time | relevance | path

Searched refs:mymap (Results 1 – 10 of 10) sorted by relevance

/third_party/boost/libs/interprocess/example/
Ddoc_map.cpp85 MyMap *mymap = in main() local
92 mymap->insert(std::pair<const int, float>(i, (float)i)); in main()
Ddoc_complex_map.cpp97 complex_map_type *mymap = segment.construct<complex_map_type> in main() local
107 mymap->insert(value); in main()
/third_party/flatbuffers/tests/rust_usage_test/tests/flexbuffers_tests/
Dinterop.rs48 let mymap = m.idx("mymap").as_map(); in read_golden_flexbuffer() localVariable
49 assert_eq!(mymap.idx("foo").as_str(), "Fred"); in read_golden_flexbuffer()
/third_party/boost/libs/property_map/test/
Ddynamic_properties_test.cpp42 map_t* mymap = new map_t(); // hint: leaky memory here! in string2string_gen() local
44 property_t property_map(*mymap); in string2string_gen()
/third_party/boost/libs/mpl/test/
Dmap.cpp192 > mymap; in MPL_TEST_CASE() typedef
194 test<mymap>(); in MPL_TEST_CASE()
195 test<mymap::type>(); in MPL_TEST_CASE()
/third_party/flatbuffers/tests/
DJavaTest.java711 FlexBuffers.Map mymap = m.get("mymap").asMap(); in testFlexBuffersTest() local
712 …TestEq(mymap.keys().get(0), m.keys().get(0)); // These should be equal by pointer equality, since … in testFlexBuffersTest()
713 TestEq(mymap.keys().get(0).toString(), "bar"); in testFlexBuffersTest()
714 TestEq(mymap.values().get(0).asString(), vec.get(1).asString()); in testFlexBuffersTest()
715 TestEq(mymap.get("int").asInt(), -120); in testFlexBuffersTest()
716 TestEq((float)mymap.get("float").asFloat(), -123.0f); in testFlexBuffersTest()
717 TestEq(Arrays.equals(mymap.get("blob").asBlob().getBytes(), new byte[]{ 65, 67 }), true); in testFlexBuffersTest()
718 TestEq(mymap.get("blob").asBlob().toString(), "AC"); in testFlexBuffersTest()
719 TestEq(mymap.get("blob").toString(), "\"AC\""); in testFlexBuffersTest()
DJavaScriptFlexBuffersTest.js359 mymap: {foo:'Fred'}, property
Dtest.cpp2975 auto mymap = map["mymap"].AsMap(); in FlexBuffersTest() local
2977 TEST_EQ(mymap.Keys()[0].AsKey(), map.Keys()[4].AsKey()); in FlexBuffersTest()
2978 TEST_EQ(mymap.Values()[0].AsString().c_str(), vec[1].AsString().c_str()); in FlexBuffersTest()
/third_party/python/Lib/test/
Dtest_collections.py1842 mymap = UserDict()
1843 mymap['red'] = 5
1844 self.assertIsInstance(mymap.keys(), Set)
1845 self.assertIsInstance(mymap.keys(), KeysView)
1846 self.assertIsInstance(mymap.items(), Set)
1847 self.assertIsInstance(mymap.items(), ItemsView)
1849 mymap = UserDict()
1850 mymap['red'] = 5
1851 z = mymap.keys() | {'orange'}
1854 mymap['blue'] = 7 # Shouldn't affect 'z'
[all …]
/third_party/boost/libs/fusion/doc/
Dsequence.qbk1376 typedef __map__<__pair__<int, char>, __pair__<char, char>, __pair__<double, char> > mymap;
1377 BOOST_MPL_ASSERT((__result_of_has_key__<mymap, int>));
1378 BOOST_MPL_ASSERT_NOT((__result_of_has_key__<mymap, void*>));
1421 typedef __map__<__pair__<int, char>, __pair__<char, char>, __pair__<double, char> > mymap;
1422 BOOST_MPL_ASSERT((boost::is_same<__result_of_at_key__<mymap, int>::type, char&>));
1462 typedef __map__<__pair__<int, char>, __pair__<char, char>, __pair__<double, char> > mymap;
1463 BOOST_MPL_ASSERT((boost::is_same<__result_of_value_at_key__<mymap, int>::type, char>));