Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 181 for arity (0.17 sec)

  1. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/util/functionUtils.kt

    import org.jetbrains.kotlin.util.OperatorNameConventions
    
    val kotlinFunctionInvokeCallableIds = (0..23).flatMapTo(hashSetOf()) { arity ->
        listOf(
            CallableId(StandardNames.getFunctionClassId(arity), OperatorNameConventions.INVOKE),
            CallableId(StandardNames.getSuspendFunctionClassId(arity), OperatorNameConventions.INVOKE)
        )
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Dec 06 11:40:42 UTC 2021
    - 713 bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10FunctionalType.kt

        override val isReflectType: Boolean
            get() = withValidityAssertion { descriptor.functionTypeKind.isReflectType }
    
        override val arity: Int
            get() = withValidityAssertion { descriptor.arity }
    
        override val hasContextReceivers: Boolean
            get() = withValidityAssertion { fe10Type.contextFunctionTypeParamsCount() > 0 }
    
        @OptIn(KaAnalysisApiInternals::class)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/internal/trace/internal/testgen/go122/trace.go

    		},
    	})
    }
    
    func (t *Trace) createEvent(ev event.Type, data []byte, args ...uint64) raw.Event {
    	spec := t.specs[ev]
    	if ev != go122.EvStack {
    		if arity := len(spec.Args); len(args) != arity {
    			panic(fmt.Sprintf("expected %d args for %s, got %d", arity, spec.Name, len(args)))
    		}
    	}
    	return raw.Event{
    		Version: version.Go122,
    		Ev:      ev,
    		Args:    args,
    		Data:    data,
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirFunctionalType.kt

        override val isReflectType: Boolean
            get() = withValidityAssertion { coneType.functionTypeKind(builder.rootSession)?.isReflectType == true }
    
        override val arity: Int get() = withValidityAssertion { parameterTypes.size }
    
        @OptIn(KaAnalysisApiInternals::class)
        override val contextReceivers: List<KaContextReceiver> by cached {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/constdecl.go

    func _() {
    	const _ = v /* ERROR "not constant" */
    	const _ = math /* ERROR "not constant" */ .Sin(0)
    	const _ = int /* ERROR "not an expression" */
    }
    
    // Identifier and expression arity must match.
    const _ /* ERROR "missing init expr for _" */
    const _ = 1, 2 /* ERROR "extra init expr 2" */
    
    const _ /* ERROR "missing init expr for _" */ int
    const _ int = 1, 2 /* ERROR "extra init expr 2" */
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/vardecl.go

    var _, _, _; /* ERROR "expected type" */
    
    // The initializer must be an expression.
    var _ = int /* ERROR "not an expression" */
    var _ = f /* ERROR "used as value" */ ()
    
    // Identifier and expression arity must match.
    var _, _ = 1, 2
    var _ = 1, 2 /* ERROR "extra init expr 2" */
    var _, _ = 1 /* ERRORx `assignment mismatch: [1-9]+ variables but.*[1-9]+ value(s)?` */
    var _, _, _ /* ERROR "missing init expr for _" */ = 1, 2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_ops.td

        return a structured value. A structured value consists of arbitrarily nested
        dicts/lists with tensors as leaves (composite tensors here mostly behave as
        just dicts holding other tensors).
        The arity of the Python-level function is modeled as an outer list.
        Additionally, any variables or constants used by the function are implicitly
        appended to the argument list of the underlying func in a way that is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h.pump

    // and at most $maxtuple arguments in Combine. Please contact
    // ******@****.*** if you need more.
    // Please note that the number of arguments to Combine is limited
    // by the maximum arity of the implementation of tr1::tuple which is
    // currently set at $maxtuple.
    
    #ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PARAM_UTIL_GENERATED_H_
    #define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PARAM_UTIL_GENERATED_H_
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt

    public abstract class KaFunctionalType : KaNonErrorClassType(), KaContextReceiversOwner {
        public abstract val isSuspend: Boolean
        public abstract val isReflectType: Boolean
        public abstract val arity: Int
        public abstract val hasContextReceivers: Boolean
        public abstract val receiverType: KaType?
        public abstract val hasReceiver: Boolean
        public abstract val parameterTypes: List<KaType>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h.pump

    // and at most $maxtuple arguments in Combine. Please contact
    // ******@****.*** if you need more.
    // Please note that the number of arguments to Combine is limited
    // by the maximum arity of the implementation of tr1::tuple which is
    // currently set at $maxtuple.
    
    #ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PARAM_UTIL_GENERATED_H_
    #define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PARAM_UTIL_GENERATED_H_
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top