code: def _find_chunk_start_end(f, offset, size):
      if NativeFile is not None and isinstance(f, NativeFile):
          return _find_hdfs_start_end(f, offset, size)
      f.seek(offset)
      if f.tell() == 0:
          start = 0
      else:
          f.readline()
          start = f.tell()
      f.seek(offset + size)
      f.readline()
      end = f.tell()
      return start, end
  
imports: from io import BytesIO
  from urllib.parse import urlparse
  import pandas
  import numpy
  from ...None import opcodes
  from ...config import options
  from ...core import OutputType
  from ...lib.filesystem import get_fs, open_file, file_size, glob
  from ...serialization.serializables import StringField, DictField, ListField, Int32Field, Int64Field, BoolField, AnyField
  from ...utils import parse_readable_size, lazy_import, FixedSizeFileObject
  from ..arrays import ArrowStringDtype
  from ..utils import parse_index, build_empty_df, to_arrow_dtypes, contain_arrow_dtype
  from .core import IncrementalIndexDatasource, ColumnPruneSupportedDataSourceMixin, IncrementalIndexDataSourceMixin, merge_small_files
label_desc: Use image node_id 3 for calling a global function with example usage: _find_chunk_start_end(f, offset, size) and returns: start,  end, _find_hdfs_start_end