avl._core.int module
- class avl._core.int.Int(*args, auto_random: bool = True, fmt: ~collections.abc.Callable[[...], str] = <class 'str'>, width: int = 32)[source]
- __init__(*args, auto_random: bool = True, fmt: ~collections.abc.Callable[[...], str] = <class 'str'>, width: int = 32) None[source]
Initialize an instance of the class.
- Parameters:
value (int) – The value to be assigned to the instance.
auto_random (bool, optional) – Flag to enable automatic randomization, defaults to True.
fmt (function, optional) – The format to be used, defaults to str.
width (int, optional) – The width of the variable in bits, defaults to 32.
- Raises:
ValueError – If the width is not a positive integer.
- class avl._core.int.Int8(*args, auto_random: bool = True, fmt: ~collections.abc.Callable[[...], str] = <class 'str'>)[source]
- __init__(*args, auto_random: bool = True, fmt: ~collections.abc.Callable[[...], str] = <class 'str'>) None[source]
Initialize an instance of the class.
- Parameters:
value (int) – The value to be assigned to the instance.
auto_random (bool, optional) – Flag to enable automatic randomization, defaults to True.
fmt (function, optional) – The format to be used, defaults to str.
- class avl._core.int.Int16(*args, auto_random: bool = True, fmt: ~collections.abc.Callable[[...], str] = <class 'str'>)[source]
- __init__(*args, auto_random: bool = True, fmt: ~collections.abc.Callable[[...], str] = <class 'str'>) None[source]
Initialize an instance of the class.
- Parameters:
value (int) – The value to be assigned to the instance.
auto_random (bool, optional) – Flag to enable automatic randomization, defaults to True.
fmt (function, optional) – The format to be used, defaults to str.
- class avl._core.int.Int32(*args, auto_random: bool = True, fmt: ~collections.abc.Callable[[...], str] = <class 'str'>)[source]
- __init__(*args, auto_random: bool = True, fmt: ~collections.abc.Callable[[...], str] = <class 'str'>) None[source]
Initialize an instance of the class.
- Parameters:
value (int) – The value to be assigned to the instance.
auto_random (bool, optional) – Flag to enable automatic randomization, defaults to True.
fmt (function, optional) – The format to be used, defaults to str.
- class avl._core.int.Int64(*args, auto_random: bool = True, fmt: ~collections.abc.Callable[[...], str] = <class 'str'>)[source]
- __init__(*args, auto_random: bool = True, fmt: ~collections.abc.Callable[[...], str] = <class 'str'>) None[source]
Initialize an instance of the class.
- Parameters:
value (int) – The value to be assigned to the instance.
auto_random (bool, optional) – Flag to enable automatic randomization, defaults to True.
fmt (function, optional) – The format to be used, defaults to str.