Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for paramTypes (0.15 sec)

  1. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

         * @param paramTypes the classes of method parameters
         */
        private static Method getPublicMethod(Class<?> clazz, String name, Class<?>... paramTypes) {
            // if this class is public, then try to get it
            if ((clazz.getModifiers() & Modifier.PUBLIC) != 0) {
                try {
                    return clazz.getMethod(name, paramTypes);
                } catch (NoSuchMethodException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 13.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. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

        }
    
        def "the @since annotation on implicit enum method '#implicitMethod#paramTypes' is not required"() {
            given:
            def rule = withContext(new SinceAnnotationMissingRule([:]))
            def jApiMethod = Stub(JApiMethod)
            jApiMethod.name >> implicitMethod
            jApiMethod.jApiClass >> jApiClassifier
            jApiMethod.parameters >> paramTypes.collect { paramStub(it) }
    
            when:
            sourceFile.text = """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
  5. fastapi/dependencies/utils.py

        if field_info_in == params.ParamTypes.path:
            dependant.path_params.append(field)
        elif field_info_in == params.ParamTypes.query:
            dependant.query_params.append(field)
        elif field_info_in == params.ParamTypes.header:
            dependant.header_params.append(field)
        else:
            assert (
                field_info_in == params.ParamTypes.cookie
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:52:56 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        Type returnType = method.getGenericReturnType();
        Type paramType = getOnlyParameterType();
        TestSubtype spec = method.getAnnotation(TestSubtype.class);
        assertWithMessage("%s is subtype of %s", paramType, returnType)
            .that(TypeToken.of(paramType).isSubtypeOf(returnType))
            .isTrue();
        assertWithMessage("%s is supertype of %s", returnType, paramType)
            .that(TypeToken.of(returnType).isSupertypeOf(paramType))
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h.pump

      typedef ::std::tr1::tuple<$for j, [[T$j]]> ParamType;
    
      CartesianProductGenerator$i($for j, [[const ParamGenerator<T$j>& g$j]])
          : $for j, [[g$(j)_(g$j)]] {}
      virtual ~CartesianProductGenerator$i() {}
    
      virtual ParamIteratorInterface<ParamType>* Begin() const {
        return new Iterator(this, $for j, [[g$(j)_, g$(j)_.begin()]]);
      }
      virtual ParamIteratorInterface<ParamType>* End() const {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/ConstructorComparator.java

                long lhs = 0;
                for (Class<?> paramType : o1.getParameterTypes()) {
                    lhs += paramType.getCanonicalName().hashCode();
                }
                long rhs=0;
                for (Class<?> paramType : o2.getParameterTypes()) {
                    rhs += paramType.getCanonicalName().hashCode();
                }
                return Long.compare(lhs, rhs);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h

    class ParameterizedTestFactory : public TestFactoryBase {
     public:
      typedef typename TestClass::ParamType ParamType;
      explicit ParameterizedTestFactory(ParamType parameter) :
          parameter_(parameter) {}
      virtual Test* CreateTest() {
        TestClass::SetParam(&parameter_);
        return new TestClass();
      }
    
     private:
      const ParamType parameter_;
    
      GTEST_DISALLOW_COPY_AND_ASSIGN_(ParameterizedTestFactory);
    };
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java

            // Callable
            Type paramType = constructor.getGenericParameterTypes()[0];
            assertThat(paramType, equalTo(Callable.class));
    
            // Callable<String>
            paramType = constructor.getGenericParameterTypes()[1];
            assertThat(paramType, instanceOf(ParameterizedType.class));
            ParameterizedType parameterizedType = (ParameterizedType) paramType;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 74.6K bytes
    - Viewed (0)
Back to top