Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 4,581 for METHOD (0.27 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/RelevantMethods.java

            private void addMethod(Method method) {
                if (method.getName().equals("configure")) {
                    if (!method.getReturnType().equals(Void.TYPE)) {
                        throw new ServiceValidationException(String.format("Method %s.%s() must return void.", type.getName(), method.getName()));
                    }
                    add(configurers, method);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectCollectionSpec.groovy

            String methodUnderTest = queryMethods.key
            Closure method = bind(queryMethods.value)
    
            when:
            container.named("a").configure(method)
            then:
            noExceptionThrown()
    
            when:
            container.named("a", method)
            then:
            noExceptionThrown()
    
            when:
            container.named("a", getType(), method)
            then:
            noExceptionThrown()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MethodInvocationSerializer.java

        }
    
        private static class MethodDetails {
            final int methodId;
            final Method method;
            final Serializer<Object[]> argsSerializer;
    
            MethodDetails(int methodId, Method method, Serializer<Object[]> argsSerializer) {
                this.methodId = methodId;
                this.method = method;
                this.argsSerializer = argsSerializer;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/StructBindingExtractionContext.java

        public void add(WeaklyTypeReferencingMethod<?, ?> method, String problem) {
            add(method.getMethod(), problem);
        }
    
        @Override
        public void add(WeaklyTypeReferencingMethod<?, ?> method, String role, String problem) {
            add(method.getMethod(), role, problem);
        }
    
        @Override
        public void add(Method method, String role, String problem) {
            problems.add(method, role, problem);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt

    fun Request.Builder.commonMethod(
      method: String,
      body: RequestBody?,
    ): Request.Builder =
      apply {
        require(method.isNotEmpty()) {
          "method.isEmpty() == true"
        }
        if (body == null) {
          require(!HttpMethod.requiresRequestBody(method)) {
            "method $method must have a request body."
          }
        } else {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                // now get the 'public method', the method declared by a
                // public interface or class (because the actual implementing
                // class may be a facade...)
    
                Method publicMethod = getPublicMethod(method);
    
                // it is entirely possible that there is no public method for
                // the methods of this class (i.e. in the facade, a method
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/Methods.java

            protected int doHash(Method method) {
                return new HashCodeBuilder()
                    .append(method.getName())
                    .append(method.getParameterTypes())
                    .toHashCode();
            }
        };
    
        /**
         * Equivalence of methods based on method name, the number, type and order of parameters, and return types.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/MutablePropertyDetails.java

        }
    
        @Override
        public Collection<Method> getGetters() {
            return getters.getValues();
        }
    
        @Override
        public Collection<Method> getSetters() {
            return setters.getValues();
        }
    
        @Nullable
        @Override
        public Field getBackingField() {
            return field;
        }
    
        void addGetter(Method method) {
            getters.add(method);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            method = Hoge.class.getMethod("list");
            assertThat(GenericsUtil.getActualClass(method.getGenericReturnType(), map), is(sameClass(List.class)));
    
            method = Hoge.class.getMethod("set");
            assertThat(GenericsUtil.getActualClass(method.getGenericReturnType(), map), is(sameClass(Set.class)));
    
            method = Hoge.class.getMethod("map");
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. api/go1.22.txt

    pkg math/rand/v2, method (*PCG) UnmarshalBinary([]uint8) error #61716
    pkg math/rand/v2, method (*Rand) ExpFloat64() float64 #61716
    pkg math/rand/v2, method (*Rand) Float32() float32 #61716
    pkg math/rand/v2, method (*Rand) Float64() float64 #61716
    pkg math/rand/v2, method (*Rand) Int() int #61716
    pkg math/rand/v2, method (*Rand) Int32() int32 #61716
    pkg math/rand/v2, method (*Rand) Int32N(int32) int32 #61716
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 20:54:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top