






def     _snake_case    (__lowercase    ,      __lowercase):
   UpperCamelCase_									=     len(__lowercase)
   UpperCamelCase_									=     []
   for i in range(len(__lowercase) - pat_len + 1):
      UpperCamelCase_									=     True
      for j in range(__lowercase):
         if s[i + j] != pattern[j]:
            UpperCamelCase_									=     False
            break
      if match_found:
         position.append(__lowercase)
   return position


if __name__ == "__main__":
 assert naive_pattern_search("""ABCDEFG""", """DE""") == [3]
 print(naive_pattern_search("""ABAAABCDBBABCDDEBCABC""", """ABC"""))













import warnings

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


snake_case__      :	List[str]       	=      logging.get_logger(__name__)


class 						_a       (  UpperCAmelCase__    ):






  """simple docstring"""





  def __init__(     self		,		*_UpperCAmelCase		,		**_UpperCAmelCase )			-> None:
     warnings.warn(
         'The class VideoMAEFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
         ' Please use VideoMAEImageProcessor instead.'		,		_UpperCAmelCase		,		)
     super().__init__(*_UpperCAmelCase		,		**_UpperCAmelCase )





