original_string: protected function _pad($text, $ignore = false)
      {
          $blocksize = Horde_Crypt_Blowfish::BLOCKSIZE;
          $padding = $blocksize - (strlen($text) % $blocksize);
  
          return ($ignore && ($padding == $blocksize))
              ? $text
              : $text . str_repeat(chr($padding), $padding);
      }
code: protected function _pad($text, $ignore = false)
      {
          $blocksize = Horde_Crypt_Blowfish::BLOCKSIZE;
          $padding = $blocksize - (strlen($text) % $blocksize);
  
          return ($ignore && ($padding == $blocksize))
              ? $text
              : $text . str_repeat(chr($padding), $padding);
      }
code_tokens: protected function _pad ( $ text , $ ignore = false ) { $ blocksize = Horde_Crypt_Blowfish :: BLOCKSIZE ; $ padding = $ blocksize - ( strlen ( $ text ) % $ blocksize ) ; return ( $ ignore && ( $ padding == $ blocksize ) ) ? $ text : $ text . str_repeat ( chr ( $ padding ) , $ padding ) ; }
docstring: Pad text to match blocksize length.
  
  @param string $text     Unpadded text.
  @param boolean $ignore  Don't pad if already at blocksize length.
  
  @return string  Padded text.
docstring_tokens: Pad text to match blocksize length .