b542799204127f1110eb52360e63e707a8e3a1ab,mahotas/freeimage.py,,,#,43
Before Change
func.argtypes = argtypes
_FI = None
for d in _lib_dirs:
for libname in _possible_filenames:
try:
_FI = np.ctypeslib.load_library(libname, d)
except OSError:
pass
else:
break
if _FI is not None:
break
if not _FI:
raise OSError("mahotas.freeimage: could not find libFreeImage in any of the following "
"directories: \"%s\"" % "\", \"".join(_lib_dirs))
After Change
_FI = None
if sys.platform == "win32":
_FI = ctypes.windll.LoadLibrary(
os.path.join(os.path.abspath(os.path.dirname(__file__)), "FreeImage.dll"))
if not _FI:
raise OSError("mahotas.freeimage: could not find FreeImage.dll")
else:
for d in _lib_dirs:
for libname in _possible_filenames:
try:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: luispedro/mahotas
Commit Name: b542799204127f1110eb52360e63e707a8e3a1ab
Time: 2010-12-14
Author: lpc@cmu.edu
File Name: mahotas/freeimage.py
Class Name:
Method Name:
Project Name: NervanaSystems/coach
Commit Name: bf2036b2841b29496a6e7f180b90ecd6b773e030
Time: 2018-11-23
Author: balaji.warft@gmail.com
File Name: rl_coach/data_stores/s3_data_store.py
Class Name: S3DataStore
Method Name: save_to_store
Project Name: CellProfiler/CellProfiler
Commit Name: e8dcb1774d71ad148291a27622c6e1ff3d985293
Time: 2010-09-15
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/gui/preferencesview.py
Class Name: PreferencesView
Method Name: __on_edit_box_change
Project Name: erikbern/ann-benchmarks
Commit Name: 2e59c3587e835786efee7cc1125bf1e07ee34350
Time: 2017-11-26
Author: mail@erikbern.com
File Name: ann_benchmarks/runner.py
Class Name:
Method Name: run_docker