3f5718f8e40fa7207c7b547f3875f0076813e2b4,flow/utils/aimsun/run.py,,threaded_client,#Any#,64

Before Change


                    // wait for a reply
                    data = None
                    while data is None:
                        data = conn.recv(2048)

                    // send the next vehicle
                    conn.send(str(entered_vehicles[0]))
                    del entered_vehicles[0]

After Change


                else:
                    output = ":".join([str(e) for e in entered_vehicles])
                send_message(conn, in_format="str", values=(output,))
                entered_vehicles = []

            elif data == ac.VEH_GET_EXITED_IDS:
                send_message(conn, in_format="i", values=(0,))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: flow-project/flow
Commit Name: 3f5718f8e40fa7207c7b547f3875f0076813e2b4
Time: 2019-01-09
Author: akreidieh@gmail.com
File Name: flow/utils/aimsun/run.py
Class Name:
Method Name: threaded_client


Project Name: autorope/donkeycar
Commit Name: c8e5a57b44aa57c820c87acb4521a44339680eac
Time: 2019-01-15
Author: tawnkramer@gmail.com
File Name: donkeycar/parts/network.py
Class Name: TCPClientValue
Method Name: run


Project Name: NervanaSystems/nlp-architect
Commit Name: 24d3656c6c4b3c6806954487720d53af775a1150
Time: 2018-06-07
Author: shira.guskin@intel.com
File Name: set_expansion_demo/ui/main.py
Class Name:
Method Name: get_expand_results_callback