




'''simple docstring'''







from collections import deque

from .hash_table import HashTable


class 			_a  (	__a ):
       def __init__(	self						:	Union[str, Any]   ,				*lowercase						:	Tuple   ,				**lowercase						:	Optional[int]				):



           '''simple docstring'''

           super().__init__(*lowercase   ,				**lowercase				)
       def     A      (	self						:	List[str]   ,				lowercase						:	Dict   ,				lowercase						:	Dict				):



           '''simple docstring'''

           UpperCAmelCase			       =		deque([]				) if self.values[key] is None else self.values[key]
           self.values[key].appendleft(lowercase				)
           UpperCAmelCase			       =		self.values[key]
       def     A      (	self						:	Dict				):



           '''simple docstring'''

           return (
               sum(self.charge_factor - len(lowercase				) for slot in self.values				)
               / self.size_table
               * self.charge_factor
           )







       def     A      (	self						:	str   ,				lowercase						:	Dict   ,				lowercase						:	Optional[int]=None				):



           '''simple docstring'''

           if not (
               len(self.values[key]				) == self.charge_factor and self.values.count(lowercase				) == 0
           ):
               return key
           return super()._collision_resolution(lowercase   ,				lowercase				)






'''simple docstring'''







import warnings

from ...utils import logging
from .image_processing_videomae import VideoMAEImageProcessor


__lowerCAmelCase         =    logging.get_logger(__name__)







class UpperCAmelCase__	( lowercase__	):





  """simple docstring"""

  def __init__(		self      :     Tuple							,*_a      :     List[str]							,**_a      :     Any       ):


     '''simple docstring'''






     warnings.warn(
         'The class VideoMAEFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
         ' Please use VideoMAEImageProcessor instead.'							,_a							,)
     super().__init__(*_a							,**_a       )



