Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe ParagonIE_Sodium_Core32_Int64

Fonctions membres publiques

 __construct ($array=array(0, 0, 0, 0), $unsignedInt=false)
 
 addInt64 (ParagonIE_Sodium_Core32_Int64 $addend)
 
 isGreaterThan ($b=0)
 
 isLessThanInt ($b=0)
 
 mulIntFast ($int)
 
 mulInt64Fast (ParagonIE_Sodium_Core32_Int64 $right)
 
 orInt64 (ParagonIE_Sodium_Core32_Int64 $b)
 
 xorInt64 (ParagonIE_Sodium_Core32_Int64 $b)
 
 toInt ()
 
 toArray ()
 
 toInt32 ()
 
 toInt64 ()
 
 setUnsignedInt ($bool=false)
 
 toString ()
 
 toReverseString ()
 
 __toString ()
 

Fonctions membres publiques statiques

static fromInts ($low, $high)
 
static fromInt ($low)
 
static fromString ($string)
 
static fromReverseString ($string)
 

Champs de données

 $limbs = array(0, 0, 0, 0)
 
 $overflow = 0
 
 $unsignedInt = false
 

Description détaillée

Class ParagonIE_Sodium_Core32_Int64

Encapsulates a 64-bit integer.

These are immutable. It always returns a new instance.

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $array = array(0, 0, 0, 0),
  $unsignedInt = false 
)

ParagonIE_Sodium_Core32_Int64 constructor.

Paramètres
array$array
bool$unsignedInt

Références $unsignedInt.

Documentation des fonctions membres

◆ __toString()

__toString ( )
Renvoie
string

Références toString().

◆ addInt64()

addInt64 ( ParagonIE_Sodium_Core32_Int64  $addend)

Adds two int64 objects

Paramètres
ParagonIE_Sodium_Core32_Int64$addend
Renvoie
ParagonIE_Sodium_Core32_Int64

Références $return, et $unsignedInt.

◆ fromInt()

static fromInt (   $low)
static
Paramètres
int$low
Renvoie
self
Exceptions
SodiumException
TypeError

Références ParagonIE_Sodium_Core_Util\declareScalarType().

◆ fromInts()

static fromInts (   $low,
  $high 
)
static
Paramètres
int$low
int$high
Renvoie
self
Exceptions
SodiumException
TypeError

Références ParagonIE_Sodium_Core_Util\declareScalarType().

Référencé par ParagonIE_Sodium_Core32_BLAKE2b\new64(), et ParagonIE_Sodium_Core32_SipHash\sipHash24().

◆ fromReverseString()

static fromReverseString (   $string)
static
Paramètres
string$string
Renvoie
self
Exceptions
SodiumException
TypeError

Références $return, ParagonIE_Sodium_Core_Util\declareScalarType(), et ParagonIE_Sodium_Core_Util\strlen().

Référencé par ParagonIE_Sodium_Core32_SipHash\sipHash24(), et ParagonIE_Sodium_Core32_BLAKE2b\stringToContext().

◆ fromString()

static fromString (   $string)
static
Paramètres
string$string
Renvoie
self
Exceptions
SodiumException
TypeError

Références $return, ParagonIE_Sodium_Core_Util\declareScalarType(), et ParagonIE_Sodium_Core_Util\strlen().

◆ isGreaterThan()

isGreaterThan (   $b = 0)
Paramètres
int$b
Renvoie
bool

Références $b.

◆ isLessThanInt()

isLessThanInt (   $b = 0)
Paramètres
int$b
Renvoie
bool

Références $b.

◆ mulInt64Fast()

mulInt64Fast ( ParagonIE_Sodium_Core32_Int64  $right)
Paramètres
ParagonIE_Sodium_Core32_Int64$right
Renvoie
ParagonIE_Sodium_Core32_Int64

Références $b, $i, et $return.

◆ mulIntFast()

mulIntFast (   $int)
Paramètres
int$int
Renvoie
ParagonIE_Sodium_Core32_Int64

Références $b, $i, $return, et $unsignedInt.

◆ orInt64()

OR this 64-bit integer with another.

Paramètres
ParagonIE_Sodium_Core32_Int64$b
Renvoie
ParagonIE_Sodium_Core32_Int64

Références $b, $return, et $unsignedInt.

◆ setUnsignedInt()

setUnsignedInt (   $bool = false)
Paramètres
bool$bool
Renvoie
self

◆ toArray()

toArray ( )
Renvoie
array<int, int>

◆ toInt()

toInt ( )
Renvoie
int

◆ toInt32()

toInt32 ( )

◆ toInt64()

toInt64 ( )

◆ toReverseString()

toReverseString ( )
Renvoie
string
Exceptions
TypeError

Références ParagonIE_Sodium_Core_Util\intToChr().

◆ toString()

toString ( )
Renvoie
string
Exceptions
TypeError

Références ParagonIE_Sodium_Core_Util\intToChr().

Référencé par __toString().

◆ xorInt64()

XOR this 64-bit integer with another.

Paramètres
ParagonIE_Sodium_Core32_Int64$b
Renvoie
ParagonIE_Sodium_Core32_Int64

Références $b, $return, et $unsignedInt.

Référencé par ParagonIE_Sodium_Core32_BLAKE2b\xor64().

Documentation des champs

◆ $limbs

$limbs = array(0, 0, 0, 0)

◆ $overflow

$overflow = 0

◆ $unsignedInt


La documentation de cette classe a été générée à partir du fichier suivant :