383ea0326ae103b5d5e0b62ed9c3cb18510c5b9e,distributed/comm/tcp.py,TCP,write,#TCP#Any#Any#Any#,229
Before Change
// ("If write is called again before that Future has resolved,
// the previous future will be orphaned and will never resolve")
if frame_bytes:
future = stream.write(frame)
bytes_since_last_yield += frame_bytes
if bytes_since_last_yield > 32e6:
await future
bytes_since_last_yield = 0
After Change
stream._total_write_index += each_frame_nbytes
// start writing frames
stream.write(b"" )
except StreamClosedError as e:
self.stream = None
self._closed = True
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 2
Instances Project Name: dask/distributed
Commit Name: 383ea0326ae103b5d5e0b62ed9c3cb18510c5b9e
Time: 2021-02-17
Author: jakirkham@gmail.com
File Name: distributed/comm/tcp.py
Class Name: TCP
Method Name: write
Project Name: mathurinm/celer
Commit Name: d0eb3e801f0f5025cd843d5e4f6c95ff5a2fd508
Time: 2018-03-14
Author: alexandre.gramfort@m4x.org
File Name: celer/examples_utils/utils_finance.py
Class Name:
Method Name: decompress_finance
Project Name: scikit-optimize/scikit-optimize
Commit Name: 44be9703a0744caf78b8b61319be0db281e91d6a
Time: 2018-04-06
Author: scott_graham@bose.com
File Name: skopt/tests/test_space.py
Class Name:
Method Name: test_space_from_yaml
Project Name: nilearn/nilearn
Commit Name: e3d577b5595af3e1c9a05d3be84dbdf1a7c4aa20
Time: 2020-07-29
Author: jerome@dockes.org
File Name: nilearn/datasets/tests/test_atlas.py
Class Name:
Method Name: test_fetch_atlas_aal
Project Name: chakki-works/doccano
Commit Name: 43d9234b78a73840c41ab6f0da83960da84c5d14
Time: 2019-08-07
Author: null
File Name: app/api/tests/test_utils.py
Class Name: TestCoNLLParser
Method Name: test_calc_char_offset