9bfc2c4b5462871f0fe669b3aabc5f2772bc3a6f,python/ray/worker.py,,connect,#Any#Any#Any#Any#Any#Any#Any#,1089

Before Change


        setproctitle.setproctitle("ray::IDLE")
    elif mode is LOCAL_MODE:
        if job_id is None:
            job_id = JobID.from_int(random.randint(1, 65535))
        worker.worker_id = ray.utils.compute_driver_id_from_job(
            job_id).binary()
    else:
        // This is the code path of driver mode.

After Change


        worker.worker_id = ray.utils.compute_driver_id_from_job(
            job_id).binary()

    if mode is not SCRIPT_MODE and setproctitle:
        setproctitle.setproctitle("ray::IDLE")

    if not isinstance(job_id, JobID):
        raise TypeError("The type of given job id must be JobID.")

    // All workers start out as non-actors. A worker can be turned into an actor
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: ray-project/ray
Commit Name: 9bfc2c4b5462871f0fe669b3aabc5f2772bc3a6f
Time: 2020-04-01
Author: ian.rodney@gmail.com
File Name: python/ray/worker.py
Class Name:
Method Name: connect


Project Name: keras-team/keras
Commit Name: 403b4fc7a25da5d957b24f1c269103ef6e290bd6
Time: 2016-01-26
Author: udi@benreuven.com
File Name: keras/preprocessing/image.py
Class Name: ImageDataGenerator
Method Name: flow


Project Name: civisanalytics/civisml-extensions
Commit Name: 1b1b8a48e4cd9614a7c0cd4dce30bd916e1fce7d
Time: 2018-01-05
Author: shoover@civisanalytics.com
File Name: civismlext/preprocessing.py
Class Name: DataFrameETL
Method Name: _check_sentinels


Project Name: chainer/chainer
Commit Name: 717b359e5d7ab22696f239e710e65d0d4795d0b8
Time: 2019-11-12
Author: kataoka@preferred.jp
File Name: tests/chainerx_tests/unit_tests/routines_tests/test_creation.py
Class Name: TestMeshgrid
Method Name: generate_inputs