Searched refs:MapMessage (Results 1 – 2 of 2) sorted by relevance
55 EnumType enum_value1, typename MapMessage>56 static void SetMapFields(MapMessage* message);60 EnumType enum_value1, typename MapMessage>61 static void SetArenaMapFields(MapMessage* message);64 template <typename MapMessage>65 static void SetMapFieldsInitialized(MapMessage* message);69 template <typename EnumType, EnumType enum_value, typename MapMessage>70 static void ModifyMapFields(MapMessage* message);75 EnumType enum_value1, typename MapMessage>76 static void ExpectMapFieldsSet(const MapMessage& message);[all …]
109 MapMessage = pool.lookup("MapMessage").msgclass constant213 MapMessage.new(:map_string_int32 => "hello")627 m = MapMessage.new631 m = MapMessage.new(662 m = MapMessage.new(:map_string_int32 => { 1 => "I am not a number" })667 m = MapMessage.new(671 m2 = MapMessage.decode(MapMessage.encode(m))674 m3 = MapMessageWireEquiv.decode(MapMessage.encode(m))1162 m = MapMessage.new(:map_string_int32 => {"a" => 1})1165 assert MapMessage.encode_json(m) == expected[all …]