WordPress at a glance
function is not described

ParagonIE_Sodium_Core_SipHash::rotl_64() public WP 1.0

{} It's a method of the class: ParagonIE_Sodium_Core_SipHash{}

No Hooks.

Return

Array. mixed>

Usage

$result = ParagonIE_Sodium_Core_SipHash::rotl_64( $int0, $int1, $c );
$int0(int) (required)
-
$int1(int) (required)
-
$c(int) (required)
-

Code of ParagonIE_Sodium_Core_SipHash::rotl_64() WP 5.7.1

<?php
public static function rotl_64($int0, $int1, $c)
{
    $int0 &= 0xffffffff;
    $int1 &= 0xffffffff;
    $c &= 63;
    if ($c === 32) {
        return array($int1, $int0);
    }
    if ($c > 31) {
        $tmp = $int1;
        $int1 = $int0;
        $int0 = $tmp;
        $c &= 31;
    }
    if ($c === 0) {
        return array($int0, $int1);
    }
    return array(
        0xffffffff & (
            ($int0 << $c)
                |
            ($int1 >> (32 - $c))
        ),
        0xffffffff & (
            ($int1 << $c)
                |
            ($int0 >> (32 - $c))
        ),
    );
}