original_string: public static function getReadMemcacheKey($url, $range) {
      $key = sprintf(self::MEMCACHE_KEY_FORMAT, $url, $range);
      if (strlen($key) > self::MEMCACHE_KEY_MAX_LENGTH) {
        $hash = hash("ripemd256", $key);
        $key = sprintf(self::MEMCACHE_KEY_HASH_FORMAT, $hash);
      }
      return $key;
    }
code: public static function getReadMemcacheKey($url, $range) {
      $key = sprintf(self::MEMCACHE_KEY_FORMAT, $url, $range);
      if (strlen($key) > self::MEMCACHE_KEY_MAX_LENGTH) {
        $hash = hash("ripemd256", $key);
        $key = sprintf(self::MEMCACHE_KEY_HASH_FORMAT, $hash);
      }
      return $key;
    }
code_tokens: public static function getReadMemcacheKey ( $ url , $ range ) { $ key = sprintf ( self :: MEMCACHE_KEY_FORMAT , $ url , $ range ) ; if ( strlen ( $ key ) > self :: MEMCACHE_KEY_MAX_LENGTH ) { $ hash = hash ( "ripemd256" , $ key ) ; $ key = sprintf ( self :: MEMCACHE_KEY_HASH_FORMAT , $ hash ) ; } return $ key ; }
docstring: Create a memcache key for the read data cache. If the filename is long
  enough that the key would exceed memcache limits, then a hash of the
  filename and the range is used to generate the key.
  
  We prefer the human readable key format where possible so users can easily
  identify which files and segments are stored in memcache.
  
  @param string $url The url of the file that contains the data being cached.
  @param string $range The range oheader f the data being cached.
  
  @return string The memcache key to use for storing data.
docstring_tokens: Create a memcache key for the read data cache . If the filename is long enough that the key would exceed memcache limits then a hash of the filename and the range is used to generate the key .