[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/sodium_compat/src/Core32/ -> Int64.php (summary)

(no description)

File Size: 1066 lines (31 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ParagonIE_Sodium_Core32_Int64:: (33 methods):
  __construct()
  addInt64()
  addInt()
  compareInt()
  isGreaterThan()
  isLessThanInt()
  mask64()
  mulInt()
  ctSelect()
  multiplyLong()
  mulIntFast()
  mulInt64Fast()
  mulInt64()
  orInt64()
  rotateLeft()
  rotateRight()
  shiftLeft()
  shiftRight()
  subInt()
  subInt64()
  xorInt64()
  fromInts()
  fromInt()
  toInt()
  fromString()
  fromReverseString()
  toArray()
  toInt32()
  toInt64()
  setUnsignedInt()
  toString()
  toReverseString()
  __toString()


Class: ParagonIE_Sodium_Core32_Int64  - X-Ref

Class ParagonIE_Sodium_Core32_Int64

Encapsulates a 64-bit integer.

These are immutable. It always returns a new instance.
__construct($array = array(0, 0, 0, 0)   X-Ref
ParagonIE_Sodium_Core32_Int64 constructor.

param: array $array
param: bool $unsignedInt

addInt64(ParagonIE_Sodium_Core32_Int64 $addend)   X-Ref
Adds two int64 objects

return: ParagonIE_Sodium_Core32_Int64
param: ParagonIE_Sodium_Core32_Int64 $addend

addInt($int)   X-Ref
Adds a normal integer to an int64 object

return: ParagonIE_Sodium_Core32_Int64
param: int $int

compareInt($b = 0)   X-Ref

return: int
param: int $b

isGreaterThan($b = 0)   X-Ref

return: bool
param: int $b

isLessThanInt($b = 0)   X-Ref

return: bool
param: int $b

mask64($hi = 0, $lo = 0)   X-Ref

return: ParagonIE_Sodium_Core32_Int64
param: int $hi
param: int $lo

mulInt($int = 0, $size = 0)   X-Ref

return: ParagonIE_Sodium_Core32_Int64
param: int $int
param: int $size

ctSelect(ParagonIE_Sodium_Core32_Int64 $A,ParagonIE_Sodium_Core32_Int64 $B)   X-Ref

return: array<int, ParagonIE_Sodium_Core32_Int64>
param: ParagonIE_Sodium_Core32_Int64 $A
param: ParagonIE_Sodium_Core32_Int64 $B

multiplyLong(array $a, array $b, $baseLog2 = 16)   X-Ref

return: array<int, int>
param: array<int, int> $a
param: array<int, int> $b
param: int $baseLog2

mulIntFast($int)   X-Ref

return: ParagonIE_Sodium_Core32_Int64
param: int $int

mulInt64Fast(ParagonIE_Sodium_Core32_Int64 $right)   X-Ref

return: ParagonIE_Sodium_Core32_Int64
param: ParagonIE_Sodium_Core32_Int64 $right

mulInt64(ParagonIE_Sodium_Core32_Int64 $int, $size = 0)   X-Ref

return: ParagonIE_Sodium_Core32_Int64
param: ParagonIE_Sodium_Core32_Int64 $int
param: int $size

orInt64(ParagonIE_Sodium_Core32_Int64 $b)   X-Ref
OR this 64-bit integer with another.

return: ParagonIE_Sodium_Core32_Int64
param: ParagonIE_Sodium_Core32_Int64 $b

rotateLeft($c = 0)   X-Ref

return: ParagonIE_Sodium_Core32_Int64
param: int $c

rotateRight($c = 0)   X-Ref
Rotate to the right

return: ParagonIE_Sodium_Core32_Int64
param: int $c

shiftLeft($c = 0)   X-Ref

return: ParagonIE_Sodium_Core32_Int64
param: int $c

shiftRight($c = 0)   X-Ref

return: ParagonIE_Sodium_Core32_Int64
param: int $c

subInt($int)   X-Ref
Subtract a normal integer from an int64 object.

return: ParagonIE_Sodium_Core32_Int64
param: int $int

subInt64(ParagonIE_Sodium_Core32_Int64 $b)   X-Ref
The difference between two Int64 objects.

return: ParagonIE_Sodium_Core32_Int64
param: ParagonIE_Sodium_Core32_Int64 $b

xorInt64(ParagonIE_Sodium_Core32_Int64 $b)   X-Ref
XOR this 64-bit integer with another.

return: ParagonIE_Sodium_Core32_Int64
param: ParagonIE_Sodium_Core32_Int64 $b

fromInts($low, $high)   X-Ref

return: self
param: int $low
param: int $high

fromInt($low)   X-Ref

return: self
param: int $low

toInt()   X-Ref

return: int

fromString($string)   X-Ref

return: self
param: string $string

fromReverseString($string)   X-Ref

return: self
param: string $string

toArray()   X-Ref

return: array<int, int>

toInt32()   X-Ref

return: ParagonIE_Sodium_Core32_Int32

toInt64()   X-Ref

return: ParagonIE_Sodium_Core32_Int64

setUnsignedInt($bool = false)   X-Ref

return: self
param: bool $bool

toString()   X-Ref

return: string

toReverseString()   X-Ref

return: string

__toString()   X-Ref

return: string



Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1