Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(100)  |  Call(100)  |  Derive(0)  |  Import(0)

src/s/a/sage-HEAD/src/sage/rings/polynomial/symmetric_ideal.py   sage(Download)
                            RStrat.add_generator(PARENT(1))
                        return SymmetricIdeal(PARENT,[PARENT(1)], coerce=False)
                    VarList = VarList.union(P._p.parent().variable_names())
            VarList = list(VarList)
            if not VarList:
                if P.is_unit():
                    return Sequence([PARENT(1)], PARENT, check=False)
                VarList = VarList.union([str(X) for X in P.variables()])
        VarList = list(VarList)
        if not VarList:
                        if P.is_unit():
                            return Sequence([PARENT(1)], PARENT, check=False)
                        VarList = VarList.union([str(X) for X in P.variables()])
                VarList = list(VarList)
                VarList.sort(cmp=PARENT.varname_cmp, reverse=True)

src/s/a/sage-HEAD/src/sage/rings/polynomial/toy_variety.py   sage(Download)
  mons = set()
  for each in polys:
    mons = mons.union(each.monomials())
  mons = list(mons)
  mons.sort(reverse=True)

src/e/s/ESP-Website-HEAD/esp/esp/program/modules/handlers/teacherclassregmodule.py   ESP-Website(Download)
            if default_restypes:
                resource_type_labels = json.loads(default_restypes)
                resource_types = resource_types.union(set([ResourceType.get_or_create(x, self.program) for x in resource_type_labels]))
 
            if static_resource_requests:
                if Tag.getTag('allow_global_restypes'):
                    q_program = q_program | Q(program__isnull=True)
                resource_types = resource_types.union(set(ResourceType.objects.filter(q_program).order_by('-priority_default')))
            else:
                # If we're not using static resource requests, then just
                # hardcode some sane defaults
                resource_type_labels = ['Classroom', 'A/V']
                resource_types = resource_types.union(set([ResourceType.get_or_create(x, self.program) for x in resource_type_labels]))

src/c/a/calibre-HEAD/src/calibre/gui2/preferences/columns.py   calibre(Download)
                 for i in range(self.opt_columns.count()) \
                 if self.opt_columns.item(i).checkState()==Qt.Unchecked])
        hidden_cols = hidden_cols.union(removed_cols) # Hide removed cols
        hidden_cols = list(hidden_cols.intersection(set(model.column_map)))
        if 'ondevice' in hidden_cols:

src/h/a/HaeffnerLabLattice-HEAD/scripts/experiments/Experiments729/drift_tracker_ramsey_oneline.py   HaeffnerLabLattice(Download)
    def all_required_parameters(cls):
        parameters = set(cls.dt_required_parameters)
        parameters = parameters.union(set(excitation_ramsey.all_required_parameters()))
        parameters = list(parameters)
        #removing parameters we'll be overwriting, and they do not need to be loaded

src/h/a/HaeffnerLabLattice-HEAD/scripts/experiments/Experiments729/rabi_power_flopping_2ions.py   HaeffnerLabLattice(Download)
    def all_required_parameters(cls):
        parameters = set(cls.rabi_required_parameters)
        parameters = parameters.union(set(cls.trap_frequencies))
        parameters = parameters.union(set(excitation_rabi_2ions.all_required_parameters()))
        parameters = list(parameters)

src/h/a/HaeffnerLabLattice-HEAD/scripts/experiments/Experiments729/rabi_flopping_2ions.py   HaeffnerLabLattice(Download)
    def all_required_parameters(cls):
        parameters = set(cls.rabi_required_parameters)
        parameters = parameters.union(set(cls.trap_frequencies))
        parameters = parameters.union(set(excitation_rabi_2ions.all_required_parameters()))
        parameters = list(parameters)

src/a/p/appscale-HEAD/AppServer/lib/cherrypy/cherrypy/lib/cptools.py   appscale(Download)
            cherrypy.log('Accessed headers: %s' % request.headers.accessed_headers,
                         'TOOLS.AUTOVARY')
        v = v.union(request.headers.accessed_headers)
        v = v.difference(ignore)
        v = list(v)

src/h/a/HaeffnerLabLattice-HEAD/scripts/experiments/Experiments729/Parity_LLI_scan_gap.py   HaeffnerLabLattice(Download)
    def all_required_parameters(cls):
 
        parameters = set(cls.Parity_LLI_required_parameters)
        parameters = parameters.union(set(excitation_ramsey_2ions.all_required_parameters()))
        parameters = list(parameters)

src/p/a/pattern-2.6/pattern/server/cherrypy/cherrypy/lib/cptools.py   Pattern(Download)
            cherrypy.log('Accessed headers: %s' % request.headers.accessed_headers,
                         'TOOLS.AUTOVARY')
        v = v.union(request.headers.accessed_headers)
        v = v.difference(ignore)
        v = list(v)

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next