8bd1389b1437ef490da6d9834d90f6f995d17e10,scripts/convert.py,Convert,convert_images,#Convert#,109
Before Change
while True:
self.check_thread_error()
if self.disk_io.completion_event.is_set():
break
sleep(1)
pool.join()
logger.debug("Putting EOF")
After Change
completed = completion_queue.get(True, 1)
except QueueEmpty:
continue
completed_count += completed
logger.debug("Total process pools completed: %s of %s", completed_count, pool.procs)
if completed_count == pool.procs:
logger.debug("All processes completed. Joining Pool")
break
pool.join()
logger.debug("Putting EOF")
save_queue.put("EOF")
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: deepfakes/faceswap
Commit Name: 8bd1389b1437ef490da6d9834d90f6f995d17e10
Time: 2019-06-27
Author: 36920800+torzdf@users.noreply.github.com
File Name: scripts/convert.py
Class Name: Convert
Method Name: convert_images
Project Name: pantsbuild/pants
Commit Name: 8479b6a979a0433c9b360c340fca454f03b0ff77
Time: 2016-04-07
Author: nhoward@twopensource.com
File Name: contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/checker.py
Class Name: PythonCheckStyleTask
Method Name: get_nits
Project Name: ray-project/ray
Commit Name: e675e5b75a4470c01b4df577d4028b00e01d3d53
Time: 2021-01-23
Author: me@barakmich.com
File Name: python/ray/util/client/worker.py
Class Name: Worker
Method Name: __init__
Project Name: PaddlePaddle/edl
Commit Name: ed9fb224f3aa4336d066cbbe4b9abf26b24f8535
Time: 2020-09-02
Author: weibao.gong@gmail.com
File Name: python/edl/collective/launch.py
Class Name:
Method Name: edl_barrier