Searched refs:pickle (Results 1 - 8 of 8) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_pickling.py5 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 Dtest_pickling.cpp2 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 Dresult.py30 import pickle
154 def save(results, path, protocol=pickle.HIGHEST_PROTOCOL):
163 pickle.dump(results, f, protocol)
168 return pickle.load(f)
H A Dconfig.py75 from pickle import HIGHEST_PROTOCOL as highest_pickle_protocol
277 constants.pickle_filename = 'results.pickle'
/gem5/tests/
H A Dtests.py45 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 Dresults.py44 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 Dyacc.py85 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 Dpybind11.h1390 detail::initimpl::pickle_factory<GetState, SetState> pickle(GetState &&g, SetState &&s) { function

Completed in 34 milliseconds