Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 [dist4]message_header // num_bytes | |
| 2 [u4]0 // version | |
| 3 [u4]0 // interface ID | |
| 4 [u4]10 // name | |
|
yzshen1
2016/09/20 23:44:40
This should be 20. Otherwise we are not testing th
tibell
2016/09/21 07:10:53
Done.
| |
| 5 [u4]0 // flags | |
| 6 [u4]0 // padding | |
| 7 [anchr]message_header | |
| 8 | |
| 9 [dist4]method10_params // num_bytes | |
|
yzshen1
2016/09/20 23:44:40
please update the name accordingly. This is method
tibell
2016/09/21 07:10:53
Done.
| |
| 10 [u4]0 // version | |
| 11 [dist8]map_data_ptr // param0 | |
| 12 [anchr]method10_params | |
| 13 | |
| 14 [anchr]map_data_ptr | |
| 15 [dist4]map_data_struct_header // num_bytes | |
| 16 [u4]0 // version | |
| 17 [dist8]key_array_ptr | |
| 18 [dist8]value_array_ptr | |
| 19 [anchr]map_data_struct_header | |
| 20 | |
| 21 [anchr]key_array_ptr | |
| 22 [dist4]key_array_member // num_bytes | |
| 23 [u4]2 // num_elements | |
| 24 [dist8]key_struct_a_1 | |
|
yzshen1
2016/09/20 23:44:40
I don't think this test case matches the parameter
tibell
2016/09/21 07:10:53
Done.
I changed my mind for the map value type ha
| |
| 25 [dist8]key_struct_a_2 | |
| 26 [anchr]key_array_member | |
| 27 | |
| 28 [anchr]key_struct_a_1 | |
| 29 [dist4]key_struct_a_1_member // num_bytes | |
| 30 [u4]0 // version | |
| 31 [u8]1234 // i | |
| 32 [anchr]key_struct_a_1_member | |
| 33 | |
| 34 [u4]0 [u1]0 [u1]0 [u1]0 [u1]0 // manual padding for array alignment | |
|
tibell
2016/09/21 07:10:53
Something is wrong with the alignment (in the upda
| |
| 35 | |
| 36 [anchr]key_struct_a_2 | |
| 37 [dist4]key_struct_a_2_member // num_bytes | |
| 38 [u4]0 // version | |
| 39 [u8]1234 // i | |
| 40 [anchr]key_struct_a_2_member | |
| 41 | |
| 42 [u4]0 [u1]0 [u1]0 [u1]0 [u1]0 // manual padding for array alignment | |
| 43 | |
| 44 [anchr]value_array_ptr | |
| 45 [dist4]value_array_member // num_bytes | |
| 46 [u4]2 // num_elements | |
| 47 1 2 | |
| 48 [anchr]value_array_member | |
| OLD | NEW |