



from __future__ import annotations






def 					a(   A :					list[int]				,  A :					int )	-> int:
					"""simple docstring"""





					a  ,       a        =     0, len(A ) - 1
					while start_ind <= end_ind:
										if array[start_ind] == search_item:
															return start_ind
										elif array[end_ind] == search_item:
															return end_ind
										else:
															start_ind += 1
															end_ind -= 1
    # returns -1 if search_item is not found in array
					return -1


if __name__ == "__main__":
				print(double_linear_search(list(range(100)), 40))





import warnings

from ...utils import logging
from .image_processing_detr import DetrImageProcessor


_lowercase:				Optional[int]       =	logging.get_logger(__name__)



class 			_lowercase							(     lowerCAmelCase			):





	"""simple docstring"""




	def __init__(self	, *lowerCamelCase_	, **lowerCamelCase_	):
						"""simple docstring"""

						warnings.warn(
						    "The class DetrFeatureExtractor is deprecated and will be removed in version 5 of Transformers."
						    " Please use DetrImageProcessor instead."	, lowerCamelCase_	, )
						super().__init__(*lowerCamelCase_	, **lowerCamelCase_	)
