67e17220f06c98c9a9a5168751b9df28913559fc,aletheia/stegosim.py,,_embed,#Any#Any#Any#,15
Before Change
m_code+="exit"
p=os.popen(M_BIN+" \""+m_code+"\"")
p.read()
os.chdir(cwd)
data=loadmat(X_path)
shutil.rmtree(tmpdir)
After Change
m_code=""
m_code+="cd "+tmpdir+";"
m_code+="addpath(""+m_path+"");"
m_code+="warning("off");"
m_code+="pkg load image;"
if sim=="wow":
m_code+="X=WOW(""+path+"","+payload+");"
elif sim=="hugo":
m_code+="X=HUGO(""+path+"","+payload+");"
elif sim=="s_uniward":
m_code+="X=S_UNIWARD(""+path+"","+payload+");"
m_code+="save("-mat7-binary", ""+X_path+"","X");"
m_code+="exit"
p=subprocess.Popen(M_BIN+" \""+m_code+"\"", shell=True)
output, err = p.communicate()
status = p.wait()
data=loadmat(X_path)
shutil.rmtree(tmpdir)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: daniellerch/aletheia
Commit Name: 67e17220f06c98c9a9a5168751b9df28913559fc
Time: 2017-10-04
Author: dlerch@gmail.com
File Name: aletheia/stegosim.py
Class Name:
Method Name: _embed
Project Name: riga/tfdeploy
Commit Name: 2984beef3784e514a7b8512ab0e658ad01e86564
Time: 2016-03-11
Author: marcelrieger@me.com
File Name: setup.py
Class Name:
Method Name:
Project Name: pantsbuild/pants
Commit Name: ca40e28b75a412bb3d8a6899489c5672782d08d5
Time: 2014-07-28
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/tasks/test_jvm_bundle_integration.py
Class Name: BundleIntegrationTest
Method Name: test_bundle_of_nonascii_classes