4f02bb751b312aec02eab82737382f1f94829a4a,tests/pytorch/test_kvstore.py,,,#,96

Before Change


    if pid == 0:
        start_server(server_embed)
    else:
        time.sleep(2) // wait server start
        start_client(server_embed)

    assert th.equal(server_embed, th.tensor([ 4., 4., 14., 4., 24.])) == True

After Change



    p4.join()
    p5.join()
    p6.join()
    p7.join()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: dmlc/dgl
Commit Name: 4f02bb751b312aec02eab82737382f1f94829a4a
Time: 2019-12-29
Author: mctt90@gmail.com
File Name: tests/pytorch/test_kvstore.py
Class Name:
Method Name:


Project Name: tensorflow/models
Commit Name: c5ff4ec7ad1b287cd6d7907569081a2022aa225b
Time: 2019-01-07
Author: taylorrobie@google.com
File Name: official/recommendation/data_test.py
Class Name: BaseTest
Method Name: test_preprocessing


Project Name: BindsNET/bindsnet
Commit Name: 8fdc6bfee199dd3b34eecf5c2b51c9679362a455
Time: 2018-04-06
Author: djsaunde@umass.edu
File Name: examples/test_network_monitor.py
Class Name:
Method Name:


Project Name: chuyangliu/snake
Commit Name: 2ac20f382ec18f7f109f6f77500d96b963e7bcfd
Time: 2017-12-09
Author: chuyang.s.liu@gmail.com
File Name: snake/game.py
Class Name: Game
Method Name: __restart