parameters: (self, data: bytes, data_offset: int)
docstring: Runs through the data looking for the needles.
docstring_summary: Runs through the data looking for the needles.
docstring_tokens: Runs through the data looking for the needles .
function: def __call__(self, data: bytes, data_offset: int) -> Generator[Tuple[int, bytes], None, None]:
          """Runs through the data looking for the needles."""
          for offset, pattern in self._patterns.search(data):
              if offset < self.chunk_size:
                  yield offset + data_offset, pattern
function_tokens: def __call__ ( self , data : bytes , data_offset : int ) -> Generator [ Tuple [ int , bytes ] , None , None ] : for offset , pattern in self . _patterns . search ( data ) : if offset < self . chunk_size : yield offset + data_offset , pattern