tools/dump_process_memory/analyze_dumps.py
def _ReadPage(f):
  """Reads a page of data from a file.

  Args:
    f: (file) An opened file to read from.

  Returns:
    An array.array() of unsigned int with the page content.
  """
  result = array.array('I')
  result.fromfile(f, PAGE_SIZE / result.itemsize)
  return result
Reads a page of data from a file.

  Args:
    f: (file) An opened file to read from.

  Returns:
    An array.array() of unsigned int with the page content.
  
Reads a page of data from a file.
Reads a page of data from a file .
def _ReadPage(f):
  result = array.array('I')
  result.fromfile(f, PAGE_SIZE / result.itemsize)
  return result
def _ReadPage ( f ) : result = array . array ( 'I' ) result . fromfile ( f , PAGE_SIZE / result . itemsize ) return result
Reads a page of data from a file.
Reads a page of data from a file .
"""Reads a page of data from a file.

  Args:
    f: (file) An opened file to read from.

  Returns:
    An array.array() of unsigned int with the page content.
  """
An array.array() of unsigned int with the page content.
An array . array () of unsigned int with the page content .
f
(file) An opened file to read from.
( file ) An opened file to read from .