Searched refs:pickle (Results 1 - 8 of 8) sorted by relevance
/gem5/ext/pybind11/tests/ |
H A D | test_pickling.py | 5 import cPickle as pickle # Use cPickle on Python 2.7 7 import pickle 17 data = pickle.dumps(p, 2) # Must use pickle protocol >= 2 18 p2 = pickle.loads(data) 32 data = pickle.dumps(p, pickle.HIGHEST_PROTOCOL) 33 p2 = pickle.loads(data) 41 data = pickle.dumps(e.EOne, 2) 42 assert e.EOne == pickle [all...] |
H A D | test_pickling.cpp | 2 tests/test_pickling.cpp -- pickle support 42 // http://docs.python.org/3/library/pickle.html#pickling-class-instances 60 .def(py::pickle( 114 .def(py::pickle(
|
/gem5/ext/testlib/ |
H A D | result.py | 30 import pickle 154 def save(results, path, protocol=pickle.HIGHEST_PROTOCOL): 163 pickle.dump(results, f, protocol) 168 return pickle.load(f)
|
H A D | config.py | 75 from pickle import HIGHEST_PROTOCOL as highest_pickle_protocol 277 constants.pickle_filename = 'results.pickle'
|
/gem5/tests/ |
H A D | tests.py | 45 import pickle 60 "pickle" : testing.results.Pickle, 236 The 'pickle' format stores the raw results in a format that 239 pickle file.""") 252 return pickle.load(f) 275 failing to parse a pickle file. 290 suites = sum([ pickle.load(f) for f in args.result ], []) 326 pickle, contains the raw output from the tests and can be 328 --format summary *.pickle"). Such pickle file [all...] |
/gem5/tests/testing/ |
H A D | results.py | 44 import pickle 158 """Save test results as a binary using Python's pickle 167 pickle.dump(suites, self.fout, pickle.HIGHEST_PROTOCOL)
|
/gem5/ext/ply/ply/ |
H A D | yacc.py | 85 pickle_protocol = 0 # Protocol to use when writing pickle files 1847 import cPickle as pickle 1849 import pickle 1853 tabversion = pickle.load(in_f) 1856 self.lr_method = pickle.load(in_f) 1857 signature = pickle.load(in_f) 1858 self.lr_action = pickle.load(in_f) 1859 self.lr_goto = pickle.load(in_f) 1860 productions = pickle.load(in_f) 2668 import cPickle as pickle [all...] |
/gem5/ext/pybind11/include/pybind11/ |
H A D | pybind11.h | 1390 detail::initimpl::pickle_factory<GetState, SetState> pickle(GetState &&g, SetState &&s) { function
|
Completed in 34 milliseconds