parameters: (self, snapshot)
return_statement: return header
docstring: Returns a header string with columns Pid and Name.
docstring_summary: Returns a header string with columns Pid and Name.
docstring_tokens: Returns a header string with columns Pid and Name .
function: def __PrintPidLabelHeader(self, snapshot):
      """Returns a header string with columns Pid and Name."""
      if not snapshot or not snapshot.HasResults():
        return
  
      name_length = max(8, snapshot.GetLongestNameLength())
  
      header = self.__PadString('Pid', 8, True) + ' '
      header += self.__PadString('Name', name_length, False)
      header = self.__ColorString(header, 'BOLD')
      return header
function_tokens: def __PrintPidLabelHeader ( self , snapshot ) : if not snapshot or not snapshot . HasResults ( ) : return name_length = max ( 8 , snapshot . GetLongestNameLength ( ) ) header = self . __PadString ( 'Pid' , 8 , True ) + ' ' header += self . __PadString ( 'Name' , name_length , False ) header = self . __ColorString ( header , 'BOLD' ) return header