03e1f8ccf888e2b1c5ad37206d1fe172129aad4e,brian2/__init__.py,,,#,93
Before Change
// Check the caches
if prefs.codegen.max_cache_dir_size > 0:
from brian2.codegen import check_cache
from brian2.codegen.runtime.weave_rt.weave_rt import get_weave_cache_dir as _get_weave_cache_dir
from brian2.codegen.runtime.cython_rt.extension_manager import get_cython_cache_dir as _get_cython_cache_dir
for target, dir in [("weave", _get_weave_cache_dir()),
("cython", _get_cython_cache_dir())]:
if dir is not None:
check_cache(target, dir)
After Change
// Initialize the logging system
BrianLogger.initialize()
logger = get_logger(__name__)
// Check the caches
def _get_size_recursively(dirname):
total_size = 0
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: brian-team/brian2
Commit Name: 03e1f8ccf888e2b1c5ad37206d1fe172129aad4e
Time: 2018-03-20
Author: marcel.stimberg@inserm.fr
File Name: brian2/__init__.py
Class Name:
Method Name:
Project Name: automl/auto-sklearn
Commit Name: 3da7e9997d00e36c56ca9d184d552b7c1c91ecbc
Time: 2016-04-25
Author: feurerm@informatik.uni-freiburg.de
File Name: autosklearn/automl.py
Class Name: EnsembleProcess
Method Name: __init__
Project Name: pfnet/optuna
Commit Name: 7c7872a8c1511e81073275eda2ce31472a0399d0
Time: 2019-07-24
Author: phjgt308@gmail.com
File Name: optuna/samplers/__init__.py
Class Name:
Method Name: product_search_space