Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for paramTypes (0.15 sec)

  1. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/SerializedLambdaParametersCheckingCodec.kt

            val paramTypes: Array<Type> = getArgumentTypes(signature)
    
            // Treat all parameters equally, regardless of whether they are implicit captured parameters or the lambda signature ones.
            // If any of them is of an unsupported type, a build that runs from the serialized state won't be able to provide an instance anyway.
            paramTypes.forEach { paramType ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. fastapi/params.py

    from ._compat import PYDANTIC_V2, PYDANTIC_VERSION, Undefined
    
    _Unset: Any = Undefined
    
    
    class ParamTypes(Enum):
        query = "query"
        header = "header"
        path = "path"
        cookie = "cookie"
    
    
    class Param(FieldInfo):
        in_: ParamTypes
    
        def __init__(
            self,
            default: Any = Undefined,
            *,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                Class<?>[] parameterTypes = constructor.getParameterTypes();
                List<Type> paramTypes = new ArrayList<>(parameterTypes.length + (addNameParameter ? 1 : 0));
                for (Class<?> paramType : parameterTypes) {
                    paramTypes.add(getType(paramType));
                }
                return paramTypes;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java

            for (int i = 0; i < method.getParameterTypes().length; i++) {
                Type paramType = method.getParameterTypes()[i];
                if (paramType.equals(ServiceRegistration.class)) {
                    params[i] = newRegistration();
                } else {
                    Service paramProvider = find(paramType, allServices);
                    if (paramProvider == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt

            preIndex: DataSchemaBuilder.PreIndex
        ): DataParameter {
            val paramType = fnParam.type
            checkInScope(paramType, preIndex)
            val paramSemantics = getParameterSemantics(functionSemantics, function, fnParam, returnClass, preIndex)
            return DefaultDataParameter(fnParam.name, paramType.toDataTypeRefOrError(), fnParam.isOptional, paramSemantics)
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    	return analysisutil.IsNamedType(ptr.Elem(), "testing", testingType)
    }
    
    // Validate that fuzz target function's arguments are of accepted types.
    func isAcceptedFuzzType(paramType types.Type) bool {
    	for _, typ := range acceptedFuzzTypes {
    		if types.Identical(typ, paramType) {
    			return true
    		}
    	}
    	return false
    }
    
    func formatAcceptedFuzzType() string {
    	var acceptedFuzzTypesStrings []string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. src/crypto/x509/x509.go

    		}
    		publicKeyBytes = elliptic.Marshal(pub.Curve, pub.X, pub.Y)
    		publicKeyAlgorithm.Algorithm = oidPublicKeyECDSA
    		var paramBytes []byte
    		paramBytes, err = asn1.Marshal(oid)
    		if err != nil {
    			return
    		}
    		publicKeyAlgorithm.Parameters.FullBytes = paramBytes
    	case ed25519.PublicKey:
    		publicKeyBytes = pub
    		publicKeyAlgorithm.Algorithm = oidPublicKeyEd25519
    	case *ecdh.PublicKey:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          for (int i = 0; i < params.size(); i++) {
            TypeToken<?> paramType = type.resolveType(typeVars[i]);
            // We require all @Generates methods to either be parameter-less or accept non-null
            // values for their generic parameter types.
            Object argValue = generate(paramType);
            if (argValue == null) {
              // When a parameter of a @Generates method cannot be created,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 28K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

        ::testing::ValuesIn<MatMulTestCase>({
            {"BatchMatMul"},
            {"BatchMatMulV2"},
            {"BatchMatMulV3"},
        }),
        [](const ::testing::TestParamInfo<BatchMatMulTest::ParamType>& info) {
          return info.param.mat_mul_method;
        });
    
    TEST(LegalizeTFTest, DumpsProducedHLO) {
      Env* env = Env::Default();
      std::string test_dir = testing::TmpDir();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          for (int i = 0; i < params.size(); i++) {
            TypeToken<?> paramType = type.resolveType(typeVars[i]);
            // We require all @Generates methods to either be parameter-less or accept non-null
            // values for their generic parameter types.
            Object argValue = generate(paramType);
            if (argValue == null) {
              // When a parameter of a @Generates method cannot be created,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 28.6K bytes
    - Viewed (0)
Back to top