Set the bounds on the scaled value of a parameter.

        Parameters
        ----------

        name : str
            Source name.

        par : str
            Parameter name.

        bounds : list
            Upper and lower bound.
510415
def set_parameter_bounds(self, name, par, bounds):
        
        idx = self.like.par_index(name, par)
        self.like[idx].setBounds(*bounds)
        self._sync_params(name)
324022
def _extract_lower_bound(self, name: str, expr: Expression) -> Optional[Expression]:
        ''''''
        etype = expr.etype
        args = expr.args
        if etype[1] in ['<=', '<']:
            if args[1].is_pvariable_expression() and args[1].name == name:
                return args[0]
        elif etype[1] in ['>=', '>']:
            if args[0].is_pvariable_expression() and args[0].name == name:
                return args[1]
        return None
473628
public RequestLimitRule withName(String name) {
        return new RequestLimitRule(this.durationSeconds, this.limit, this.precision, name, this.keys);
    }
88280
def set(self, name, arg=UNSET):
        
        self._set(name, arg, self._lineno)
1050496
public static TypeVariableName get(String name, TypeName... bounds) {
    return TypeVariableName.of(name, Arrays.asList(bounds));
  }
689254
def set_bounds(self, new_bounds):
        
        for row, key in enumerate(self.keys):
            if key in new_bounds:
                self._bounds[row] = new_bounds[key]
1105549
public AbstractSqlCreator setParameter(String name, Object value) {
        ppsc.setParameter(name, value);
        return this;
    }
133779
def _normalize_name(self, name: str) -> str:
        
        if self.mapping:
            name = self.mapping.get(name, name)
        return name.lower().replace('-', '_')
619293
def set_parameter(self, name, values, group_id=None):
        
        if not isinstance(values, list):
            values = [values]
        if group_id is None:
            self.params.append({'name': name, 'values': values})
        else:
            self.params.append({'name': name, 'groupId': group_id, 'values': values})
185450
public void badParam(String name, String value)
            throws ParseException {
        throw new ParseException("parameter " + name + " has bad value [[" +
                value + "]] in " + ruleStack, 0);
    }
1240828
def get_bounds(tune_params):
    
    bounds = []
    for values in tune_params.values():
        sorted_values = numpy.sort(values)
        bounds.append((sorted_values[0], sorted_values[-1]))
    return bounds
841755
def freeze_parameter(self, name):
        
        i = self.get_parameter_names(include_frozen=True).index(name)
        self.unfrozen_mask[i] = False
735660
public void setParameter(String name, String value) {
		String escapedValue = RFC2396UrlDecoder.encode(value);
		super.setParameter(name, value);
		try {
		    // https://code.google.com/p/sipservlets/issues/detail?id=170
			telUrl.setParameter(name, "".equals(escapedValue) ? null : escapedValue);
		} catch (ParseException e) {
			throw new IllegalArgumentException("Problem setting parameter", e);
		}
	}
1328998
private static String getBoundedSourceName(String token, Type[] bounds, String direction)
      throws NoSourceNameException {
    List<String> boundNames = new ArrayList<String>();
    for (Type boundary : bounds) {
      boundNames.add(getSourceName(boundary));
    }
    return String.format("%s %s %s", token, direction, join(" & ", boundNames));
  }
1326064
def set_value(self, name, value, ignore_error=False, block_user_signals=False):
        
        # first clean up the name
        name = self._clean_up_name(name)

        # If we're supposed to, block the user signals for this parameter
        if block_user_signals: self.block_user_signals(name, ignore_error)        

        # now get the parameter object
        x = self._find_parameter(name.split('/'), quiet=ignore_error)

        # quit if it pooped.
        if x == None: return None
        
        # for lists, make sure the value exists!!
        if x.type() in ['list']:
            
            # Make sure it exists before trying to set it
            if str(value) in list(x.forward.keys()): x.setValue(str(value))
            
            # Otherwise default to the first key
            else: x.setValue(list(x.forward.keys())[0])
        
        # Bail to a hopeful set method for other types
        else: x.setValue(eval(x.opts['type'])(value))

        # If we're supposed to unblock the user signals for this parameter
        if block_user_signals: self.unblock_user_signals(name, ignore_error)

        return self
104503
public void setFullName(String name) {
        if (Util.fixEmptyAndTrim(name) == null) name = id;
        this.fullName = name;
    }
356874
public Request setParam(String name, Iterable<String> values) {
        this.params.putAll(name, values);
        return this;
    }