original_string: protected function chooseBaseUrl($path)
      {
          return (int) fmod(hexdec(substr(hash('sha256', $path), 0, 10)), \count($this->baseUrls));
      }
code: protected function chooseBaseUrl($path)
      {
          return (int) fmod(hexdec(substr(hash('sha256', $path), 0, 10)), \count($this->baseUrls));
      }
code_tokens: protected function chooseBaseUrl ( $ path ) { return ( int ) fmod ( hexdec ( substr ( hash ( 'sha256' , $ path ) , 0 , 10 ) ) , \ count ( $ this -> baseUrls ) ) ; }
docstring: Determines which base URL to use for the given path.
  
  Override this method to change the default distribution strategy.
  This method should always return the same base URL index for a given path.
  
  @param string $path
  
  @return int The base URL index for the given path
docstring_tokens: Determines which base URL to use for the given path .