c8e5a57b44aa57c820c87acb4521a44339680eac,donkeycar/parts/network.py,TCPClientValue,run,#TCPClientValue#,214

Before Change


            
        if len(ready_to_read) == 1:
            try:
                data = self.sock.recv(64 * 1024)
                //print("got", len(data), "bytes")
                p = zlib.decompress(data)
                obj = pickle.loads(p)
            except Exception as e:

After Change


            try:
                data = self.read(self.sock)
                //print("got", len(data), "bytes")
                self.lastread = time.time()
                p = zlib.decompress(data)
                obj = pickle.loads(p)
            except Exception as e:
                print(e)
                print("error: server may have died")
                self.reset()
                return None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


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: dmlc/dgl
Commit Name: fe7d5e9b8bd221685749146e9b42cd44f912891c
Time: 2019-04-21
Author: mctt90@gmail.com
File Name: examples/mxnet/sampling/dis_sampling/gcn_trainer.py
Class Name:
Method Name: main


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