c8e5a57b44aa57c820c87acb4521a44339680eac,donkeycar/parts/network.py,TCPServeValue,send,#TCPServeValue#Any#Any#,147
 
Before Change
        totalsent = 0
        while totalsent < len(msg):
            sent = sock.send(msg[totalsent:])
            if sent == 0:
                raise RuntimeError("socket connection broken")
            totalsent = totalsent + sent
        //print("sent", totalsent, "bytes")
    def run(self, values):
After Change
            sock.sendall(msg)
        except ConnectionResetError:
            print("client dropped connection")
            self.clients.remove(sock)
        //print("sent", len(msg), "bytes")
    def run(self, values):

In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
 Project Name: autorope/donkeycar
 Commit Name: c8e5a57b44aa57c820c87acb4521a44339680eac
 Time: 2019-01-15
 Author: tawnkramer@gmail.com
 File Name: donkeycar/parts/network.py
 Class Name: TCPServeValue
 Method Name: send
 Project Name: pytorch/pytorch
 Commit Name: d6452a1a0cbc308939f8c597c68a1f5f212dc8b8
 Time: 2021-02-04
 Author: iliacher@fb.com
 File Name: torch/profiler/profiler.py
 Class Name: profile
 Method Name: __init__
 Project Name: pymc-devs/pymc3
 Commit Name: f76df8cf2caae4b40f2cb2a29554329bb564f123
 Time: 2019-05-05
 Author: rpgoldman@goldman-tribe.org
 File Name: pymc3/model_graph.py
 Class Name: ModelGraph
 Method Name: _get_ancestors