OXIESEC PANEL
- Current Dir:
/
/
usr
/
local
/
lib
/
python3.6
/
dist-packages
/
numpy
/
random
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/28/2024 05:59:26 AM
rwxr-xr-x
📄
__init__.pxd
431 bytes
10/28/2024 05:59:24 AM
rw-r--r--
📄
__init__.py
7.29 KB
10/28/2024 05:59:24 AM
rw-r--r--
📁
__pycache__
-
10/28/2024 05:59:26 AM
rwxr-xr-x
📄
_bounded_integers.cpython-36m-x86_64-linux-gnu.so
385.22 KB
10/28/2024 05:59:24 AM
rwxr-xr-x
📄
_bounded_integers.pxd
1.63 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
_common.cpython-36m-x86_64-linux-gnu.so
278.62 KB
10/28/2024 05:59:24 AM
rwxr-xr-x
📄
_common.pxd
4.64 KB
10/28/2024 05:59:24 AM
rw-r--r--
📁
_examples
-
10/28/2024 05:59:26 AM
rwxr-xr-x
📄
_generator.cpython-36m-x86_64-linux-gnu.so
852.11 KB
10/28/2024 05:59:24 AM
rwxr-xr-x
📄
_mt19937.cpython-36m-x86_64-linux-gnu.so
103.67 KB
10/28/2024 05:59:24 AM
rwxr-xr-x
📄
_pcg64.cpython-36m-x86_64-linux-gnu.so
80.49 KB
10/28/2024 05:59:24 AM
rwxr-xr-x
📄
_philox.cpython-36m-x86_64-linux-gnu.so
91.06 KB
10/28/2024 05:59:24 AM
rwxr-xr-x
📄
_pickle.py
2.19 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
_sfc64.cpython-36m-x86_64-linux-gnu.so
62.39 KB
10/28/2024 05:59:24 AM
rwxr-xr-x
📄
bit_generator.cpython-36m-x86_64-linux-gnu.so
214.3 KB
10/28/2024 05:59:24 AM
rwxr-xr-x
📄
bit_generator.pxd
1005 bytes
10/28/2024 05:59:24 AM
rw-r--r--
📄
c_distributions.pxd
5.89 KB
10/28/2024 05:59:24 AM
rw-r--r--
📁
lib
-
10/28/2024 05:59:26 AM
rwxr-xr-x
📄
mtrand.cpython-36m-x86_64-linux-gnu.so
727.3 KB
10/28/2024 05:59:24 AM
rwxr-xr-x
📄
setup.py
5.93 KB
10/28/2024 05:59:24 AM
rw-r--r--
📁
tests
-
10/28/2024 05:59:26 AM
rwxr-xr-x
Editing: _pickle.py
Close
from .mtrand import RandomState from ._philox import Philox from ._pcg64 import PCG64 from ._sfc64 import SFC64 from ._generator import Generator from ._mt19937 import MT19937 BitGenerators = {'MT19937': MT19937, 'PCG64': PCG64, 'Philox': Philox, 'SFC64': SFC64, } def __generator_ctor(bit_generator_name='MT19937'): """ Pickling helper function that returns a Generator object Parameters ---------- bit_generator_name: str String containing the core BitGenerator Returns ------- rg: Generator Generator using the named core BitGenerator """ if bit_generator_name in BitGenerators: bit_generator = BitGenerators[bit_generator_name] else: raise ValueError(str(bit_generator_name) + ' is not a known ' 'BitGenerator module.') return Generator(bit_generator()) def __bit_generator_ctor(bit_generator_name='MT19937'): """ Pickling helper function that returns a bit generator object Parameters ---------- bit_generator_name: str String containing the name of the BitGenerator Returns ------- bit_generator: BitGenerator BitGenerator instance """ if bit_generator_name in BitGenerators: bit_generator = BitGenerators[bit_generator_name] else: raise ValueError(str(bit_generator_name) + ' is not a known ' 'BitGenerator module.') return bit_generator() def __randomstate_ctor(bit_generator_name='MT19937'): """ Pickling helper function that returns a legacy RandomState-like object Parameters ---------- bit_generator_name: str String containing the core BitGenerator Returns ------- rs: RandomState Legacy RandomState using the named core BitGenerator """ if bit_generator_name in BitGenerators: bit_generator = BitGenerators[bit_generator_name] else: raise ValueError(str(bit_generator_name) + ' is not a known ' 'BitGenerator module.') return RandomState(bit_generator())