original_string: public function set($name)
      {
          $exec = $this->getExecutor();
          $exec->setCommand('hostname ' . $name);
          $exec->run();
  
          return $exec->hasErrors();
      }
code: public function set($name)
      {
          $exec = $this->getExecutor();
          $exec->setCommand('hostname ' . $name);
          $exec->run();
  
          return $exec->hasErrors();
      }
code_tokens: public function set ( $ name ) { $ exec = $ this -> getExecutor ( ) ; $ exec -> setCommand ( 'hostname ' . $ name ) ; $ exec -> run ( ) ; return $ exec -> hasErrors ( ) ; }
docstring: sets the hostname
  
  @param string $name
  
  @return boolean true on success falsr otherwise
docstring_tokens: sets the hostname