def find_newline(self, size=-1):
    if size < 0:
      return self._buffer.find('\n', self._offset)
    return self._buffer.find('\n', self._offset, self._offset + size)
test timeout comparisons
dataset/ETHPy150Open GoogleCloudPlatform/billing-export-python/cloudstorage/storage_api.py/_Buffer.find_newline--crossover with--dataset/ETHPy150Open felipecruz/zmqpy/zmqpy/tests/pyzmq_tests/test_ioloop.py/TestIOLoop.test_timeout_compare