SEOstats/Services/3rdparty/GTB_PageRank.php
// _awesomeHash - Returns the computed hash for string $a.
Returns the computed hash for string $a.
Returns the computed hash for string $a .
public static function _awesomeHash($a) {
    $b = 16909125; for ($c=0; $c<strlen($a); $c++) {
        $b ^= (GTB_Helper::charCodeAt(self::HASH_SEED, ($c%87))) ^ (GTB_Helper::charCodeAt($a, $c));
        $b = GTB_Helper::unsignedRightShift($b, 23) | $b << 9;
    }
    return '8'. GTB_Helper::hexEncodeU32($b);
  }
public static function _awesomeHash ( $ a ) { $ b = 16909125 ; for ( $ c = 0 ; $ c < strlen ( $ a ) ; $ c ++ ) { $ b ^= ( GTB_Helper :: charCodeAt ( self :: HASH_SEED , ( $ c % 87 ) ) ) ^ ( GTB_Helper :: charCodeAt ( $ a , $ c ) ) ; $ b = GTB_Helper :: unsignedRightShift ( $ b , 23 ) | $ b << 9 ; } return '8' . GTB_Helper :: hexEncodeU32 ( $ b ) ; }
_awesomeHash - Returns the computed hash for string $a.
_awesomeHash - Returns the computed hash for string $a .