/ <param name="?"></param>
962016
private static void randomBranch(Program program, TreeNode x, int s, RandEngine randEngine)
   {
      int child_count = x.arity();

      for (int i = 0; i != child_count; i++)
      {
         Primitive non_terminal= program.anyOperatorWithArityLessThan(s, randEngine);
         if (non_terminal == null)
         {
            TreeNode child = new TreeNode(program.anyTerminal(randEngine));
            x.getChildren().add(child);
         }
         else
         {
            TreeNode child = new TreeNode(non_terminal);
            x.getChildren().add(child);
            int b_n=non_terminal.arity();
            int s_pi = (int)Math.floor((double)s / b_n);
            randomBranch(program, child, s_pi, randEngine);
         }
      }
   }
694315
public static String getParam(String name) {
		String param = getServletRequest().getParameter(name);
		if(null == param){
			MultipartFormData multipart = getMultipart();
			if(null != multipart){
				param = multipart.getParam(param);
			}
		}
		return param;
	}
763916
public static void parameterNotNull(final String name, final Object reference) {
        if (reference == null) {
            raiseError(format("Parameter '%s' is not expected to be null.", name));
        }
    }
224455
function(name, value) {
            var parameters = this.parameters;

            if (arguments.length < 1)
                return parameters[name] || parameters['/' + name];

            if (value !== parameters[name]) {
                parameters[name] = value;
            }
        }
942480
private static String getParameter(
		final String args[],
		final String name) {
		for (int i = 0; i < args.length; i++) {
			if (args[i].equals(name)) {
				if ((i + 1) < args.length) {
					return args[i + 1];
				} // end if

				break;
			} // end if
		} // end for

		return null;
	}
21567
public void addNamedQueryParameter(String name, Object value) {
        parameters.put(checkNotNull(name), checkNotNull(value));
    }
2970
@Deprecated
    public static Part<String> param(String name, String value) {
        return text(name, value);
    }
295663
public static String checkNotEmpty(final String name,
                                       final String parameter) {
        if (parameter == null || parameter.trim().length() == 0) {
            throw new IllegalArgumentException("Parameter named '" + name + "' should be filled!");
        }
        return parameter;
    }
727248
public java.util.Collection<String> getParam(String paramName) {
        return this.params.get(paramName);
    }
791563
@Override
    public String getParameter(String name) {
        String value = super.getParameter(name);
        if (value == null) {
            value = parameters.get(name);
        }
        return value;
    }
221429
void addParameter(String name, String value) {
        params.add(new Parameter(name, value));
    }
813289
function(name) {
      // Parse once
      if(!_data) _data = _parse(_args);

      // Fallback to defaults
      var param = _data[name] || _definition[name];

      // False for not provided
      return (!param) ? false : param.value();
    }
1134405
public static String getUrlParam(String name, String val) {
    return val == null ? "" : "&" + name + "=" + val;
  }
442704
public String paramo(String name) {
        String ret = routeResult.pathParams().get(name);
        if (ret != null) {
            return ret;
        }

        if (bodyParams != null && bodyParams.containsKey(name)) {
            return bodyParams.get(name).get(0);
        }

        ret = routeResult.queryParam(name);
        if (ret != null) {
            return ret;
        }

        return null;
    }
1127203
public static String addParameter(final String url, final String name, final String value) {
        if (url != null) {
            final StringBuilder sb = new StringBuilder();
            sb.append(url);
            if (name != null) {
                if (url.indexOf("?") >= 0) {
                    sb.append("&");
                } else {
                    sb.append("?");
                }
                sb.append(name);
                sb.append("=");
                if (value != null) {
                    sb.append(urlEncode(value));
                }
            }
            return sb.toString();
        }
        return null;
    }
1104249
public boolean getParamBoolean(String paramName) {
        Object paramValue = getParam(paramName);
        if (paramValue == null) {
            return false;
        }
        return Boolean.parseBoolean(paramValue.toString());
    }
648925
private static boolean hasParameter(
		final String args[],
		final String name) {
		for (int i = 0; i < args.length; i++) {
			if (args[i].equals(name)) {
				return true;
			} // end if
		} // end for

		return false;
	}