HomeSort by relevance Sort by last modified time
    Searched refs:arity (Results 1 - 25 of 274) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
TournamentSelection.java 24 * based on n-ary tournament -- this is done by drawing {@link #arity} random
34 private int arity; field in class:TournamentSelection
39 * @param arity
42 public TournamentSelection(int arity) {
43 this.arity = arity;
49 * drawing {@link #arity} random chromosomes without replacement from the
64 * Helper for {@link #select(Population)}. Draw {@link #arity} random
73 if (population.getPopulationSize() < this.arity)
74 throw new IllegalArgumentException("Tournament arity cannot be bigger than population size.")
    [all...]
  /external/jcommander/src/test/java/com/beust/jcommander/args/
ArgsBooleanArity.java 24 @Parameter(names = "-debug", arity = 1)
ArgsBooleanArity0.java 24 @Parameter(names = "-debug", arity = 0)
Arity1.java 7 @Parameter(arity = 1, names = "-inspect", description = "", required = false)
SeparatorColon.java 27 @Parameter(names = "-verbose", arity = 1)
ArgsArityInteger.java 26 * Test parameter arity.
32 @Parameter(names = "-pairs", arity = 2, description = "Pairs")
ArgsArityString.java 26 * Test parameter arity.
32 @Parameter(names = "-pairs", arity = 2, description = "Pairs")
CommandLineArgs2.java 31 @Parameter(names = { "-v", "--verbose" }, description = "print verbose log messages.", arity = 1)
  /libcore/luni/src/main/java/javax/xml/xpath/
XPathFunctionResolver.java 26 * <p>XPath functions are resolved by name and arity.
50 * <p>If <code>functionName</code> or <code>arity</code> is <code>null</code>, then a <code>NullPointerException</code> is thrown.</p>
53 * @param arity The number of arguments that the returned function must accept.
55 * @return The function or <code>null</code> if no function named <code>functionName</code> with <code>arity</code> arguments exists.
57 * @throws NullPointerException If <code>functionName</code> or <code>arity</code> is <code>null</code>.
59 public XPathFunction resolveFunction(QName functionName, int arity);
  /external/v8/src/compiler/
js-call-reducer.cc 55 DCHECK_LE(2u, p.arity());
56 size_t const arity = p.arity() - 2; local
62 NodeProperties::ChangeOp(node, javascript()->CreateArray(arity, site));
73 DCHECK_LE(2u, p.arity());
74 Node* value = (p.arity() == 2) ? jsgraph()->ZeroConstant()
93 size_t arity = p.arity(); local
94 DCHECK_LE(2u, arity);
96 if (arity == 2)
213 size_t arity = p.arity(); local
555 size_t arity = p.arity(); local
656 int arity = static_cast<int>(p.arity() - 1); local
665 int const arity = static_cast<int>(p.arity() - 2); local
781 int arity = static_cast<int>(p.arity() - 2); local
    [all...]
js-operator.h 63 // Defines the arity and the feedback for a JavaScript constructor call. This is
67 ConstructParameters(uint32_t arity, float frequency,
69 : arity_(arity), frequency_(frequency), feedback_(feedback) {}
71 uint32_t arity() const { return arity_; } function in class:v8::internal::compiler::final
90 // Defines the arity for a JavaScript constructor call with a spread as the last
95 explicit ConstructWithSpreadParameters(uint32_t arity) : arity_(arity) {}
97 uint32_t arity() const { return arity_; } function in class:v8::internal::compiler::final
152 // Defines the arity and the call flags for a JavaScript function call. This is
156 CallParameters(size_t arity, float frequency, VectorSlotPair const& feedback
164 size_t arity() const { return ArityField::decode(bit_field_); } function in class:v8::internal::compiler::final
208 uint32_t arity() const { return arity_; } function in class:v8::internal::compiler::final
233 size_t arity() const { return arity_; } function in class:v8::internal::compiler::final
501 size_t arity() const { return arity_; } function in class:v8::internal::compiler::final
    [all...]
js-operator.cc 57 return lhs.arity() == rhs.arity() && lhs.frequency() == rhs.frequency() &&
67 return base::hash_combine(p.arity(), p.frequency(), p.feedback());
71 return os << p.arity() << ", " << p.frequency();
81 return lhs.arity() == rhs.arity();
90 return base::hash_combine(p.arity());
95 return os << p.arity();
105 os << p.arity() << ", " << p.frequency() << ", " << p.convert_mode() << ", "
128 return lhs.arity() == rhs.arity()
    [all...]
  /build/kati/
func.h 29 int arity; member in struct:FuncInfo
  /external/apache-xml/src/main/java/org/apache/xpath/jaxp/
JAXPExtensionsProvider.java 125 int arity = argVec.size(); local
128 resolver.resolveFunction ( myQName, arity );
131 ArrayList argList = new ArrayList( arity);
132 for ( int i=0; i<arity; i++ ) {
166 int arity = extFunction.getArgCount(); local
180 resolver.resolveFunction( myQName, arity );
182 ArrayList argList = new ArrayList( arity);
183 for ( int i=0; i<arity; i++ ) {
  /external/v8/src/wasm/
function-body-decoder-impl.h 81 uint32_t arity; member in struct:v8::internal::wasm::BlockTypeOperand
89 arity = 0;
92 arity = type == kWasmStmt ? 0 : 1;
97 decoder->error(pc, pc + 1, "invalid block arity > 1");
106 uint32_t count = decoder->checked_read_u32v(pc, 2, &len, "block arity");
107 // {count} is encoded as {arity-2}, so that a {0} count here corresponds
110 arity = count + 2;
111 length = 1 + len + arity;
114 for (uint32_t i = 0; i < arity; i++) {
162 DCHECK_LT(index, arity);
    [all...]
function-body-decoder.cc 86 uint32_t arity; member in struct:v8::internal::wasm::MergeValues
93 DCHECK_GT(arity, i);
94 return arity == 1 ? vals.first : vals.array[i];
701 c->merge.arity = static_cast<uint32_t>(sig_->return_count());
703 if (c->merge.arity == 1) {
705 } else if (c->merge.arity > 1) {
706 c->merge.vals.array = zone_->NewArray<Value>(c->merge.arity);
707 for (unsigned i = 0; i < c->merge.arity; i++) {
877 if (c->merge.arity > 0) {
991 } else if (merge->arity != c->merge.arity)
1636 int arity = static_cast<int>(c->merge.arity); local
    [all...]
  /frameworks/base/tools/aapt2/proto/
ProtoHelpers.h 53 size_t DeserializePluralEnumFromPb(pb::Plural_Arity arity);
  /external/mockito/src/main/java/org/mockito/internal/util/reflection/
GenericMetadataSupport.java 237 int arity = 0; local
239 arity++;
244 if (arity == 0) {
247 return new GenericArrayReturnType(genericMetadataSupport, arity);
469 private final int arity; field in class:GenericMetadataSupport.GenericArrayReturnType
471 public GenericArrayReturnType(GenericMetadataSupport genericArrayType, int arity) {
473 this.arity = arity;
480 for (int i = 0; i < arity; i++) {
  /external/jcommander/src/main/java/com/beust/jcommander/
WrappedParameter.java 29 public int arity() { method in class:WrappedParameter
30 return m_parameter != null ? m_parameter.arity() : 1;
Parameter.java 61 * an arity of 2 will allow "-pair value1 value2".
63 int arity() default -1;
101 * @return true if this parameter has a variable arity. See @{IVariableArity}
  /external/owasp/sanitizer/empiricism/
html-containment.js 8 * Its {@code length} property specifies its arity, and runExperiment
27 var arity = makeHtmlString.length;
28 var nRuns = Math.pow(nElements, arity);
30 var paramIndices = new Array(arity);
31 var paramValues = new Array(arity);
32 for (var i = 0; i < arity; ++i) {
56 for (i = arity; --i >= 0;) {
95 paramValues.length = arity;
121 paramValues[arity] = iframe.contentDocument.body;
122 paramValues[arity + 1] = result
    [all...]
  /external/smali/baksmali/src/main/java/org/jf/baksmali/
DisassembleCommand.java 66 @Parameter(names = {"--debug-info", "--di"}, arity = 1,
76 @Parameter(names = {"--resolve-resources", "--rr"}, arity = 2,
96 @Parameter(names = {"--accessor-comments", "--ac"}, arity = 1,
112 @Parameter(names = {"--parameter-registers", "--preg", "--pr"}, arity = 1,
  /prebuilts/misc/common/swig/include/2.0.11/allegrocl/
allegrocl.swg 352 (cl::defun full-name (id type arity class)
370 (:constructor (cl::format nil "new_~A~@[~A~]" id arity))
376 class id arity)))))
378 (cl::defun identifier-convert-null (id &key type class arity)
381 id :type :getter :class class :arity arity))
382 (read-symbol-from-string (full-name id type arity class))))
405 (cl::defun identifier-convert-lispify (cname &key type class arity)
410 cname :type :getter :class class :arity arity))))
    [all...]
  /frameworks/native/services/inputflinger/host/
InputDriver.cpp 73 int32_t arity; member in struct:input_collection
161 input_collection_id_t id, int32_t arity) {
162 report->collections[id] = {.arity = arity};
328 input_report_definition_t* report, input_collection_id_t id, int32_t arity) {
330 driver->inputReportDefinitionAddCollection(report, id, arity);
  /external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
RubyBuilder.java 94 if (block.arity() == Arity.ONE_ARGUMENT) {
123 if (block.arity() == Arity.ONE_ARGUMENT) {

Completed in 439 milliseconds

1 2 3 4 5 6 7 8 91011