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

Before Change


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

                // clear the list

After Change


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

                    // send the next vehicle
                    conn.send(str(exited_vehicles[0]))
                    del exited_vehicles[0]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

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: dmlc/dgl
Commit Name: c50b90cf7e9d5fd7c861ff3b8c162c8b640505ed
Time: 2018-07-12
Author: minjie.wang@nyu.edu
File Name: python/dgl/graph.py
Class Name: DGLGraph
Method Name: update_by_edge


Project Name: aertslab/pySCENIC
Commit Name: 5b824f9124e8690ce35118cb2ab8ecfe61fad8cc
Time: 2018-02-06
Author: vandesande.bram@gmail.com
File Name: src/pyscenic/regulome.py
Class Name:
Method Name: derive_regulomes