Searched refs:defaults (Results 1 - 5 of 5) sorted by relevance
/gem5/util/stats/ |
H A D | chart.py | 31 defaults = { 'chart_size' : (8, 4), variable in class:ChartOptions 66 if key not in ChartOptions.defaults: 75 if attr in ChartOptions.defaults: 76 return ChartOptions.defaults[attr] 82 if attr in ChartOptions.defaults:
|
/gem5/src/python/m5/ |
H A D | options.py | 125 defaults = { attr : value } 126 self.set_defaults(**defaults)
|
H A D | SimObject.py | 963 args, varargs, keywords, defaults = inspect.getargspec(func) 969 if defaults: 970 args = args[:-len(defaults)] + \ 971 list(zip(args[-len(defaults):], defaults))
|
/gem5/ext/testlib/ |
H A D | config.py | 37 defaults and configuration by command line and files for the test framework. 122 def _init_with_dicts(self, config, defaults): 124 self._defaults = defaults 166 Get the attribute from the config or fallback to defaults. 199 def define_defaults(defaults): 206 defaults.base_dir = os.path.abspath(os.path.join(absdirpath(__file__), 209 defaults.result_path = os.path.join(os.getcwd(), '.testing-results') 210 defaults.list_only_failed = False 675 # Setup constants and defaults
|
/gem5/ext/pybind11/tests/ |
H A D | test_numpy_array.py | 257 defaults = m.default_constructors() 258 for a in defaults.values(): 260 assert defaults["array"].dtype == np.array([]).dtype 261 assert defaults["array_t<int32>"].dtype == np.int32 262 assert defaults["array_t<double>"].dtype == np.float64
|
Completed in 14 milliseconds