SEOstats/Services/3rdparty/GTB_PageRank.php
// jenkinsHash2 Validates input, pass it to the hash function and return the result.
jenkinsHash2 Validates input, pass it to the hash function and return the result.
jenkinsHash2 Validates input pass it to the hash function and return the result .
public static function jenkinsHash2($a) {
    $ch = sprintf("%u", self::_jenkinsHash($a, FALSE));
    $ch = ((GTB_Helper::leftShift32(($ch/7), 2)) | ((GTB_Helper::_fmod($ch, 13)) & 7));
    $buf = array($ch);
    for($i=1; $i<20; $i++) { $buf[$i] = $buf[$i-1]-9; }
    return sprintf("6%u", self::_jenkinsHash(GTB_Helper::c32to8bit($buf), FALSE));
  }
public static function jenkinsHash2 ( $ a ) { $ ch = sprintf ( " %u " , self :: _jenkinsHash ( $ a , FALSE ) ) ; $ ch = ( ( GTB_Helper :: leftShift32 ( ( $ ch / 7 ) , 2 ) ) | ( ( GTB_Helper :: _fmod ( $ ch , 13 ) ) & 7 ) ) ; $ buf = array ( $ ch ) ; for ( $ i = 1 ; $ i < 20 ; $ i ++ ) { $ buf [ $ i ] = $ buf [ $ i - 1 ] - 9 ; } return sprintf ( " 6%u " , self :: _jenkinsHash ( GTB_Helper :: c32to8bit ( $ buf ) , FALSE ) ) ; }
jenkinsHash2 Validates input, pass it to the hash function and return the result.
jenkinsHash2 Validates input pass it to the hash function and return the result .