get a percent key press handler.

@return PercentKeyPressHandler
762870
public static final KeyPressHandler getPercentKeyPressHandler() { // NOPMD it's thread save!
    if (HandlerFactory.percentKeyPressHandler == null) {
      synchronized (PercentKeyPressHandler.class) {
        if (HandlerFactory.percentKeyPressHandler == null) {
          HandlerFactory.percentKeyPressHandler = new PercentKeyPressHandler();
        }
      }
    }
    return HandlerFactory.percentKeyPressHandler;
  }
719417
public function scale($percent)
    {
        $this->mode = 'percentualScale';
        $this->targetSize = [$percent, null];
        $this->arguments = [];

        return $this->process();
    }
946815
public function getFrequencyPercentage() {

		$history = ExtensibleSearch::get()->filter('ExtensibleSearchPageID', $this->ExtensibleSearchPageID);
		return $this->Frequency ? sprintf('%.2f %%', ($this->Frequency / $history->count()) * 100) : '-';
	}
1036659
public function getHandle()
    {
        if(!$handle = $this->getProperty($this->getIdentityKey())) {
            $handle = parent::getHandle();
        }

        return $handle;
    }
1109535
public function getHandler()
    {
        if (!$this->handler) {
            return $this->getDefaultHandler();
        }

        if (is_callable($this->handler)) {
            $this->handler = call_user_func($this->handler);
        }

        return $this->handler;
    }
1207971
public static final KeyPressHandler getNumericAndUpperAsciiKeyPressHandler() { // NOPMD
    if (HandlerFactory.numericAndUpperAsciiKeyPressHandler == null) {
      synchronized (NumericAndUpperAsciiKeyPressHandler.class) {
        if (HandlerFactory.numericAndUpperAsciiKeyPressHandler == null) {
          HandlerFactory.numericAndUpperAsciiKeyPressHandler =
              new NumericAndUpperAsciiKeyPressHandler();
        }
      }
    }
    return HandlerFactory.numericAndUpperAsciiKeyPressHandler;
  }
1213516
function makePercent(formatter) {
  return function percentWrapped(value) {
    if (value != null) {
      return formatter(value * 100) + '%';
    }

    return formatter(value);
  };
}
967781
function percentToValue(percent) {
      var adjustedPercent = invert ? (1 - percent) : percent;
      return (min + adjustedPercent * (max - min));
    }
628054
public function getHandle()
    {
        $delegate = $this->getDelegate();

        if($delegate instanceof ObjectHandlable) {
            $handle = $delegate->getHandle();
        } else {
            $handle = spl_object_hash($this);
        }

        return $handle;
    }
1057386
public function get()
    {
        //iteracja po danych
        foreach ($this->_data as $key => $item) {
            if ($this->_elapsed == 0) {
                $this->_data[$key]['percent'] = 0;
                continue;
            }
            $this->_data[$key]['percent'] = 100 * $item['elapsed'] / $this->_elapsed;
        }
        return $this->_data;
    }
281754
public function getHandle()
    {
        if(!$handle = $this->getProperty($this->getIdentityColumn())) {
            $handle = parent::getHandle();
        }

        return $handle;
    }
634020
public function getVerifyHandler()
    {
        if (is_callable($this->verifyHandler)) {
            return $this->verifyHandler;
        }

        return function ($password, $hash) {
            return password_verify($password, $hash);
        };
    }
470808
public static final KeyPressHandler getUpperAsciiKeyPressHandler() { // NOPMD it's thread save!
    if (HandlerFactory.upperAsciiKeyPressHandler == null) {
      synchronized (UpperAsciiKeyPressHandler.class) {
        if (HandlerFactory.upperAsciiKeyPressHandler == null) {
          HandlerFactory.upperAsciiKeyPressHandler = new UpperAsciiKeyPressHandler();
        }
      }
    }
    return HandlerFactory.upperAsciiKeyPressHandler;
  }
1328744
def key_percent (self, char):
        ''''''
        self.motion = self.motion_matching
        self.delete_right = 1
        self.state = _VI_MOTION
        self.apply ()
524495
public function PercentageX()
    {
        if ($field = $this->owner->FocusPoint) {
            return round(DBFocusPoint::focusCoordToOffset($field->getX()) * 100);
        }
        return 0;
    }
119978
public function getAspectRatio()
    {
        if ($this->width !== null
         && (strpos($this->width, '%') === false)
         && $this->height !== null && (strpos($this->height, '%') === false)) {
            return round(($this->height / $this->width) * 100, 3);
        }
        return null;
    }
861976
public static function success($percent, $htmlOptions = array())
    {
        ArrayHelper::addValue('class', Enum::COLOR_SUCCESS, $htmlOptions);
        return static::bar($percent, $htmlOptions);
    }