de5f3c55fefe93775b7044dfb5f3d2a307855db3,flow/utils/aimsun/run.py,,threaded_client,#Any#,63

Before Change


                if len(entered_vehicles) == 0:
                    output = "-1"
                else:
                    output = ":".join([str(e) for e in entered_vehicles])
                conn.send(output)

                // clear the list

After Change


                        data = conn.recv(2048)

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

                // send a negative response
                send_message(conn, in_format="i", values=(1,))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: flow-project/flow
Commit Name: de5f3c55fefe93775b7044dfb5f3d2a307855db3
Time: 2019-01-08
Author: y.zeinali@gmail.com
File Name: flow/utils/aimsun/run.py
Class Name:
Method Name: threaded_client


Project Name: biolab/orange3
Commit Name: ccf1648a975fcdc76ca8997b0751fe13dc01277e
Time: 2016-10-21
Author: tankovesna@hotmail.com
File Name: Orange/widgets/visualize/owpythagorastree.py
Class Name: OWPythagorasTree
Method Name: commit


Project Name: OpenMined/PySyft
Commit Name: cdd9e21ff93f1e0fbb3018ea9edcaefe0f38620d
Time: 2021-02-02
Author: bogdan.cebere@gmail.com
File Name: tests/syft/lib/tenseal/tenseal_ckkstensor_test.py
Class Name:
Method Name: test_tenseal_ckkstensor_isub