8ed42a1c2781d28f699924d9a4b81785d55a624e,PyInstaller/depend/bindepend.py,,findLibrary,#Any#,712
Before Change
// regex still works.
m = re.search(expr, compat.exec_command("/sbin/ldconfig", "-r"))
else:
m = re.search(expr, compat.exec_command("/sbin/ldconfig", "-p"))
if m:
lib = m.group(0)
// Look in the known safe paths.
if lib is None:
// Architecture independent locations.
paths = ["/lib", "/usr/lib"]
// Architecture dependent locations.
After Change
PyInstaller.depend.utils.load_ldconfig_cache()
lib = PyInstaller.depend.utils.LDCONFIG_CACHE.get(name)
if lib:
assert os.path.isfile(lib)
// Look in the known safe paths.
if lib is None:
// Architecture independent locations.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: pyinstaller/pyinstaller
Commit Name: 8ed42a1c2781d28f699924d9a4b81785d55a624e
Time: 2015-11-20
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/depend/bindepend.py
Class Name:
Method Name: findLibrary
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: c126330671804501dbd10c07f6005ede871ee24a
Time: 2019-04-16
Author: M.N.Tran@ibm.com
File Name: art/classifiers/tensorflow_unittest.py
Class Name: TestTFClassifier
Method Name: test_save
Project Name: EpistasisLab/tpot
Commit Name: e513059dd85ee2d9a267c8197386eaf2b135f38a
Time: 2018-09-20
Author: weixuanf@pennmedicine.upenn.edu
File Name: tests/tpot_tests.py
Class Name:
Method Name: test_save_periodic_pipeline_2