
    i                    *    S r SSKJr  SSKJr  SS jrg)z0Util functions for statistics in gcloud storage.    )annotations)Listc                    U (       d  gU R                  5         US-  [        U 5      S-
  -  n[        U5      nUR                  5       (       a  X   $ X   nU [        US-   5         nXEU-
  X#-
  -  -   $ )zFinds the percentile value for a given list of values.

Args:
  values: The list of values to find the percentile in.
  percentile: The percentile to find.

Returns:
  The percentile value.
Nd      )sortlenint
is_integer)values
percentileindex	index_intlower_valueupper_values         9lib/googlecloudsdk/command_lib/storage/statistics_util.pyfind_percentiler      s}     

++-Fa
0%%j)
 #KUQY(K38IJJJ    N)r   z	List[int]r   floatreturnzfloat | None)__doc__
__future__r   typingr   r    r   r   <module>r      s    7 " Kr   