def _get_n_jobs(n_jobs):
 if (n_jobs < 0):
  return max(((cpu_count() + 1) + n_jobs), 1)
 elif (n_jobs == 0):
  raise ValueError('Parameter n_jobs == 0 has no meaning.')
 else:
  return n_jobs

def _get_n_jobs ( n_jobs ) : if ( n_jobs < 0 ) : return max ( ( ( cpu_count ( ) + 1 ) + n_jobs ) , 1 ) elif ( n_jobs == 0 ) : raise ValueError ( 'Parameter n_jobs == 0 has no meaning.' ) else : return n_jobs
get number of jobs for the computation .