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

Before Change


                        data = conn.recv(2048)

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

                // send a negative response
                send_message(conn, in_format="i", values=(1,))

After Change


                if len(entered_vehicles) == 0:
                    output = "-1"
                else:
                    output = ":".join([str(e) for e in entered_vehicles])
                send_message(conn, in_format="str", values=(output,))
                entered_vehicles = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

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: openai/baselines
Commit Name: d80b075904de038bc1c96ca2ea025889d6995fca
Time: 2019-08-29
Author: wrona.tomasz@windowslive.com
File Name: baselines/common/vec_env/subproc_vec_env.py
Class Name:
Method Name: worker


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 272795d54d3df7f8de838d1955245b994702290d
Time: 2016-10-07
Author: yuyanting@google.com
File Name: perfkitbenchmarker/publisher.py
Class Name: SampleCollector
Method Name: AddSamples


Project Name: mailgyc/doudizhu
Commit Name: d13b23069e1dea5d89bc261e199ec4f97268dbd2
Time: 2020-02-16
Author: 4143964+mailgyc@users.noreply.github.com
File Name: doudizhu/apps/game/room.py
Class Name: Room
Method Name: on_game_over